Backup » Historique » Version 4
Mehdi Abaakouk, 14/12/2015 10:34
1 | 3 | Laurent GUERBY | {{>toc}} |
---|---|---|---|
2 | 1 | Laurent GUERBY | |
3 | 1 | Laurent GUERBY | h1. Backup |
4 | 1 | Laurent GUERBY | |
5 | 1 | Laurent GUERBY | h2. Liens |
6 | 1 | Laurent GUERBY | |
7 | 1 | Laurent GUERBY | * [[Backup_infra]] |
8 | 1 | Laurent GUERBY | * [[Apt_Backports_TTNN]] borg debian packaging |
9 | 1 | Laurent GUERBY | |
10 | 1 | Laurent GUERBY | h2. BackupPC |
11 | 1 | Laurent GUERBY | |
12 | 1 | Laurent GUERBY | * http://backuppc.sourceforge.net/ |
13 | 1 | Laurent GUERBY | |
14 | 1 | Laurent GUERBY | h2. Attic |
15 | 1 | Laurent GUERBY | |
16 | 1 | Laurent GUERBY | * https://attic-backup.org/ |
17 | 1 | Laurent GUERBY | * https://lists.tetaneutral.net/pipermail/technique/2015-September/001971.html |
18 | 1 | Laurent GUERBY | ** Logiciel de backup : choix de attic |
19 | 1 | Laurent GUERBY | |
20 | 1 | Laurent GUERBY | h2. Borg |
21 | 1 | Laurent GUERBY | |
22 | 1 | Laurent GUERBY | * https://github.com/borgbackup |
23 | 1 | Laurent GUERBY | * http://readthedocs.org/projects/borgbackup/ |
24 | 2 | Laurent GUERBY | * http://puppet.tetaneutral.net/pool/main/b/borgbackup/ |
25 | 2 | Laurent GUERBY | * http://puppet.tetaneutral.net/dists/ |
26 | 1 | Laurent GUERBY | |
27 | 1 | Laurent GUERBY | h2. Migration Attic vers Borg |
28 | 1 | Laurent GUERBY | |
29 | 4 | Mehdi Abaakouk | * old: https://chiliproject.tetaneutral.net/projects/git-tetaneutral-net/repository/puppet-backup |
30 | 4 | Mehdi Abaakouk | * new: https://chiliproject.tetaneutral.net/projects/git-tetaneutral-net/repository/puppetmaster/revisions/master/entry/modules/ttnn/manifests/backup.pp |
31 | 1 | Laurent GUERBY | ** git history BackupPC => Attic => Borg |
32 | 1 | Laurent GUERBY | |
33 | 4 | Mehdi Abaakouk | <pre> |
34 | 4 | Mehdi Abaakouk | $ cd /backup/attic/ |
35 | 4 | Mehdi Abaakouk | $ borg upgrade <repo> |
36 | 4 | Mehdi Abaakouk | $ borg check --repair <repo> |
37 | 4 | Mehdi Abaakouk | $ mv <repo> ../borg/ |
38 | 4 | Mehdi Abaakouk | $ chown -R backupinfra: /backup/borg/<repo> |
39 | 4 | Mehdi Abaakouk | </pre> |
40 | 4 | Mehdi Abaakouk | |
41 | 4 | Mehdi Abaakouk | Dans le module puppet, le changement le plus important est le parametre compression: |
42 | 4 | Mehdi Abaakouk | |
43 | 4 | Mehdi Abaakouk | <pre> |
44 | 4 | Mehdi Abaakouk | attic create ... <repo>-> borg create --compression zlib,6 ... <repo> |
45 | 4 | Mehdi Abaakouk | </pre> |
46 | 4 | Mehdi Abaakouk | |
47 | 4 | Mehdi Abaakouk | Sinon le prochain backup sera non compressé, et aucun nouveau chucks ne correspondra aux anciens -> perte de la dedup. "zlib,6" étant le niveau de compression de attic. |