Live data from Hacker News

Ask HN: Best Centralized Backup Solution

news.ycombinator.com

21–30 of 70 posts

Re: Ask HN: Best Centralized Backup Solution

#21
post #5

BackupPC is the best one: https://backuppc.github.io/backuppc/ You get every professional features out of the box (full/inc backups, deduplication, compression...) & everything is automated.

Wow. Open source, free, compression & deduplication, web interface, no client software needed, actively developed... WHY DIDN'T I KNOW ABOUT THIS BEFORE?! I need to try it out!

Re: Ask HN: Best Centralized Backup Solution

#22

I think you're looking more for the "scheduling, managing pull from different clients" than the ability to backup to S3, Dropbox, local folder etc. There are plenty of software projects to choose from for the latter. Borgbackup, Restic, Plain old NFSv3 and rsync, Tarsnap, Backblaze B2 etc. I simply use a combination of Cron, rsync and Ansible to make backups to our central NAS, and that central NAS is mirrored to our…

and if rsync doesn't quite work for what you need/a target you want to use, rclone is always an option as well

https://rclone.org/

Re: Ask HN: Best Centralized Backup Solution

#24
I like https://www.urbackup.org for Windows boxes. Does incremental file and image backups. Next system for the Linux world will most likely be https://restic.net with a rclone backend that saves to B2. Idea is to have an append-only service that is safe from ransomware deleting backups for extortion purposes.

Re: Ask HN: Best Centralized Backup Solution

#25
post #22

I think you're looking more for the "scheduling, managing pull from different clients" than the ability to backup to S3, Dropbox, local folder etc. There are plenty of software projects to choose from for the latter. Borgbackup, Restic, Plain old NFSv3 and rsync, Tarsnap, Backblaze B2 etc. I simply use a combination of Cron, rsync and Ansible to make backups to our central NAS, and that central NAS is mirrored to our…

and if rsync doesn't quite work for what you need/a target you want to use, rclone is always an option as well https://rclone.org/

Yes, but, I have used rclone via Restic which encompasses more functionality I think. compression, deduplication, encryption etc.

Re: Ask HN: Best Centralized Backup Solution

#26
Self promotion ahead: I worked on a SaaS product to backup databases on S3 called DBacked. After some time I decided to open-source most of it. It's not made to backup files, only databases. You can look at the open-source project here: https://github.com/dbacked/agent and the SaaS product here: https://dbacked.com/

Re: Ask HN: Best Centralized Backup Solution

#27
post #5

BackupPC is the best one: https://backuppc.github.io/backuppc/ You get every professional features out of the box (full/inc backups, deduplication, compression...) & everything is automated.

No client software, so I would have this installed on a VM on our server and it just goes to crawl and pull files from all the PCs?

Then does the hard part with diffs and etc?

Isn’t this already built in to Windows and I assume Linux(es)?

(I apologize for my ignorance here, not a sysAdmin)

Re: Ask HN: Best Centralized Backup Solution

#28
post #5

BackupPC is the best one: https://backuppc.github.io/backuppc/ You get every professional features out of the box (full/inc backups, deduplication, compression...) & everything is automated.

No client software, so I would have this installed on a VM on our server and it just goes to crawl and pull files from all the PCs? Then does the hard part with diffs and etc? Isn’t this already built in to Windows and I assume Linux(es)? (I apologize for my ignorance here, not a sysAdmin)

It’s been around since 2001. No idea why it isn’t more popular. (Haven’t tried it myself.)

Re: Ask HN: Best Centralized Backup Solution

#29
ZFS snapshots!... I _wanted_ to use "rsync.net" for this, they use FreeBSD with ZFS snapshots in a jail, the idea is that you get your stuff onto the account however you like over SSH (i.e rsync), then the snapshots serve two purposes: snapshots through time, and read only access incase you get 0wned.

I couldn't use rsync.net though because all it's datacenters are outside of EEA, i'm currently looking into doing this myself on a simple VPS, ZFS for linux has matured quite well it seems. I'm a bit new to doing chroot jails on linux but the ZFS snapshot part is very easy if that's enough for you.

    apt install zfsutils-linux
It's pretty trivial to make a pool put it in a user directory and then make snapshots... you could easily make a script to do schedule the snapshots, or there are at least two tools already around to schedule this for you via either cron or systemd timers: zfsnap or zfs-auto-snapshot respectively.

RE databases, with some extra work you could also use ZFS on the source server and take a snapshot of the database (once you invoke the correct commands to lock it), rather than do a dump, this would be very fast because it prevents the duplication of a dump, and therefor could be done much more frequently, you however have the additional complexity of then syncing the snapshot to another servers ZFS pool, although there are tools for this I haven't bothered going this far.

Re: Ask HN: Best Centralized Backup Solution

#30
rdiff-backup works like magic. I love it.

It's a command line tool that does all stuff related to backup perfectly. It's in the Debian repos.

It synces a given directory to a backup directory with an additional dir for metadata and history. It's super fast, even over the wire. It seems to achieve this by only sending the changed parts of files. I wonder if it also uses compression?

You can always change your directory back to any state you backed it up.

It has tons of nice features for checking the integrity of the backup, recovering single files from a given point of time etc.

Did I mention how much I love it?

Post reply on HN