
10 Dec
2018
10 Dec
'18
3:14 a.m.
On Mon, 10 Dec 2018 02:56:26 +0000, Ian Stewart wrote:
I combine automount-usb with pumount to do both the automatic mounting and manual unmounting of USB drives on a Debian server.
I have a regime for making backups of my user files, originally onto a bunch of DVDs (until that grew to close to a dozen discs), more recently onto USB sticks. Mounting a stick from non-root is as easy as communicating with the UDisks daemon with the “udisksctl” command, e.g. udisksctl mount -b /dev/sdc1 replacing “mount” with “unmount” to correspondingly unmount the stick. For OS configs on my two main machines, each /etc directory is simply rsync’d to a backup directory on the other machine. I don’t normally bother backing up entire OS installations.