DEV Community

Discussion on: Appwrite In Production: Backups and Restores

Collapse
 
stnguyen90 profile image
Steven

I think there is a typo/bug in the user part of the database backup command. I think it should be:

docker-compose exec mariadb sh -c 'exec mysqldump --all-databases --add-drop-database -u"root" -p"$MYSQL_ROOT_PASSWORD"' > ./dump.sql
Enter fullscreen mode Exit fullscreen mode
Collapse
 
gewenyu99 profile image
Vincent Ge

Thanks for pointing this out ;)

Took a while but we got to it! It should be fixed now <3

Collapse
 
stnguyen90 profile image
Steven

Thanks! Looks like the same typo is in the mariadb restore command too.