I’m running Vaultwarden on my Synology NAS in a docker container. Each night I backup the entire docker folder using HyperBackup. I also take snapshots throughout the day. I assume I can just restore one of these if something goes wrong, or do I need to do a database backup? I also export my vault about once a month and save it as a secondary backup.
I don’t do the snapshots but i also backup the full folders and was wondering if i can restore with this setup.
I would test the restore from those snapshots. It should work just fine. I’m using ProxMox and the snapshots works perfectly. Although I am using sqlite3 backups just in case.
I would export the vault first before testing the snapshots.
@Darkk69 and @top.book7226 why would you want snapshots? Do you have so many changes that you need these? I can easily do with 1 nightly off-side backup.
I do full back up of the VM every night. I only use snapshots during upgrades. I also have a cron job that backup the sqlite3 database every so often. They get sync’d to backblaze via rclone.
In the past I had used Synology Snapshots to restore my Vaultwarden database, and work without any issues.
As @Darkk69 , I do have Synology HyperBackup (to an external USB drive, and using rclone to OneDrive), and Synology Snapshots.
I, too, use HyperBackup to back up the container daily. I also have a separate scheduled script to make an additional backup of the MariaDB database and a backup job in iDrive that backs everything up to my cloud backups daily. So two belts + suspenders.
I don’t have that many changes in my vault, but I do make changes on my other files. So I’m running a snapshot anyway, so I just include the docker folder. I’ve got plenty of hard drive space. Snapshot have saved my bacon more than once! And restoring a snapshot is super fast.