Tonight I was adding a second drive to my laptop and for some reason after being a Linux user for over 20 years I thought using a GUI to do some wizardry with yast partitioning I thought I had lost over 2 years of work and for the first time in a very long time almost wept but I logged into root and opened yast and selected a snapshot before the partition stuff took place and I was able to get back in and everything was as it should be. Then I proceeded to open the terminal and do the drive adding and auto mounting magic the way I should have , I think I’ve become lazy in my older age. Lesson learned the terminal is the best tool for jobs that are touchy. So big shout out to openSUSE for using btrfs. My 2 years of artwork thank you and appreciate you and all of the hard work and dedication y’all put into this amazing distro.
It’s good that your work isn’t lost. But take this as a wake-up call: Save your work and make backups!
Backup, backup, backup.
besides a fat finger, there are also dying drives, mechanicals damages, degradation, firmware errors, theft, fire and other stuff.
Sometimes I fly between countries to urgently delivers hard drives to server centers. So I know drives die.
Or theft, forgotten somewhere.
Friend had her SSD just dying and several years of personal history, because of missing backups.
rsync and some external USB disks are your friends. They will be there for you even if the your Btrfs disk and its snapshots fail you!
I do have backups created with rsync that I sync with my home server. When I was checking it I wasn’t paying attention to where had remoted into and was telling me there was no data found. But I later (after this post) realized I had remoted into my wife’s new and empty server. ![]()
To add some advice here. You should not only make backups, but also test your recovery procedure. At least once a year. And of course: make notes (on paper and not on the system itself).
Stupid and superfluous remarks? I hope so.
That is sound advice. Thank you
And another gentle reminder. btrfs snapshots, as done automatically on most openSUSE products, are not backups and shouldn’t be treated as such.
You can use btrfs send/receive as part of a backup solution, but that’s a different thing.