Hi, I’ve just installed OpenSuse Leap 15.4 for the first time and I was trying to use Snapper to create some snapshots. During the installation however I chose the EXT4 file system, and from what I can see in the Snapper tutorial as well as the man pages, EXT4 seems to be discouraged… Had I know this earlier I would’ve installed it with BTRFS but I’ve always used EXT4 and had no problems with it, so I figured why change if it still works.
Is there any way to get snapshots on EXT4 using Snapper? If not, can you recommend an alternative to it? I’ve never used anything like Timeshift so I’m really not sure what options are best for my case.
Out of curiosity, would it be possible to create a new partition on my hard drive with btrfs to store snapshots? Or is it the file system where my files are (and I want to make snapshots of) that needs to be running on btrfs?
Maybe you should explain what you want, what you want to achieve. Just mentioning all sorts of products that can be (mis)used with different goals does not help other people to give sound advice on what to use and how.
That’s actually a great observation, and the truth is that I’m not entirely sure. How to make proper backups and snapshots is something that I only recently started to care about. For now, my goal is to have a way to restore my system if I accidentally delete a file or something like that.
I do keep backups on a external hard drive, and by backups I mean that I literally copy the files from my PC to the hard drive, so it’s very much a manual process. So I’m not worried about losing data, really, I just want to learn and know more about how to use Linux more efficiently.
As I read this, you are more after backups then after snapshots (it is NOT the same).
For backups there are many tools. GUI ones are often based in CLI one like rsync.
Basically you should first find out what disaster you want be able to recover from. E.g. to be able to recover from a burnt down house, including the system, the backup systems and the off-line stored backup disks/memory sticks, requires much more then being able to restore a file that is removed/altered from it’s last week existence.
Most people stick to being able to recover individual files, including recovering all user files. And do a fresh install of the system, with restore of user file in the worst case (system mass-storage broken).
Some use so called “cloning” to copy all of the system in one big blurp. But that takes a lot of space when you want to have more then one (to be able to go back in time) and has other disadvantages.
Important in all cases is to test the recovery! When you never tested if it can be done, most likely you will fail when it comes to a real disaster.
One comment though on the first sentence I read from the quote.
rsync does work between systems, but also inside one system. Meaning that you can store your copies on another system (same house or elsewhere), but also on e.g. a removable mass-storage device connected to the same system during backup.
Yes, possibilities are endless
Personally , I use rsync to an in house system. I have 10 instances of backup, where files are hard-linked between instances when the same. Which mean that I can recover files from 10 cycles (in my case: weeks) back in time (you really broke a file five weeks ago and only now see that). And at the same time, all files that stayed the same during those 10 weeks are only once stored.
That sounds like a nice setup. At the moment I have everything locally, just an external hard drive, but I’d prefer to have an additional machine elsewhere (maybe VPS?). I will look into rsnapshot as well, thanks!
Definitely, I don’t tend to look into something that I don’t have a need for but I will look into this topic soon. Thanks for the link looks like a discussion packed with useful information.