3 | | This is a server for running S3QL and doing backups, see ticket:11, once it is working it will be documented here. |
| 3 | This is a 512M RAM Debian Stretch server for running S3QL and doing backups, it was installed on see ticket:11. |
| 4 | |
| 5 | == Retrieving backups == |
| 6 | |
| 7 | |
| 8 | |
| 9 | == Backup process == |
| 10 | |
| 11 | There is a root crontab which runs the backups each night: |
| 12 | |
| 13 | {{{ |
| 14 | # m h dom mon dow command |
| 15 | 01 01 * * * umnt-s3ql crin1 ; mnt-sshfs crin1 ; s3ql_backup crin1 |
| 16 | 01 02 * * * umnt-s3ql crin2 ; mnt-sshfs crin2 ; s3ql_backup crin2 |
| 17 | 01 03 * * * umnt-s3ql crin4 ; mnt-sshfs crin4 ; s3ql_backup crin4 |
| 18 | }}} |
| 19 | |
| 20 | First the S3QL file system is unmounted and checked (in case it has been manually mounted during the day) via wiki:S3QLMnt#unmnt-s3ql, then the remote server is mounted via SSHFS using wiki:SshfsMnt#mnt-sshfs and then the backup is run using a modified version of the [http://www.rath.org/s3ql-docs/contrib.html#s3-backup-sh S3QL backup script], wiki:S3QLBackup#s3ql_backup which calls the [http://www.rath.org/s3ql-docs/contrib.html#expire-backups-py expire_backups] script to delete old backups. |