this post was submitted on 28 May 2024
1 points (100.0% liked)

Self Hosted - Self-hosting your services.

11190 readers
1 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

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
 

Question about #restic

Currently I'm backing up my personal computer on a local server and a remote repository. The easiest solution is to have a cronjob for 2 processes. However, I'm wondering if it is possible to scan the files only once and send the backup updates to both repositories instead of doing two scans... suggestions?

cc @[email protected] @[email protected]

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 0 points 3 months ago (1 children)

What I personally do is:

  1. Back up to the local server
  2. Sync the repository from the local server to Backblaze B2

This way restic only has to process the data once.

[–] [email protected] 0 points 3 months ago

This is exactly what I do also. Been chugging away for some years now without a hitch.

[–] [email protected] 0 points 3 months ago (1 children)

@alvaro @selfhosted @selfhost

You could try using restic copy. Do the backup the normal way for the local repo, and then send the resulting snapshot to the remote repo. But be aware that you have to set up the repos to have the same chunker parameters or the deduplication will be poor.

[–] [email protected] 0 points 3 months ago