How do you backup?
-
I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?
I've found that the easiest and most effective way to update is with an rsync cron job. It's super easy to setup (I had no prior experience with either rsync or cron and it took me 10 minutes) and to configure. The only drawback is that it doesn't create differential backups, but the full task takes less than a minute every day so I don't consider that a problem. But do note that I only backup my home folder, not the full system.
For reference, this is the full line I use:
sync -rau --delete --exclude-from='/home/<myusername>/.rsync-exclude' /home/<myusername> /mnt/Data/Safety/rsync-myhome".rsync-exclude" is a file that lists all files and directories I don't want to backup, such as temp or cache folders.
-
I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?
-
I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?
Timeshift for snapshots and deja backups for files
-
I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?
I recently switched to Kopia for my offsite backup solution.
It's apparently one of the faster options, and it can be set up so that the files of the differential backups are handled by a repository server on the offsite end, so file management doesn't need to happen over the network at a snails pace.
The result is a way to maintain frequent full backups of my nextcloud instance, with almost no downtime.
Nextcloud only goes into maintenance mode for the duration of a postgres database dump, after which the actual file system backup occurs using a temporary btrfs snapshot, containing a frozen filesystem at the time of the database dump.
-
I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?
Nice try, mister ransonware attacker hacker!
-
I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?
-
I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?
I'm curious, is there a reason why noone uses deja-dup? I use it with an external SSD on Ubuntu and (receently) Mint, where it comes pre-installed, and did not encounter Problems.
-
Thanks for your hint towards borgbackup.
After reading the Quick Start of Borg Backup they look very similar. But as far as I can tell, borg can be encrypted and compressed while restic is always. You can mounting your backups in restic to. It also seems that restic supports more repository locations such as several cloud storages and via a special http server.
I also noticed that borg is mainly written in python while restic is written in go. That said I assume that restic is a bit faster based on the language (I have not tested that).
I haven't used either, much less benchmarked them, but the performance differences should be negligible due to the IO-bound nature of the work. Even with compression & encryption, it's likely that either the language is fast enough or that it's implemented in a fast language.
Still, I wouldn't call the choice of language insignificant. IIRC, Go is strongly typed while Python isn't. Even if type errors are rare, I would rather trust software written to be immune to them. (Same with memory safety, but both languages use garbage collection, so it's not really relevant in this case.)
Of course, I could be wrong. Maybe one of the tools cannot fully utilize the network or disk. Perhaps one of them uses multithreaded compression while the other doesn't. Architectual decisions made early on could also cause performance problems. I'd just rather not assume any noticeable performance differences caused by the programming language used in this case.
Sorry for the rant, this ended up being a little longer than I expected.
Also, Rust rewrite when?
-
I've found that the easiest and most effective way to update is with an rsync cron job. It's super easy to setup (I had no prior experience with either rsync or cron and it took me 10 minutes) and to configure. The only drawback is that it doesn't create differential backups, but the full task takes less than a minute every day so I don't consider that a problem. But do note that I only backup my home folder, not the full system.
For reference, this is the full line I use:
sync -rau --delete --exclude-from='/home/<myusername>/.rsync-exclude' /home/<myusername> /mnt/Data/Safety/rsync-myhome".rsync-exclude" is a file that lists all files and directories I don't want to backup, such as temp or cache folders.
You might be interested in "rsnapshot" which uses rsync and manages daily, monthly, etc. snapshots.
-
I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?
i do backups of my home folder with Vorta, tha uses borg in the backend. I never tried restic, but borg is the first incremental backup utility i tried that doesnt increase the backup size when i move or rename a file. I was using backintime before to backup 500gb on a 750gb drive and if I moved 300gb to a different folder, it would try to copy those 300gb again onto the backup drive and fail for lack of storage, while borg handles it beautifully.
as an offsite solution, i use syncthing to mirror my files to a pc at my fathers house that is turned on just once in a while to save power and disc longevity.
-
I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?
I currently use rclone with encryption to iDrive e2. Iām considering switching to Backrest, though.
I originally tried Backblaze b2, but exceeded their API quotas in their free tier and iDrive has āfreeā API calls, so I recently bought a yearās worth. I still have a 2 year Proton subscription and tried rclone with Proton drive, but it was too slow.
-
My systems are all on btrfs, so I make use of subvolumes and use
brkbk
to backup snapshots to other locations.Same! This works really well.
-
Thanks for your hint towards borgbackup.
After reading the Quick Start of Borg Backup they look very similar. But as far as I can tell, borg can be encrypted and compressed while restic is always. You can mounting your backups in restic to. It also seems that restic supports more repository locations such as several cloud storages and via a special http server.
I also noticed that borg is mainly written in python while restic is written in go. That said I assume that restic is a bit faster based on the language (I have not tested that).
It was a while ago that I compared them so this may have changed, but one of the main differences that I saw was that borg had to backup over ssh, while restic had a storage backend for many different storage methods and APIs.
-
I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?
Thereās nothing saved on my system I couldnāt afford to lose. All my work stuff is saved in Google Drive for better or worse. I have a few small files in a personal Proton Drive that I backup manually. I wipe my own system a few times a year and I rarely ever save anything first. Honestly very refreshing to live your life like that. Other than my cat, pretty much all my possessions could disappear tomorrow and Iād get over it pretty quickly.
-
I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?
Backup? What?
-
I'm curious, is there a reason why noone uses deja-dup? I use it with an external SSD on Ubuntu and (receently) Mint, where it comes pre-installed, and did not encounter Problems.
What do you backup with dejadup? Everything under /home?
-
I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?
I use borg the same way you describe. Part of my nixos config builds a systemd unit that starts a backup on various directories on my machine at midnight every day. I have 2 repos: one to store locally and on a cloud backup provider (borgbase) and another thats just stored locally. That is, another computer in my house. That local only is for all my home media. I havent yet put the large dataset of photos and videos on the cloud or offsite.
-
I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?
for my server I use proxmox backup server to an external HDD for my containers, and I back up media monthly to an encrypted cold drive.
For my desktop? I use a mix of syncthing (which goes to the server) and windows file history(if I logged into the windows partition) and I want to get timeshift working I just have so much data that it's hard to manage so currently I'll just shed some tears if my Linux system fails
-
Backup? What?
Your car.
-
I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server.
It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?
My conclusion after researching this a while ago is that the good options are Borg and Restic. Both give you incremental backups with cheap timewise snapshots. They are quite similar to each other, and I don't know of a compelling reason to pick one over the other.