
Hello, I have been trying to backup my appwrite database. I refer to the instruction in https://discord.com/channels/564160730845151244/1086299526802968627/1086316803891937485
I am currently stuck at
root@appwrite:/home/ubuntu/appwrite# /usr/local/bin/docker-compose -f /home/ubuntu/appwrite/docker-compose.yml exec mariadb sh -c 'exec mysqldump --all-databases --add-drop-database -u"$MYSQL_USER" -p"$MYSQL_PASSWORD"' > ./backup/dump.sql
bash: /usr/local/bin/docker-compose: No such file or directory
It does not seem to be able to detect my docker-compose.
root@appwrite:/home/ubuntu/appwrite# docker-compose --version
bash: docker-compose: command not found
root@appwrite:/home/ubuntu/appwrite# docker compose version
Docker Compose version v2.15.1
I have docker compose v2 installed. but i can't use docker compose command with hyphen. anyone has any idea?

docker-compose
is the old v1 compose. You should be using docker compose

oh. Ok, let me rerun the script

thanks so much Steven

everything works fine! thanks a lot.

[SOLVED] Run mysqldump with docker-compose
Recommended threads
- Problem for certificate
Good evening! I installed Appwrite on my hosting via Docker Compose. Then I set up the .env configuration. But for some reason it does not support HTTPS, when l...
- SMTP Error: Could not connect to SMTP
My appwrite self-hosted instance on DigitalOcean cannot sennd emails. The following results were performed Log: ``` docker compose logs -f appwrite-worker-mail...
- Cannot create a user
Hi, I am using a lowcoder frontend and trying to create a user in Appwrite (python function). Unfortunately, all I got is an error: "Raw body: Error". It means...
