Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Issue with the backup instructionsΒ #10701

@vhartsev

Description

@vhartsev

πŸ’­ 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 ."
done

This 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    product / domainsFixes and upgrades for the Appwrite Domains.product / functionsFixes and upgrades for the Appwrite Functions.product / self-hostedIssues only found when self-hosting Appwriteproduct / sitesFixes and upgrades for Appwrite Sites.product / storageFixes and upgrades for the Appwrite Storage.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions