activation sauvegardes

This commit is contained in:
nyanloutre 2019-01-22 11:03:15 +01:00
parent a158ee98d8
commit 26b53b57f6
1 changed files with 1 additions and 3 deletions

View File

@ -290,7 +290,6 @@ in
};
};
/*
borgbackup.jobs = {
loutre = {
paths = [
@ -326,12 +325,11 @@ in
postHook = ''
${pkgs.zfs}/bin/zfs destroy loutrepool/var/postgresql@borgsnap
if [[ $exitStatus == 0 ]]; then
${pkgs.rclone}/bin/rclone --config /mnt/secrets/rclone_loutre.conf sync -v $BORG_REPO loutre_ovh:loutre
${pkgs.rclone}/bin/rclone --config /mnt/secrets/rclone_loutre.conf sync -v $BORG_REPO BackupStorage:loutre
fi
'';
};
};
*/
borgbackup.repos = {
diskstation = {