Backup on USB-HD fail

Yes - that is our plan … like it was possible on NS7

OK, I need to test it, I’ll report my findings.

EDIT:

It’s possible to rotate more disks with one local backup but the rclone-webdav service needs to be stopped when disconnecting a USB disk and connecting another one and then the rclone-webdav service needs to be started again to mount the other disk.

Please check your disks using lsblk -f

In my case I have one disk sda for Nethserver, so a plugged USB disk gets sdb.

Stop the rclone-webdav service.

systemctl stop rclone-webdav.service

Remove backup00 and probably other backup01…XX volumes:

podman volume rm backup00

Recreate backup00, but instead of a disk ID I used /dev/sdb (sdb is the USB disk)

podman volume create
       --label org.nethserver.role=backup
       --opt=device=/dev/sdb
       --opt=o=noatime
       backup00

Start the rclone-webdav.service

systemctl start rclone-webdav.service

Now one disk is mounted and backups to it should just work.

To use another disk:

Stop the rclone-webdav service:

systemctl stop rclone-webdav.service

Disconnect the USB disk and connect another one.

Start the rclone-webdav service:

systemctl start rclone-webdav.service

Now the backup to the new disk should work.

Thank you very much - I will try it this next weekend.

1 Like