r/docker • u/gordonx2026 • Aug 28 '26
How do you backup Nextcloud/WordPress in Docker?
For those running Nextcloud or WordPress in Docker: how do you handle backups?
I'm thinking about using borgmatic and basically backing up two things: the application data/files and the database.
For the DB, would you use mysqldump --single-transaction and skip maintenance mode, especially for an automated nightly backup at 3 AM?
Or do you still enable maintenance mode to make sure the database and files are fully consistent?
What's your setup?
7
Upvotes
3
u/nez_har Aug 28 '26
This is what I do https://nezhar.com/blog/backup-applications-running-in-docker-containers/
1
u/cheflA1 Aug 29 '26
VM Backup with proxmox backup server. Data, notes and so on with rclone.
0
u/gramoun-kal Aug 28 '26
You back up the volumes.
0
u/Fungalsen Aug 29 '26
backup the volumes with syncthing
0
u/[deleted] Aug 29 '26
[deleted] — view deleted comment