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
- Update from 1.8 to 1.8.1 failing
I have spent the past 2 hours trying to figure this out but I really dont know what to do. 1.8. was a fresh install because the upgrade from 1.7.4 was a total m...
- Realtime not working for some tables
Hi, I've got an issue where I can setup a realtime connection to listen to some tables, but some not all. I have two tables `history` and `users`. Both can be ...
- Broken Appwrite can’t make functions nor...
Hii guys, I was having this issue with my locally hosted Appwrite, I can’t create functions ( both template and manual), I can’t make a custom domain ( like in ...