Outils pour utilisateurs

Outils du site


borgmatic

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
borgmatic [2019/07/29 12:46] – [Automatisation] simonborgmatic [Date inconnue] (Version actuelle) – supprimée - modification externe (Date inconnue) 127.0.0.1
Ligne 1: Ligne 1:
-====== Borgmatic ====== 
  
-===== Installation ===== 
-Plusieurs solutions pour l'installation, de [[pip3]] à l'utilisation des dépôts de la distribution. Pour ma part, j'ai installé via les dépôts, sur une Debian 10 Buster :  
-<code bash> 
-simon@debian:~$ sudo apt search borgbackup 
-borgbackup/stable 1.1.9-2 amd64 
-  deduplicating and compressing backup program 
-(...) 
-borgmatic/stable 1.2.11-1 amd64 
-  automatically create, prune and verify backups with borgbackup 
- 
-simon@debian:~$ sudo apt install borgbackup borgmatic 
-</code> 
- 
-===== Génération de la configuration ===== 
-<code bash> 
-simon@debian:~$ sudo generate-borgmatic-config  
-Generated a sample configuration file at /etc/borgmatic/config.yaml. 
- 
-Please edit the file to suit your needs. The values are just representative. 
-All fields are optional except where indicated. 
- 
-If you ever need help: https://torsion.org/borgmatic/#issues 
-</code> 
- 
-===== Configuration ===== 
- 
- 
-===== List ===== 
-<code bash> 
-root@debian:~# borgmatic --list 
-debian-2019-07-29T12:36:07.775077    Mon, 2019-07-29 12:36:13 [785df6754aaf22946e21b09126bbfffe61f3f07ede975fc648e637a636b1e0d8] 
-</code> 
- 
-===== Info ===== 
-<code bash> 
-root@debian:/home/simon# borgmatic --info 
-Repository ID: afc0842fce13772d306b45df8643fdc2741a0c27056f30584a65084ca192c979 
-Location: ssh://serveurA@serveurB/mnt/data/backups/serveurA 
-Encrypted: Yes (repokey BLAKE2b) 
-Cache: /root/.cache/borg/afc0842fce13772d306b45df8643fdc2741a0c27056f30584a65084ca192c979 
-Security dir: /root/.config/borg/security/afc0842fce13772d306b45df8643fdc2741a0c27056f30584a65084ca192c979 
------------------------------------------------------------------------------- 
-                       Original size      Compressed size    Deduplicated size 
-All archives:                2.25 MB            950.02 kB            938.77 kB 
- 
-                       Unique chunks         Total chunks 
-Chunk index:                     503                  522 
-</code> 
- 
-===== Automatisation ===== 
-<code bash> 
-root@debian:~# crontab -l 
-0 3 * * * /usr/bin/borgmatic 
-</code> 
borgmatic.1564404384.txt.gz · Dernière modification : 2020/08/09 12:59 (modification externe)