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
- Go 1.25 runtime
So I'm trying to use go 1.25 for my functions and I can only find go-1.23 as a function runtime. So I did some searching and found https://github.com/appwrite/a...
- Failed to generate functions SSL
```appwrite-worker-certificates | Cannot renew domain (functions.domain.com) on attempt no. 9 certificate: Failed to verify domain DNS records. appwrite-worker...
- Dart 3.10 runtime on self-host 1.8.1
I added dart-3.10 runtime in .env file, applied the changes, but cannot see such option on console. is dart 3.10 not supported by self hosted 1.8.1? if not, whe...