Backup not working

I am trying to apply the temporary patch from Alex. When I input the command,
“docker-compose exec cms-web bash”
I get this error,
“ERROR: Couldn’t connect to Docker daemon at http+docker://localhost - is it running?
If it’s at a non-standard location, specify the URL with the DOCKER_HOST environment variable.”

Do I need to use a different command?

What do you need? Which patch?

Please paste the result of docker ps command

I am trying to run a backup so I can upgrade my server. The command Alex had in his blog post doesn’t work. It gives me the above error. I ma uploading an image of the docker ps output.

If you want to make a backup of your server, simply backup the “shared” folder.

To enter into the xibo container, try the following command.

docker exec -it xibo_cms-web_1 bash

But I don’t think you’ll get anywhere in there.

Thanks, for some reason I forgot that my normal backups also backup the db. Brain cramp I guess.

The containers must be stopped when you take the backup that way - just for awareness. Backing up the shared folder with the containers running will not give you a backup that will restore as the MySQL database will be inconsistent.

Of course, thanks for the reminder Alex.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.