diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-08-23 13:09:25 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-08-23 13:09:25 -0300 |
commit | b31f6637fe2ac0836660a2a3f669ff04d22661f3 (patch) | |
tree | 54c04b3459ee0ad17b6d3ab3c6a9fce9a1c15fd0 | |
parent | 6bc2e4391030bd368a09578b5c10988d41d11367 (diff) | |
download | puppet-backup-b31f6637fe2ac0836660a2a3f669ff04d22661f3.tar.gz puppet-backup-b31f6637fe2ac0836660a2a3f669ff04d22661f3.tar.bz2 |
-rw-r--r-- | README.md | 44 |
1 files changed, 22 insertions, 22 deletions
@@ -18,10 +18,10 @@ itself: you should do that manually or use another puppet module such as ### Remote backups using Borg - # remote encrypted backup from localhost to $node_name using Borg - backup::borg { "$node_name": - port => "$port", - } + # remote encrypted backup from localhost to $node_name using Borg + backup::borg { "$node_name": + port => "$port", + } ### Local encrypted backups pushed to remotes @@ -33,16 +33,16 @@ it's more reliable and fast than to let duplicity do all the job. #### Example with [duplicity][] and [rsync][] - # local encrypted/signed backup - backup::duplicity { "localhost": - encryptkey => "$key_id", - password => "$key_password", - } + # local encrypted/signed backup + backup::duplicity { "localhost": + encryptkey => "$key_id", + password => "$key_password", + } - # remote backup of previously encrypted/signed backup sent to $node_name - backup::rsync { "$node_name": - port => "$port", - } + # remote backup of previously encrypted/signed backup sent to $node_name + backup::rsync { "$node_name": + port => "$port", + } * The first definition will keep local encrypted/signed backups using duplicity at `/var/backups/duplicity`. @@ -52,16 +52,16 @@ it's more reliable and fast than to let duplicity do all the job. #### Example with [duplicity][] and [rdiff-backup][] - # local encrypted/signed backup - backup::duplicity { "localhost": - encryptkey => "$key_id", - password => "$key_password", - } + # local encrypted/signed backup + backup::duplicity { "localhost": + encryptkey => "$key_id", + password => "$key_password", + } - # remote backup of previously encrypted/signed backup sent to $node_name - backup::rdiff { "$node_name": - port => "$port", - } + # remote backup of previously encrypted/signed backup sent to $node_name + backup::rdiff { "$node_name": + port => "$port", + } [duplicity]: https://duplicity.gitlab.io/ [rdiff-backup]: https://rdiff-backup.net/ |