Differenze tra le versioni di "Server/lessema/Technical documentation"

Da Wikimedia Italia.
Jump to navigation Jump to search
Riga 8: Riga 8:
  
 
  crontab -e
 
  crontab -e
 +
 +
The permissions MUST be set to <code>750</code> <code>root:root</code> to keep the backups not accessible by untrusted users (note: the <code>www-data</code> is considered not trusted).
  
 
== Off-site backups ==
 
== Off-site backups ==

Versione delle 13:05, 9 ott 2022

On-site backup

At 23:00 an on-site copy of all databases and webserver files are saved in this location:

/var/backups/wmi

The crontab can be edited with

crontab -e

The permissions MUST be set to 750 root:root to keep the backups not accessible by untrusted users (note: the www-data is considered not trusted).

Off-site backups

The same script that does #On-site backup also push the backup on server ⚙️ horror in this position:

/var/backups/wmi/lessema.wikimedia.it

The users are authorized to access this location:

The exact data retention is documented on server ⚙️ horror.