From 2f7f02dec0beaa2e13cafbe74e1c2918a2de45fb Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 16 Sep 2016 12:18:29 -0400 Subject: propellor spin --- joeyconfig.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'joeyconfig.hs') diff --git a/joeyconfig.hs b/joeyconfig.hs index 0ee84b4e..15a00f7c 100644 --- a/joeyconfig.hs +++ b/joeyconfig.hs @@ -499,10 +499,11 @@ keysafe = host "keysafe.joeyh.name" $ props -- Note that this is not an incremental backup; it uploads the -- whole content every time. So, only run weekly. & Cron.niceJob "keysafe backup" Cron.Weekly (User "root") "/" backupcmd + `requires` Apt.installed ["rsync"] where datadir = "/var/lib/keysafe" backupdir = "/var/backups/keysafe" - rsyncnetbackup = "sftp://2318@usw-s002.rsync.net/~/keysafe" + rsyncnetbackup = "2318@usw-s002.rsync.net:keysafe" backupcmd = unwords [ "keysafe --store-directory", datadir, "--backup-server", backupdir , "&& rsync -a --delete --max-delete 3 ", backupdir , rsyncnetbackup -- cgit v1.2.3