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 🤣
- how much (of you personal) time you spend to assure regular backuping?
- how do you backup settings of your software?
- how do you deal with software that doesn’t provide explicit export of settings? do you do it manually by an occasional export once in a blue moon?
- do you use configuration managers like Ansible to quickly install/restore settings?
- do you backup binaries/installation packages?
- do you backup mobile apps and their settings?
- do you backup snapshots of OS? if yes, please explain your strategy dealing with them
- do you include temporary personal files into backup? For example: a shopping list
- do you copy system files in a separate folder for further backup or instead put the paths of system files for backup software to grab the latest version?
- do you backup logs? if yes, please explain your reasoning and situation.
- what’s your folder (hierarchy) of the drive where you store the backups? How did you come up with it?
- do you keep all backup files on a single drive/RAID or you have a separate storage for groups of backup files? For example such groups: drive for Windows backups, drive for networking hardware, drive for mobile devices, drive for server related stuff, drive for grandparents’ backups (😄)
- do you keep files residing only in a cloud (excluded from backup)?
- do you backup your emails? if yes, how do you filter them to exclude junk from backup?
- do you backup your online profiles? like Facebook & google
- how and when do you clean old backups?
- what do you consider when buying a new drive for backuping needs?
- how often do you test your backups?
Removed by mod
Yeah, same bro. Hope one day we’ll clean up all this mess in one tidy efficient structure
Removed by mod
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:
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.
Removed by mod