January 1, 20251 yr Appreciate this has probably been covered a dozen and one times already, and it's because of that I've narrowed it down to two technologies; but what are your suggested means of creating a backup/DR of dockers with crucial live data on? Specifically I use Immich and SeaFile/OnlyOffice. For a while now I've been using an appdata backup script to backup Immich/Postgres/Redis then I copy said backups to a second Unraid server, along with the /mnt/user/photos data; and amazingly it just works. Presumably because the postgres DB points to a local file and not an IP address, it jhas no issue resolving file paths. This method is far from elegant bu suits Immich since on more than one occasion an update has added bugs, one of which took nearly a month to resolve. The same method does not work for SeaFile. I've edited static files for SeaFile and can log in then traverse my library, but try to open files and it references files from my production NAS. Presumably these links are buried within MariaDB, so even if I could get this working, it would be more than just a copy/paste affair every time I wanted to backup. Which should be weekly at the very least. I've read about rsync and have found what looks like a legacy guide at https://unraid.net/blog/unraid-server-to-server-backups-with-rsync-and-wireguard Has anyone here used such tool with a self hosted cloud system with success? Nextcloud, Seafile, Onecloud etc. Is this the best solution for immediately flipping the switch to a different server? Or is this purely a backup/restore solution. Does anyone have any alternative suggestions/solutions? Thank you, and Happy New Year Edited January 1, 20251 yr by elmuziko
January 3, 20251 yr Community Expert Solution look into the rclone plugin for web rsync https://rclone.org/docs/ Edited January 3, 20251 yr by bmartino1
January 28, 20251 yr Community Expert ZFS Snapshots. I then replicate and send those snapshots to where I keep my backups. Because those databases aren't constantly changing, restoring a snapshot of both the DB and the content brings it back to a working state. It might not be the most "proper" way to handle it but works for my needs currently.
January 28, 20251 yr Community Expert 3 hours ago, MowMdown said: ZFS Snapshots. I then replicate and send those snapshots to where I keep my backups. Because those databases aren't constantly changing, restoring a snapshot of both the DB and the content brings it back to a working state. It might not be the most "proper" way to handle it but works for my needs currently. I was recently burned by this is a sqlite db with plex and other postgress db for immich... Snapshots are good at that time but other data has evolved and may be different... example docker images and tags and other files that the snapshots don't capture are what will kill you there.. the backup only works if you have tested a restore and can confirm the restore... zfs snapshot for me is a more shadow backup for samba...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.