this post was submitted on 29 Dec 2023
14 points (93.8% liked)

Selfhosted

39919 readers
310 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I've got my main house server that has a number of dockerized applications, including nextcloud-aio. Nextcloud-AIO comes with a built-in backup system using BorgBackups. I've had this running and doing my backups, it is probably fine. Notable, it does encrypt the backup.

Now, I recently setup a separate machine to use rsnapshot to backup the things from the main machine that need backing up. It is SSHing on a schedule to do that, and backing up the folders I've listed.

When I set that up, I skipped the nextcloud borg backup, because that is already backing up; however, it is not a remote backup, so is of limited use (granted, my 'official' backup computer is using about 18 inches away from the main server, so also of limited use).

I can easily just include the nextcloud-borg-directory on the rsnapshot list, but does anyone know if it will properly handle just the updates?

That is, both Borg and Rsnapshot are set up so that each backup isn't a complete backup but just incremental changes, so that you don't fill your whole disk in two weeks. But if Borg does that first on the nextcloud data, will rsnapshot just not work and then try to backup the full 50GBs every day? Or just do the incremental changes? Will the borg encryption jack up the ability of rsnapshot to see the changes?

If no one knows, I will just do it anyway and report back in a few days if my disk is completely full or not.

Edit: it has been ~4 days, and I think it is not all busted (not going to say it is a good idea). The total space it is taking up on the second (backup) machine is what I expect - it hasn't ballooned because it can't properly grok the borg backup format or anything like that. Importantly, this is after ~4 days and very few changes (updates/deletions/edits) to anything on the nextcloud.

you are viewing a single comment's thread
view the rest of the comments
[–] taladar@sh.itjust.works 0 points 10 months ago

As far as I know the borg backup store should only add new blocks as new files and remove them when you purge the last backup that uses that block. Obviously some of the metadata files are going to change and will be backed up more frequently but the main data should not.