Backup » Historique » Version 5
Version 4 (Mehdi Abaakouk, 14/12/2015 10:34) → Version 5/24 (Laurent GUERBY, 28/03/2016 19:59)
{{>toc}}
h1. Backup
h2. Liens
* [[Backup_infra]]
* [[Apt_Backports_TTNN]] borg debian packaging
h2. BackupPC
* http://backuppc.sourceforge.net/
h2. Attic
* https://attic-backup.org/
* https://lists.tetaneutral.net/pipermail/technique/2015-September/001971.html
** Logiciel de backup : choix de attic
h2. Borg
* https://github.com/borgbackup
* http://readthedocs.org/projects/borgbackup/
* http://puppet.tetaneutral.net/pool/main/b/borgbackup/
* http://puppet.tetaneutral.net/dists/
h2. Migration Attic vers Borg
* old: https://chiliproject.tetaneutral.net/projects/git-tetaneutral-net/repository/puppet-backup
* new: https://chiliproject.tetaneutral.net/projects/git-tetaneutral-net/repository/puppetmaster/revisions/master/entry/modules/ttnn/manifests/backup.pp
** git history BackupPC => Attic => Borg
<pre>
# apt-get -t jessie-backports install borgbackup
$ cd /backup/attic/
$ borg upgrade <repo>
$ borg check --repair <repo>
$ mv <repo> ../borg/
$ chown -R backupinfra: /backup/borg/<repo>
</pre>
Dans le module puppet, le changement le plus important est le parametre compression:
<pre>
attic create ... <repo>-> borg create --compression zlib,6 ... <repo>
</pre>
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.
h1. Backup
h2. Liens
* [[Backup_infra]]
* [[Apt_Backports_TTNN]] borg debian packaging
h2. BackupPC
* http://backuppc.sourceforge.net/
h2. Attic
* https://attic-backup.org/
* https://lists.tetaneutral.net/pipermail/technique/2015-September/001971.html
** Logiciel de backup : choix de attic
h2. Borg
* https://github.com/borgbackup
* http://readthedocs.org/projects/borgbackup/
* http://puppet.tetaneutral.net/pool/main/b/borgbackup/
* http://puppet.tetaneutral.net/dists/
h2. Migration Attic vers Borg
* old: https://chiliproject.tetaneutral.net/projects/git-tetaneutral-net/repository/puppet-backup
* new: https://chiliproject.tetaneutral.net/projects/git-tetaneutral-net/repository/puppetmaster/revisions/master/entry/modules/ttnn/manifests/backup.pp
** git history BackupPC => Attic => Borg
<pre>
# apt-get -t jessie-backports install borgbackup
$ cd /backup/attic/
$ borg upgrade <repo>
$ borg check --repair <repo>
$ mv <repo> ../borg/
$ chown -R backupinfra: /backup/borg/<repo>
</pre>
Dans le module puppet, le changement le plus important est le parametre compression:
<pre>
attic create ... <repo>-> borg create --compression zlib,6 ... <repo>
</pre>
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.