Differenze tra le versioni di "Server/lessema/Technical documentation"
m (→On-site backup: +info) |
(→On-site backup: +info) |
||
| Riga 12: | Riga 12: | ||
Note: the backup script prevents duplicate executions caused by daylight saving or standard time changeover. | Note: the backup script prevents duplicate executions caused by daylight saving or standard time changeover. | ||
| + | |||
| + | The backup instructions can be configured here: | ||
| + | |||
| + | /opt/micro-backup-script/backup-instructions.conf | ||
| + | |||
| + | This is the source code of our dummy backup script in use: | ||
| + | |||
| + | https://gitpull.it/source/micro-backup-script/ | ||
== Off-site backups == | == Off-site backups == | ||
Versione delle 12:09, 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/lessema.wikimedia.it
Note: the permissions of the parent directory MUST be set to 750 root:root to keep the backups not accessible by untrusted users (note: the www-data is considered not trusted).
The execution time can be edited with
crontab -e
Note: the backup script prevents duplicate executions caused by daylight saving or standard time changeover.
The backup instructions can be configured here:
/opt/micro-backup-script/backup-instructions.conf
This is the source code of our dummy backup script in use:
https://gitpull.it/source/micro-backup-script/
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:
💼 civih(preferred professional contact)💼 eme(secondary professional contact)- User:Valerio Bozzolan (emergency volunteer contact)
The exact data retention is documented on server ⚙️ horror.