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. |
| 28 | 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, this reads files with lists of directories to backup from `/etc/s3ql/` and calls the [http://www.rath.org/s3ql-docs/contrib.html#expire-backups-py expire_backups] script to delete old backups. |
| 29 | |
| 30 | The contents of the files in `/etc/s3ql`: |
| 31 | |
| 32 | === crin1 === |
| 33 | |
| 34 | {{{ |
| 35 | /usr/local |
| 36 | /etc |
| 37 | /home |
| 38 | /root |
| 39 | /var/backups |
| 40 | /var/www |
| 41 | /var/spool/cron/crontabs |
| 42 | }}} |
| 43 | |
| 44 | === crin2 === |
| 45 | |
| 46 | {{{ |
| 47 | /root |
| 48 | /etc |
| 49 | /home |
| 50 | /var/www |
| 51 | /var/backups |
| 52 | /usr/local |
| 53 | /var/spool/cron/crontabs |
| 54 | }}} |
| 55 | |
| 56 | === crin4 === |
| 57 | |
| 58 | {{{ |
| 59 | /home |
| 60 | /etc |
| 61 | /root |
| 62 | /var/www |
| 63 | /usr/local |
| 64 | /var/spool/cron/crontabs |
| 65 | }}} |