changeset 25:b9e808b6b01e

Rsync with a dedicated key Previously it tried passwords (which are disabled anyway)
author IBBoard <dev@ibboard.co.uk>
date Fri, 26 Jul 2019 19:52:55 +0100
parents 2576b5cfb71c
children 86ca8ee7b597
files backup-websites
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/backup-websites	Sun Jun 09 15:55:46 2019 +0100
+++ b/backup-websites	Fri Jul 26 19:52:55 2019 +0100
@@ -5,4 +5,4 @@
 	hg pull -u --config extensions.mercurial_keyring=\!
 done
 
-rsync -a vps:/srv/uploads/ ~/Websites/uploads
+rsync -a -e "ssh -i /home/ibboard/.ssh/cron2" vps: ~/Websites/uploads