this post was submitted on 04 Jul 2023
155 points (98.7% liked)

Selfhosted

40394 readers
381 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 2 years ago
MODERATORS
 

I have a home server that I’m using and hosting files on it. I’m worried about it breaking and loosing access to the files. So what method do you use to backup everything?

(page 3) 13 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 year ago

For my webserver, mysqldump to a secured folder, then restic backup the whole /svr folder, then rsync the restic backup to another server. Also have a system that emails me if these things don't happen daily. The log files are uploaded to a url, the log file is checked for simple errors, and if no file is uploaded in time, email.

Of course, in my case, the url files are uploaded to - and the email server... are the same server I'm backing up... but at least if that becomes a problem, I probably only need the backups I've already made to my second server.

[–] [email protected] 1 points 1 year ago

Zfs z2 pool . Not a perfect backup, but it covers disk failure (already lost one disk with no data loss), and accidental file deletion. I'm vulnerable to my house burning down, but overall I sleep well enough.

[–] [email protected] 1 points 1 year ago

Veeam backup and recovery notnfor retail license covers up to 10 workloads. I then s3 offsite to backblaze

[–] [email protected] 1 points 1 year ago

Running a Duplicacy container backing up to Google drive for some stuff and Backblaze for mostly all other data. Been using it for a couple years with no issues. The GUI and scheduling is really nice too.

[–] [email protected] 1 points 1 year ago

Compressed pg_dump rsync’ed to off-site server.

[–] [email protected] 1 points 1 year ago

All my backups are in /home/Ryan/Documents. Please don't break my Minecraft server.

[–] [email protected] 1 points 1 year ago

Bash scripting and rclone personally, here is a video that helps https://youtu.be/wUXSLmGAtgQ

[–] [email protected] 0 points 1 year ago
  • kopia backup to 2nd disk
  • kopia backup to B2 cloud
  • duplicaty backup to google drive (only most important folder <1GB)

Most of the files are actually nextcloud so I get one more copy of files (not backup) on PC by syncing with nextcloud app

[–] [email protected] -1 points 1 year ago

My server uses zfs, which allows me to create regular snapshots with sanoid. This makes it extremly easy to quickly recover individual services or vms without consuming a lot of disk space. In case the server is not recoverable, I still send the incremental snapshots to a pi clone with a large hard drive. If you use the native disk encryption, the snapshot can be sent encrypted without the second server having access to the data.This solution with zfs and sanoid/syncoid has often made my life easier and, in my experience, uses less bandwidth and cpu load.

load more comments
view more: ‹ prev next ›