Created
October 26, 2017 11:58
-
-
Save petri/f7f7ca9ba166ee2fa75931c74c630c52 to your computer and use it in GitHub Desktop.
scp copy cron job
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sshpass -f "/etc/default/backups/remotepasswd" scp -r /var/backups/mysql/weekly/* remotebackup@myserver.com:/var/backups/remotebackup/weekly/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment