On Tue, May 20, 2025 at 10:50:50AM -0400, Dan Purgert wrote: [...]
> I used /mnt/backup because I only wanted the partition mounted while the > backup was running (it was one of several on that physical drive). The > backup script did the mount/rsync/unmount as part of the execution. > Really, the only point of this was a "well, I can't accidentally delete > it if it's not mounted" train of thought. Aha. This looks a lot like my backup setup (I use /media/backup, though). A user-sepecific backup dir (as DEs typically do) doesn't make much sense here, because /etc (and several /home/) are backed up. In my case the backup medium is LUKS encrypted, so the script first calls "cryptsetup open", which asks me about the passphrase: this does enough lockstep, IMO. Then fsck before mount, and after umount, so I can be less anxious about file system corruption (it's an USB stick, after all): as a bonus it shows me how much space is left. Works like a charm. Cheers -- t
signature.asc
Description: PGP signature