this post was submitted on 06 Oct 2022
13 points (100.0% liked)

Chat

7499 readers
116 users here now

Relaxed section for discussion and debate that doesn't fit anywhere else. Whether it's advice, how your week is going, a link that's at the back of your mind, or something like that, it can likely go here.


Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

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 ๐Ÿคฃ

  1. how much (of you personal) time you spend to assure regular backuping?
  2. how do you backup settings of your software?
  3. 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?
  4. do you use configuration managers like Ansible to quickly install/restore settings?
  5. do you backup binaries/installation packages?
  6. do you backup mobile apps and their settings?
  7. do you backup snapshots of OS? if yes, please explain your strategy dealing with them
  8. do you include temporary personal files into backup? For example: a shopping list
  9. 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?
  10. do you backup logs? if yes, please explain your reasoning and situation.
  11. what's your folder (hierarchy) of the drive where you store the backups? How did you come up with it?
  12. 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 (๐Ÿ˜„)
  13. do you keep files residing only in a cloud (excluded from backup)?
  14. do you backup your emails? if yes, how do you filter them to exclude junk from backup?
  15. do you backup your online profiles? like Facebook & google
  16. how and when do you clean old backups?
  17. what do you consider when buying a new drive for backuping needs?
  18. how often do you test your backups?
all 22 comments
sorted by: hot top controversial new old
[โ€“] salarua@sopuli.xyz 6 points 2 years ago

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

[โ€“] admin@beehaw.org 4 points 2 years ago (1 children)

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.

[โ€“] SheepWolf@beehaw.org 3 points 2 years ago (2 children)

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.

[โ€“] admin@beehaw.org 5 points 2 years ago (1 children)

I have a waterproof/fireproof safe that holds all of our important documents and there's room for my external drive if need be.

[โ€“] sexy_peach@feddit.de 3 points 2 years ago (1 children)

does an external drive survive the heat of a burning house around a safe?

[โ€“] admin@beehaw.org 3 points 2 years ago (1 children)
[โ€“] sexy_peach@feddit.de 2 points 2 years ago

awesome. I would have thought this would be an issue.

[โ€“] graphito@beehaw.org 2 points 2 years ago

Maybe putting drives in a tupperware container inside the safe would work?

[โ€“] sexy_peach@feddit.de 3 points 2 years ago (2 children)

borgbackup, but all my tech setups are such a big mess that I don't run it regularly.

[โ€“] vord@beehaw.org 3 points 2 years ago* (last edited 2 years ago) (2 children)

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:

  • Create encrypted 7z archive with sensitive stuff, timestamped filename.
  • Rsync that folder, plus any non-sensitive folders, to an always-on low power server
  • On boot, high-power server (with more redundency) rsyncs with smaller server and pushes backups to cloud provider after.
  • Non-linux devices use pcloud backup, and high power server copies back locally from that periodically,
[โ€“] sexy_peach@feddit.de 2 points 2 years ago

borgbackup is easy to use. Seems like less work than your strategy honestly.

[โ€“] graphito@beehaw.org 2 points 2 years ago (1 children)

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?

[โ€“] vord@beehaw.org 2 points 2 years ago

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.

[โ€“] graphito@beehaw.org 3 points 2 years ago (1 children)

Yeah, same bro. Hope one day we'll clean up all this mess in one tidy efficient structure

[โ€“] sexy_peach@feddit.de 3 points 2 years ago

same.

one dayโ„ข