summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Restic.hs
diff options
context:
space:
mode:
authorJoey Hess2017-04-27 16:31:18 -0400
committerJoey Hess2017-04-27 16:31:18 -0400
commit1b7abb5d209e4bdb66737f7fbdbc312e7802f081 (patch)
treea19b4cd6e6f3079ddee353fdd9e65fc1a11e70eb /src/Propellor/Property/Restic.hs
parent3de1066c84b3a0c2e9228c84cd03a95158ae3b72 (diff)
few little things
Diffstat (limited to 'src/Propellor/Property/Restic.hs')
-rw-r--r--src/Propellor/Property/Restic.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Propellor/Property/Restic.hs b/src/Propellor/Property/Restic.hs
index 668843bb..ef867de3 100644
--- a/src/Propellor/Property/Restic.hs
+++ b/src/Propellor/Property/Restic.hs
@@ -40,7 +40,7 @@ installed = withOS desc $ \w o -> case o of
_ -> ensureProperty w $
Apt.installed ["restic"]
where
- desc = "installed restic"
+ desc = "installed restic"
repoExists :: ResticRepo -> IO Bool
repoExists repo = boolSystem "restic"
@@ -119,7 +119,7 @@ restored dir repo = go
)
-- | Installs a cron job that causes a given directory to be backed
--- up, by running borg with some parameters.
+-- up, by running restic with some parameters.
--
-- If the directory does not exist, or exists but is completely empty,
-- this Property will immediately restore it from an existing backup.
@@ -192,7 +192,7 @@ keepParam (KeepYears n) = "--keep-yearly=" ++ val n
-- | Policy for backup generations to keep. For example, KeepDays 30 will
-- keep the latest backup for each day when a backup was made, and keep the
-- last 30 such backups. When multiple KeepPolicies are combined together,
--- backups meeting any policy are kept. See borg's man page for details.
+-- backups meeting any policy are kept. See restic's man page for details.
data KeepPolicy
= KeepLast Int
| KeepHours Int