diff options
| author | Joey Hess <joeyh@joeyh.name> | 2017-09-25 14:02:13 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2017-09-25 14:02:13 -0400 |
| commit | df8e4283fd707d9870d8079ae1cf7437ed9b21be (patch) | |
| tree | 8327f5aff4fb996c3c877c0c89c8a7f83ea3afb0 /joeyconfig.hs | |
| parent | 935127ec54902244fa81e305763f0936c48283a5 (diff) | |
expand BorgRepo, allowing ssh private key to be specified
* Borg: Converted BorgRepo from a String alias to a data type.
(API change)
* Borg: Allow specifying ssh private key to use when accessing a borg
repo by using the BorgRepoUsing constructor with UseSshKey.
This commit was sponsored by Jeff Goeke-Smith on Patreon.
Diffstat (limited to 'joeyconfig.hs')
| -rw-r--r-- | joeyconfig.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/joeyconfig.hs b/joeyconfig.hs index e5582497..a4af026a 100644 --- a/joeyconfig.hs +++ b/joeyconfig.hs @@ -24,7 +24,6 @@ import qualified Propellor.Property.Postfix as Postfix import qualified Propellor.Property.Apache as Apache import qualified Propellor.Property.LetsEncrypt as LetsEncrypt import qualified Propellor.Property.Grub as Grub -import qualified Propellor.Property.Obnam as Obnam import qualified Propellor.Property.Borg as Borg import qualified Propellor.Property.Gpg as Gpg import qualified Propellor.Property.Systemd as Systemd @@ -255,7 +254,7 @@ kite = host "kite.kitenet.net" $ props & Apt.serviceInstalledRunning "ntp" & "/etc/timezone" `File.hasContent` ["US/Eastern"] - & Borg.backup "/" "joey@eubackup.kitenet.net:/home/joey/lib/backup/kite/kite.borg" Cron.Daily + & Borg.backup "/" (Borg.BorgRepo "joey@eubackup.kitenet.net:/home/joey/lib/backup/kite/kite.borg") Cron.Daily [ "--exclude=/proc/*" , "--exclude=/sys/*" , "--exclude=/run/*" |
