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

    Up
    0
    Down

    It is the same command, but you must add the flag “i” plus your SSH public key

    scp -i ~/.ssh/id_rsa.pub -r /var/lib/ombutel/static/backups/c4cablahblahblah remote_username@10.10.0.2:/remote/directory
    0