Hi all, I use a USB connected disk for backups. What is the safest method to unmount it as I would like to rotate out for another and move it off-premises. Current label in Dashboard is /dev/sdk. Thanks in advance!
Safest way to unmount USB connected disk?
-
- OMV 6.x
- resolved
- MiddleMan
-
-
Clone the disk (e.g. with clonezilla) so that they are identical to OMV. Then shutdown the server, swap the disks and reboot.
-
Is it possible to swap them out without shutting the server down? Thanks again.
-
-
Yes, but than you need to unmount them. That means you have to remove all shared folders from all services and remove the shared folders themself.
Alternative would be to use the usb-backup plugin. Once configured, you just plug the drive in, the filesystem is mounted, rsync jobs run, the drive is unmounted and you can unplug the drive.
-
Odd thing is that the drive is dedicated to backup using usb-backup plugin. Not sure why it's still mounted. Maybe I'll wipe, run a backup job on it, and then swap them out. I'll follow docs closely. Thanks for your time!
-
MiddleMan
Added the Label resolved -
Good evening
Sorry to revive an old thread, if that's an issue here, but I'm having the same problem.
On my old ReadyNAS Duo (RIP ) my rsync backup destination was a USB port (I.e.: back-left USB) so whatever drive I had plugged in there would receive the backup. Once a month I would unmount that drive and rotate it with another drive.
What's the easiest way to do that OMV?
Everything seems to be a Share so there's like three or four (or five) levels of the config that needs to be un-done to unmount a drive; and then that config needs to be re-done with the new drive?!
-
-
Alternative would be to use the usb-backup plugin. Once configured, you just plug the drive in, the filesystem is mounted, rsync jobs run, the drive is unmounted and you can unplug the drive.
That's what you need, right?
-
That's what you need, right?
Unfortunately no, I want the backup to run daily for a month so it can't unmount after the rsync job runs. Then I'll rotate the disk off site and bring in the other disk for next 30 days.
I don't mind manually unmounting the drive, and even toggling one backup job in favour of another so it gets the disk mappings right, but I should only do that once a month.
-
One solution may be to clone the backup hard drive, that will make the uuid the same on both drives. You can also manually modify the uuid of one of the two disks.
Then once a month you shut down the server, change the disk and start the server again.
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!