Reply To: RE: Shell script to rsync backup files to a remote server

VitalPBX Community Support General Discussion Shell script to rsync backup files to a remote server Reply To: RE: Shell script to rsync backup files to a remote server

    kbohannon
    Participant

    For those who might be interested, until we have a GUI option, this is my script to take the nightly backup and drop it onto a remote directory named using the hostname (I have many servers to backup):

    scp -i~/.ssh/backupserver /var/lib/ombutel/static/backup/c4ca4238a0b923820dcc509a6f75849b/* amicusvoice@[backupserver]:~/Backups/$(hostname)

    I have about 30 servers to backup (fun). Next step is figuring out how to rsync over SSH so my backup server doesn’t fill up every six months.

    Thanks for the help Mr R!

    0