gsf / backup.sh

Simple backups of remote machines using rsync

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple backups of remote machines using rsync

crontab:
    39 3 * * * ionice -c2 -n7 backup.sh example1:/mnt/mirror backups/example1
    39 4 * * * ionice -c2 -n7 backup.sh example2:r /home/example2/backups

.ssh/config:
    host example1
        hostname example.com
        identityfile backup_id_rsa

    host example2
        user exampleuser
        hostname example.org

About

Simple backups of remote machines using rsync


Languages

Language:Shell 100.0%