#Error when restoring a backup

16 messages · Page 1 of 1 (latest)

latent island
#

When I run this command docker-compose exec -T mariadb sh -c 'exec mysql -u"$MYSQL_USER" -p"$MYSQL_PASSWORD"' < dump.sql
I get this error. The file is uploaded and named accordingly

ERROR: The Compose file './docker-compose.yml' is invalid because:
Invalid top-level property "x-logging". Valid top-level sections for this Compose file are: version, services, networks, volumes, and extensions starting with "x-".

You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/```
I am following this guide. 
https://dev.to/appwrite/appwrite-in-production-backups-and-restores-4beg

I was able to create the dump file but cant restore it .
DEV Community

Backing up and restoring data is an extremely important part of running servers. It's a virtual...

night beacon
latent island
#

Docker version 24.0.2, build cb74dfc

docker-compose version 1.25.0, build unknown

night beacon
latent island
#

Ty

latent island
#

I have updated compose to 2.18.1 and still same error

night beacon
latent island
#

1.25v

#

How do I update then. I tired and it did not work

night beacon
night beacon
latent island
#

Ok I got it to work but when i go to look at the web panel I got logged out and cant login

latent island
#

I got it all working! I had to reset password in order to beable to login

#

If i change my username and password to the db in the the .env will that break anything?

night beacon
latent island
#

Is there anyway to change the username password?