cloyne / network

5 stars 5 forks source link

Create backuping for servers #11

Closed mitar closed 8 years ago

mitar commented 8 years ago

Server1 does not really have any dynamic information and it is just cloyne/powerdns-slave Docker image running.

Server2 has daily local backup done to another set of RAID1 hard-drives (mounted under /srv/mnt). Script is under /root/bin/backup-local and a list of locations to backup under /root/archive/backup.list. Currently:

+ /etc
+ /home
- /srv/mnt/backup
- /srv/mnt/tmp
- /srv/docker
- /srv/tmp
+ /srv
- /root/backup
+ /root
+ /var/backups
+ /var/log
+ /usr/local/bin
+ /usr/local/etc
+ /usr/local/sbin
- /

2 months of backups is kept.

rdiff-backup is used for backup.

server3 has no backup because it would not be really possible for all content there.