Hi, I'm a newcomer to garuda and after a bunch of tinkering and reformatting I finally achieved a great and stable system. It lasted for a few hours and I decided to try new KDE themes, but as it is my first time using KDE, I screwed up bad and couldn't get back to garuda theme. Then I thought that if I could snapshot my home directory, it would get a lot easier for tinkering and going back to a good point. Is there a way to snapshot home directory when it is located at a different device than my root? I'm coming from fedora and I am loving garuda so far.
Oops, forgot to say that detail, but it is. How can I configure it? I tried it in btrfs assistant by putting /home as my backup path, but when I try to restore, it returns the error ‘Target not found’
I'm still getting the target not found thing. I tried creating a new subvolume for home and copying my old home to new home, but when I edit the fstab for reading from new home I get a black screen on reboot, thinking the cause is the system doesn't recognize my new home.
Garuda (2.6.12-1):
System install date: 2021-11-30
Last full system update: 2023-01-01 ↻
Is partially upgraded: No
Relevant software: NetworkManager
Windows dual boot: Yes
Snapshots: Snapper
Failed units:
Dang, didn´t know there was a difference in inxi, here goes the garuda part. If you want the full garuda-inxi I'll post it too
Garuda (2.6.12-1):
System install date: 2022-12-31
Last full system update: 2022-12-31
Is partially upgraded: No
Relevant software: NetworkManager
Windows dual boot: Yes
Snapshots: Snapper
Failed units:
Just so that you are aware, there are advantages to snapshotting your home directory. However, there are also drawbacks that could produce unfortunate consequences.
If you store documents, projects, pictures, or videos in your home directory, new additions could be lost when you perform a system rollback of your home directory. This could end up being very destructive (if for instance) you'd put a lot of recent effort into a project and you don't keep proper backups. Your recent work could all be lost if you restored a snapshot that didn't contain all your latest revisions.
But…why would you do that? Snapper isn’t like Timeshift where it rolls them back together. You would have to explicitly tell it to restore your home directory.
I'm aware of that, gotta be extremely cautious and that's actually the reason why I want to separate the home snapshot from the rest of the system. So if I have a system failure, which I will, since I'm still learning the OS itself, I can restore the system and not the home and if I screw up home, I can restore just home and not the system. I also keep a backup partition which I'm constantly updating.
I just made a partition for testing with 2 subvolumes (@test and @snapshots), it worked as intended, I could take snapshots just fine, I think now my problem is how to move my home from partition to subvolume. I'll search on that, seems like simple copy paste of my folder and mounting the subvolume in /home doesn't work..
Ya, sorry about that. That’s just me still living in the past. I still have timeshift on my machines from the original install. I’m not too quick to change things on a system that’s working well.
One problem probably is that your home will always be in use, if you are logged in to your system. So the best way to do this modifications would be to boot a live system from USB.
Then you only have to make sure that you edit the rigth fstab.
For snapper, from what I understand, the structure would be to create a @home subvolume and in that another subvolume .snapshots, i.e. the path would be @home/.snapshots. Then the only thing left to do ist move stuff to the @home subvolume and edit the fstab (i.e. add the subvol parameter)