Changes between Version 3 and Version 4 of Crin3


Ignore:
Timestamp:
Jul 24, 2015, 12:13:55 PM (3 years ago)
Author:
chris
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Crin3

    v3 v4  
    11= Crin3 =
    22
    3 This is a 512M RAM Debian Stretch server for running S3QL and doing backups, it was installed on see ticket:11.
     3This is a 512M RAM Debian Stretch server for running S3QL and doing backups, it was installed on see ticket:11. This server has the other 3 servers, [[Crin1]], [[Crin2]] and [[Crin4]] mounted via SSHFS and it backups up selected directories using S3QL to [http://www.advania.com/datacentres/solutions/advania-cloud-services/ Advania].
    44
    55== Retrieving backups ==
    66
     7If you need to restore a file or database from backups first mount the SQ3L filesystem for the specific server, for example:
     8
     9{{{
     10sudo -i
     11mnt-s3ql crin1
     12}}}
     13
     14 
    715
    816
     
    1826}}}
    1927
    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.
     28First 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
     30The 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}}}