X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=README;h=2d49c6f5b92ad761861cbb6a2292be2fa69d1336;hp=efd9e727b83cc0412579a17daf4c20e5b5ee1f75;hb=7ec5ddab73855d65555a21873ccf8d2653a22ee6;hpb=344f65c397f046293ed2e5aa2b9dcd49337bdd71 diff --git a/README b/README index efd9e72..2d49c6f 100644 --- a/README +++ b/README @@ -71,3 +71,7 @@ TASK: configurer un membre du groupe php5-fpm @local % local/runit-configure nginx -- lhc_www TASK: configurer un site nginx @local % local/runit-configure nginx -- lhc_www +TASK: instancier une sauvegarde duplicity sur une machine distante + @remote % name=mysql/test # NOTE: à adapter + @remote % remote/backup-fetch "$name" # NOTE: conserve les fichiers disparus ou modifiés dans var/backup/old/$(date +'%Y%m%d+%H%M%S%z')/ + @remote % remote/duplicity restore --time "7D" --name "$name" file://var/backup/current/data/"$name" var/backup/current/restore/"$name"