Skip to content

Instantly share code, notes, and snippets.

View Shiba-Kar's full-sized avatar
🏠
Working from home

Shiba Prasad Kar Shiba-Kar

🏠
Working from home
View GitHub Profile
@Meldiron
Meldiron / backup.sh
Last active May 5, 2024 10:45
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 \