USB mountpoints jumping around
Ralf Mardorf
kde.lists at yahoo.com
Tue Dec 13 13:05:35 UTC 2022
On Tue, 2022-12-13 at 11:44 +0000, Sorin Srbu via ubuntu-users wrote:
> I think maybe I should do a mount entry in crontab, to run just before
> the scheduled veeam backup job starts, just in case I forget to
> manually mount it.
Hi,
better run a script doing a
mount [...] && backup_thingy_executable
The "&&" ensures that the backup only starts if mount finished
successfully.
Keep in mind, if you have a mount point directory e.g.
/mnt/here
and the mount command should fail for whatever reason, but the backup
should start anyway, than all the data that should be written to the
external drive gets written to /mnt/here on the local drive holding /
(the partition holding your root directory). If the root directory
should run out of free space while you run the install, you get a broken
install with broken data and a broken backup.
I've got way more concerns related to your "backup" strategy, but I'm
ill in bed with a cold, so there's no time for me to explain my
concerns. Just one hint, making a backup of a running system on a file
system that doesn't support snapshots, can easily result in a broken
backup. So if the install and/or data is on a file system that doesn't
support snapshots, better shutdown the install and run the backup from
another install or a live media.
Regards,
Ralf
More information about the ubuntu-users
mailing list