Skip to content

Instantly share code, notes, and snippets.

@punitdiwan
punitdiwan / backup.sh
Created Jun 8, 2022 — forked from Evgentret/backup.sh
Backup and Restore Appwrite, the lazy way 🐌
View backup.sh
# Make sure to stop Appwrite before this backup,
# and make sure you have enough space on the machine.
# After backing up, make sure there is a file in 'backups/backup-___.tar.gz'.
# Also please check size of this file, it should be at least 5kb, even for small instances.
docker run --rm \
-v appwrite_appwrite-mariadb:/backup/appwrite-mariadb \
-v appwrite_appwrite-redis:/backup/appwrite-redis \
-v appwrite_appwrite-cache:/backup/appwrite-cache \