Skip to content

Instantly share code, notes, and snippets.

View Evgentret's full-sized avatar

Eugene T Evgentret

View GitHub Profile
@Evgentret
Evgentret / backup.sh
Created April 27, 2022 07:49 — forked from Meldiron/backup.sh
Backup and Restore Appwrite, the lazy way 🐌
# 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 \