I’ll confess I don’t do backups regularly 🙀
In the past, I always followed the same routine: I start backing up my files but quickly run into issues and give up.
Recently I corrupted one of the system files, nothing major but I have to reinstall the OS in near future
So it prompted me to think about the whole strategy of backup. Before I waste 2 weeks trying to build “the perfect backuping systemTM” (and give up), I would like to get a peak how others are doing it.
Choose any number and tell me I’m an idiot for even asking that 🤣
This section is for relaxed discussions, and articles that don’t fit anywhere else on the website.
deleted by creator
I’ve actively stopped doing this (outside of server configs). If I don’t remember what its called, I’m probably better off not reinstalling it when the time comes.
I agree, but I also made a twist to this rule: I share/toot/post software I like if it’s not essential for my workflow. Then, if I ever want to find it again, I can search my own posts or even ask people close to me (who probably read what I post).
A lot of my backup processes are very similar. Is there any low hanging fruit you wish you could improve in your backup strategy?
what i currently do is use Pika Backup to create an encrypted backup of my home directory at 8 am local time every day. it excludes my cache, trash, and downloads. the backup is stored on-site on a family member’s Raspberry Pi, but what i would like to do is make an arrangement to back up off-site as well. my mountpoint for my directory on the Raspberry Pi is
/backups, and i use that directory only for storing backups. i currently do not make system snapshots, so anything outside my home directory is not backed up. i don’t worry about space since everything is compressed and each incremental backup is a few megabytes at most
borgbackup, but all my tech setups are such a big mess that I don’t run it regularly.
I personally note that if you don’t need incremental point in time backups, but just a current or periodically synchronized redundent copy (most of my stuff), rsync or syncthing are much simpler to setup and use.
Add btrfs snapshotting to the script and you’ve got borg backup with a lot less hassle.
My backup script looks like:
borgbackup is easy to use. Seems like less work than your strategy honestly.
That’s a great strategy, thanks!
It prompts me to ask, with so much automation in place, I wonder, if 7z archive goes corrupt, would you be able to restore its previous revisions?
Also do you have any tips how and when to tidy up your old backups?
The 7z archive is created new each time. The sensitive data is less than 100 MB so incremental changes are more hassle than they’re worth.
Typical best practice is like 30 days of dailies, 3 months of weeklies, and at least 1 annual in perpetuity.
In practice, I’ll just make sure to have 3 copies.
Yeah, same bro. Hope one day we’ll clean up all this mess in one tidy efficient structure
deleted by creator
including ~/.config and ~/.local 😳?
also haven’t you got the home folder filled with random installation junk or is it just me 😆?
Overall, thank you for the recs, I’ll check it up 👍
Yes including, I just exclude temp files. But yes /home folders do pick up a lot of crud over time and is worth going through a bit and removing stuff. I also run ‘ncdu’ to find the biggest wasters of space. It’s that 20% that wastes 80% of the space.
In my case, I use Apple iOS products so all of this is handled automatically using Time Machine. My desktop iMac, iPod Touch, and iPhone are all backed up to an external 6 terabyte Western Digital hard drive.
I do not use cloud services for privacy/security concerns. Thus, I have to keep an eye on the external drive every so often to make sure that it’s not going to fail. This isn’t a huge issue and I’ll replace the external drive about every 4-5 years.
I know there is something like a “Rule of Three” when it comes to backups where the rules seem to differ, but one of the rules usually mentions off-site backups. The scenario usually talks about an unexpected fire destroying everything in the home, but recently with Hurricane Ian in Florida for example, the entire region could be flooded so even storing a backup at a nearby friend or relative’s place might not be sufficient.
In a case like that, I wonder if having a water/fireproof safe would be good enough if cloud storage is not an option. It seems most waterproof safes are water resistant for up to 72 hours, but it might be better instead to just disconnect and take the backups with you if you need to evacuate and have time.
I have a waterproof/fireproof safe that holds all of our important documents and there’s room for my external drive if need be.
does an external drive survive the heat of a burning house around a safe?
awesome. I would have thought this would be an issue.
Maybe putting drives in a tupperware container inside the safe would work?