1
0

Compare commits

..

2 Commits

Author SHA1 Message Date
c8294a848e Tweak backup config 2021-12-07 19:31:17 +01:00
d195436aea show me what broke on deploy 2021-12-07 19:18:01 +01:00
2 changed files with 4 additions and 2 deletions

View File

@ -10,7 +10,7 @@ fi
cmd=" \ cmd=" \
nixos-rebuild switch \ nixos-rebuild switch \
-I nixos-config=hosts/${DEPLOY_HOST}/configuration.nix \ -I nixos-config=hosts/${DEPLOY_HOST}/configuration.nix --show-trace\
" "
if [ -z $DEPLOY_ADDRESS ] || [ $DEPLOY_ADDRESS = "-" ]; then if [ -z $DEPLOY_ADDRESS ] || [ $DEPLOY_ADDRESS = "-" ]; then

View File

@ -5,6 +5,8 @@
[ [
./hardware-configuration.nix ./hardware-configuration.nix
../../configuration/common ../../configuration/common
./backup-scripts.nix
]; ];
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
@ -27,7 +29,7 @@
rsync_short_args -rltD rsync_short_args -rltD
retain alpha 14 retain alpha 14
ssh_args -o BatchMode=yes -o IdentityFile=/var/src/secrets/rsnapshot/id_rsa ssh_args -o BatchMode=yes -o IdentityFile=/var/src/secrets/rsnapshot/id_rsa
backup backup-replication@clerie-backup.net.clerie.de:/clerie-backup-replication/ clerie-backup/ backup backup-replication@clerie-backup.net.clerie.de:/clerie-backup-replication/* clerie-backup/
''; '';
# rsync_short_args # rsync_short_args
# -a -> -rlptgoD # -a -> -rlptgoD