1
0

Fix mount point name for unmount

This commit is contained in:
clerie 2022-02-08 20:31:54 +01:00
parent 8127ad8e02
commit db4db15086

View File

@ -28,7 +28,7 @@ let
${pkgs.borgbackup}/bin/borg mount /mnt/palladium/clerie-backup::$SNAPSHOT_NAME /mnt/clerie-backup-mount ${pkgs.borgbackup}/bin/borg mount /mnt/palladium/clerie-backup::$SNAPSHOT_NAME /mnt/clerie-backup-mount
${pkgs.bindfs}/bin/bindfs /mnt/clerie-backup-mount/mnt/clerie-backup /mnt/clerie-backup ${pkgs.bindfs}/bin/bindfs /mnt/clerie-backup-mount/mnt/clerie-backup /mnt/clerie-backup
${pkgs.borgbackup}/bin/borg create /mnt/external-drive/clerie-backup::$SNAPSHOT_NAME /mnt/clerie-backup ${pkgs.borgbackup}/bin/borg create /mnt/external-drive/clerie-backup::$SNAPSHOT_NAME /mnt/clerie-backup
umount /mnt/clerie-backup-mount umount /mnt/clerie-backup
${pkgs.borgbackup}/bin/borg unmoumt /mnt/clerie-backup-mount ${pkgs.borgbackup}/bin/borg unmoumt /mnt/clerie-backup-mount
''; '';