Problems following https://appwrite.io/blog/post/how-to-back-up-your-appwrite-data
- 0
- 2
- Self Hosted
- General
To me it is unclear what the author means when he writes "Please note that the Appwrite instance should be shut down". I am using docker. What exactly am I supposed to shut down to avoid "service "mariadb" is not running" or "docker: Error response from daemon: volumes-from specification cannot be an empty string."
That's for docker volumes, not for MariaDB
I used docker compose stop appwrite which let me at least run the MariaDB part of the backup.
But for the Volumes I am at a loss. Which part of appwrite am I suppoed to stop?
You don't need to stop anything for running:
For the volumes, you should stop the entire stack if possible
Do you mean something like "docker compose stop"? As far as I know, that is not possible. This is the prompt: mkdir -p backup && docker run --rm --volumes-from "$(docker-compose ps -q appwrite)" -v $PWD/backup:/backup ubuntu bash -c "cd /storage/functions && tar cvf /backup/functions.tar ."
The part "docker-compose ps -q appwrite" generates an empty String if appwrite is not running resulting in the prompt not being executed.
Recommended threads
- Invalid type for attribute 'email': emai...
I'm using the node-appwrite SDK to create a table, the column payload looks like this: ```json [{"key":"email","type":"email","required":true, "size": 512}] ``...
- Git connection is not working anymore on...
Hello all, I updated from 1.8.1 to 1.9.0 then 1.9.5. All seems to work even the Github connection. In Git configuration I see my Github user but when trying to...
- Self-Hosted and Multi Region support
Hey Appwrite Team, As a test and to expand self-hosted capabilities even more, i was thinking of understanding and testing how to deploy a multi-region instanc...