aboutsummaryrefslogtreecommitdiff
path: root/README
blob: 1c2fbf70a01478a2d632774d3058f37a45c3ad64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
This module contains the general backup conventions and defintions used by the
Sarava Group according to

  http://padrao.sarava.org/trac/wiki/Backups/Convencoes

It relies on Riseup Labs' Backupninja module,

  https://labs.riseup.net/code/projects/show/module-backupninja

What is basically do is to help the creation of standardized definitions for
rdiff-backup and duplicity like these:

  # local encrypted/signed backup
  backup::duplicity { "localhost":
    encryptkey => "$key_id",
    password   => "$key_password",
  }

  # remote backup of previously encrypted/signed backup
  backup::rdiff { "$node_name":
    port => "$port",
  }

The first definition will keep local encrypted/signed backups using duplicity
at /var/backups/duplicity.

The second definition will push the local /var/backups/duplicity to a remote
destination using rdiff-backup over ssh.

We choose this two stage approach as the experience showed that it's more
reliable and fast than to let duplicity do all the job.

Note that this is a simple module that don't manages backup users or keys by
itself: you should do that manually or use another puppet module such as
backupninja::server.