=== WEB server ===
==== MySQL databases ====
Current backup policy is to backup all MySQL databases on the server.
Backup log: /var/log/web_mysqldump_backup.log.gz
The script uses mysqldump and rsync for backup. As of #6-13-2016, ##backup destination paths are hard-coded in the script. ##TO DOsDO: add command line options like --backup-destination= remote/local, --verbose/quiet##redo this script like for database server (see below) because its cleaner.implementation.
To see more information see perldoc
perldoc /root/scripts/web_mysqldump_backup.plx
==== /var/www ====
This contains mediawiki, blogs and other stuff running on the apache webserver.
Backup script: /root/scripts/www_rsync_backup.plx
List of files to back up: /root/scripts/www_rsync_backup.list
Backup destination path: /media/usb_backup/www
Backup log: /var/log/www_rsync_backup.log
The backup path reflects directory structure on host(source) starting at /.
#6-16-2016
## The script rsyncs the files from host to backup.
## We should probably save snapshots weekly/monthly..
==== /home ====
This contains home directories for all users.
Backup script: /root/scripts/home_rsync_backup.plx
List of files to back up: /root/scripts/home_rsync_backup.list
Backup destination path: /media/usb_backup/home
Backup log: /var/log/home_rsync_backup.log
The backup path reflects directory structure on host(source) starting at /.
#6-16-2016
## The script rsyncs the config files from host to backup.
## We should probably save snapshots weekly/monthly..
=== Database server ===
The script uses pg_dump for backup. All databases are then collected in a tar archive.
As of #6-15-2016, ##backup destination paths are hard-coded in the script. ##TO DO: add command line options like --backup-destination= remote/local, --verbose/quiet
To see more information see perldoc