Live data from Hacker News

BorgBackup 2.0 supports Rclone – over 70 cloud providers in addition to SSH

borgbackup.readthedocs.io

111–120 of 124 posts

Re: BorgBackup 2.0 supports Rclone – over 70 cloud providers in addition to SSH

#111
post #65

BorgBackup user here and really happy. It was a set and forget for me and after 7 years, the deduplicated backup is still working flawlessly each week. I recommend pairing it with borgmatic [1], which helps to design away some of the complexities of the underlying borg backup. [1]: https://github.com/borgmatic-collective/borgmatic

Does someone know a good Android client?

I syncthing stuff I want off of my phone onto a computer, from which I borg-back-it-up.

Re: BorgBackup 2.0 supports Rclone – over 70 cloud providers in addition to SSH

#112
I'll use Restic or BorgBackup for servers, but ended up going with Kopia for machines that are not always on, like laptops. It has the advantage that it will take something of an opportunistic approach where it will start backing up if it hasn't done so in a while, and seems to be able to restart with aplomb if it gets interrupted (machine shutdown or laptop lid closed).

That and being able to have multiple machines writing to a shared repository at the same time is handy. I have the kids' Windows computers both backing up to the same repo to save a bit of storage. (Now if only Kopia supported VSS on Windows without mucking around with dubious scripts.)

Re: BorgBackup 2.0 supports Rclone – over 70 cloud providers in addition to SSH

#113
post #95

BorgBackup user here and really happy. It was a set and forget for me and after 7 years, the deduplicated backup is still working flawlessly each week. I recommend pairing it with borgmatic [1], which helps to design away some of the complexities of the underlying borg backup. [1]: https://github.com/borgmatic-collective/borgmatic

My problem is I learn some tool like this, set it, and then indeed forget it. Then I avoid testing my backups because of the work it takes to un-forget it. Because of this, I'm leaning more and more towards rsync or tools that have GUI frontends.

At a minimum you need backup, regular restore tests, and alerts when backups stop or restore tests fail.

Personally I automate restore testing with cron. I have a script that picks two random files from the filesystem: an old one (which should be in long term storage) and a new one (should be in the most recent backup run, more or less), and tries restoring them both and comparing md5sums to the live file. I like this for two reasons: 1. it's easy to alert when a cronjob fails, and 2. I always have a handy working snippet for restoring from backups when I inevitably forget how to use the tooling.

IMO alerting is the trickiest part of the whole setup. I've never really gotten that down on my own.

Re: BorgBackup 2.0 supports Rclone – over 70 cloud providers in addition to SSH

#114
post #95

Earlier quoted context omitted.

My problem is I learn some tool like this, set it, and then indeed forget it. Then I avoid testing my backups because of the work it takes to un-forget it. Because of this, I'm leaning more and more towards rsync or tools that have GUI frontends.

At a minimum you need backup, regular restore tests, and alerts when backups stop or restore tests fail. Personally I automate restore testing with cron. I have a script that picks two random files from the filesystem: an old one (which should be in long term storage) and a new one (should be in the most recent backup run, more or less), and tries restoring them both and comparing md5sums to the live file. I like thi…

I recently set up email alerting through the syslog agent from Telegraf-Influx-Grafana, where Grafana is used for Email alerting and InfluxDB for filtering for the specific syslogs.

On another VM, I used postfix to email logs after cronjob (failed or passed), which also works great.

Re: BorgBackup 2.0 supports Rclone – over 70 cloud providers in addition to SSH

#115
post #109

Earlier quoted context omitted.

Yeah with enough scripting, you can rebuild a slow equivalent to a real backup program, that will also use 10x the disk space.

Yep. But it works and has worked for over 20 years. Various backup software has come and gone in that time but rsync has been a rock.

Fwiw, Borg is coming up on 10. 12 if you include the project it forked from. I like the simplicity of rsync approaches, but Borg seems to have longevity and widespread use.

Re: BorgBackup 2.0 supports Rclone – over 70 cloud providers in addition to SSH

#116
post #95

Earlier quoted context omitted.

My problem is I learn some tool like this, set it, and then indeed forget it. Then I avoid testing my backups because of the work it takes to un-forget it. Because of this, I'm leaning more and more towards rsync or tools that have GUI frontends.

At a minimum you need backup, regular restore tests, and alerts when backups stop or restore tests fail. Personally I automate restore testing with cron. I have a script that picks two random files from the filesystem: an old one (which should be in long term storage) and a new one (should be in the most recent backup run, more or less), and tries restoring them both and comparing md5sums to the live file. I like thi…

I use ntfy.sh for sending push notifications from scripts and such. It's open source and free (they have paid plans as well now, but I didn't encounter any limitations in the free plan).

Not an endorsement, just a happy user.

Re: BorgBackup 2.0 supports Rclone – over 70 cloud providers in addition to SSH

#117
post #116

Earlier quoted context omitted.

At a minimum you need backup, regular restore tests, and alerts when backups stop or restore tests fail. Personally I automate restore testing with cron. I have a script that picks two random files from the filesystem: an old one (which should be in long term storage) and a new one (should be in the most recent backup run, more or less), and tries restoring them both and comparing md5sums to the live file. I like thi…

I use ntfy.sh for sending push notifications from scripts and such. It's open source and free (they have paid plans as well now, but I didn't encounter any limitations in the free plan). Not an endorsement, just a happy user.

+1 for ntfy: it's also trivial to self host

Re: BorgBackup 2.0 supports Rclone – over 70 cloud providers in addition to SSH

#118

BorgBackup user here and really happy. It was a set and forget for me and after 7 years, the deduplicated backup is still working flawlessly each week. I recommend pairing it with borgmatic [1], which helps to design away some of the complexities of the underlying borg backup. [1]: https://github.com/borgmatic-collective/borgmatic

Or, if you're using a desktop environment and prefer a GUI, Vorta has been treating me well. https://vorta.borgbase.com/

I love vorta, I have it on all my machines. It's great for my (non-technical) husband who doesn't want to know anything about Linux.

Then everything gets backed up to my local server which then syncs out to remote storage. It's great.

Can't wait for Borg 2 to hit stable. The transfer command solves so many problems

Re: BorgBackup 2.0 supports Rclone – over 70 cloud providers in addition to SSH

#119

Earlier quoted context omitted.

Yep. But it works and has worked for over 20 years. Various backup software has come and gone in that time but rsync has been a rock.

Fwiw, Borg is coming up on 10. 12 if you include the project it forked from. I like the simplicity of rsync approaches, but Borg seems to have longevity and widespread use.

Restic is also around 10 years old... at least based on it's github commit history. I should probably look at them again at some point. Hard to get motivated to replace a working system for some disk space.

Re: BorgBackup 2.0 supports Rclone – over 70 cloud providers in addition to SSH

#120

Does anyone have an up-to-date comparison of Borg vs Restic? Or a compelling reason to switch from Restic to Borg? I've previously used Borg, but the inability to use anything other than local files or ssh as a backend became a problem for me. I switched to Restic around the time it gained compression support. So for my use-case of backing up various servers to an S3-compatible storage provider, Restic and Borg now s…

I prefer restic simply because I find it easier to understand and use. This means backups actually happen. It also feels less like it is constantly changing. Constant stream of new features isn’t a thing I’ve ever desired in a backup solution.
Post reply on HN