-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Open
Labels
product / domainsFixes and upgrades for the Appwrite Domains.Fixes and upgrades for the Appwrite Domains.product / functionsFixes and upgrades for the Appwrite Functions.Fixes and upgrades for the Appwrite Functions.product / self-hostedIssues only found when self-hosting AppwriteIssues only found when self-hosting Appwriteproduct / sitesFixes and upgrades for Appwrite Sites.Fixes and upgrades for Appwrite Sites.product / storageFixes and upgrades for the Appwrite Storage.Fixes and upgrades for the Appwrite Storage.
Description
π Description
I couldn't make a proper backup using instructions from this page: https://appwrite.io/docs/advanced/self-hosting/production/backups. Volumes archives ended up empty.
System: TrueNAS Scale 24.10.2.4 (Debian)
Environment: Docker via Dockge app.
I'm pretty new to appwrite, so maybe I'm missing something here, but I hope it may help someone.
The only way I could produce a proper backup was to use this script:
BACKUP_DIR="path/to/backup"
volumes=("uploads" "functions" "builds" "sites" "certificates" "config" "cache")
for volume in "${volumes[@]}"; do
docker run --rm --volumes-from appwrite -v $PWD/$BACKUP_DIR:/backup ubuntu bash -c "cd /storage/$volume && tar cvf /backup/$volume.tar ."
doneThis produces an error for mariadb and redis volumes, so I'm still using old backup instructions for those even if they produce empty archives because I'm not sure what those volumes should even include.
Please update instructions with a working version.
π Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
π’ Have you read the Code of Conduct?
- I have read the Code of Conduct
Metadata
Metadata
Assignees
Labels
product / domainsFixes and upgrades for the Appwrite Domains.Fixes and upgrades for the Appwrite Domains.product / functionsFixes and upgrades for the Appwrite Functions.Fixes and upgrades for the Appwrite Functions.product / self-hostedIssues only found when self-hosting AppwriteIssues only found when self-hosting Appwriteproduct / sitesFixes and upgrades for Appwrite Sites.Fixes and upgrades for Appwrite Sites.product / storageFixes and upgrades for the Appwrite Storage.Fixes and upgrades for the Appwrite Storage.