Simple backup script for unix machines that uses rsync+ssh to synchronize data. It stores current snapshot of remote files and incremental backup of old files. Script is designed to run on backup host only, no install needed on target.
ssh and rsync installed on backup and target machines
- Installation not required
- Just clone this script to the server directory where you want to deploy backup
- Rename mr-backup.sh.conf.example to mr-backup.sh.conf and set your backup root directory
- Check conf.d/example.org.conf for sample host config
- Run the script to backup target host
./mr-backup.sh example.org