-
Notifications
You must be signed in to change notification settings - Fork 282
Unmount #10
Comments
It's intentional. There's no harm in leaving it mounted for the next scheduled backup. |
It works wrong with btrfs. Nested snapshots created |
umount snapshot is an important feature, for example it saves you if you accidentally type a command that damages the system: "sudo rm -rf / *". |
Can we reopen this as feature request? I too think that leaving mounted snapshots is bad idea. |
IMHO, this can be related to #141 |
Could you put a flag if setting a snapshot in RO? https://btrfs.wiki.kernel.org/index.php/Manpage/btrfs-property#btrfs-property.288.29_manual_page |
I also would like to have this in rsync mode. |
I am also interested in a better way to manage timeshift volumes. I backup to a micro SD card in my laptop, and often I want to use the single micro SD port for something else. Using the command line to unmount the timeshift volume without knowing whether timeshift is currently writing to that volume seems unwise--although, in the grand scheme of things, perhaps not catastrophically so. But it might result in a corrupted backup, and depending on how many backups one keeps on hand, that could be quite annoying. It would be nice either: to have a tool to unmount the volume after checking that timeshift is not currently writing/reading it; or for timeshift simply to mount/unmount the volume as needed. Myself, I'm not good enough a bash wrangler to know how best to safely unmount the volume with a custom shell script. Otherwise that is precisely what I would do. |
There are already lots of issues about this behaviour: https://github.com/teejee2008/timeshift/issues?q=is%3Aissue+is%3Aopen+umount I agree this should please be fixed. It’s great that Timeshift can find and automount external backup drives, but it should really umount its own mount point again after doing its work. Otherwise, especially with modern Linuxes "automount when USB inserted" behaviour, this leads to lots of unexpected problems, especially with non-tech-savy users. |
Looks like you forgot to unmount /mnt/timeshift/backup after app close in btrfs mode.
The text was updated successfully, but these errors were encountered: