TASK: configurer un site nginx
@local % local/runit-configure nginx -- lhc_www
TASK: instancier une sauvegarde duplicity sur une machine distante
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"
@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"