I have installed ERPNext via docker (not bench), and I can’t find the database anywhere.
I knew the database name and password from the .json file, but I don’t know where to find it exactly.
The server only shows:
I am able to backup my files, but I need to backup the database also. Any recommendation?
It will list running containers.
Backup section in docs : frappe_docker/site-operations.md at main · frappe/frappe_docker · GitHub
Thank you much Revant for reply.
May I ask what is meant by
in the code of docker backup?
The name given to the project by
By default it’ll take directory name where docker-compose was executed.
Thank you very much for replying
It gives me an error every time I try to execute the code. = frappe_docker
It says it doesn’t find the directory:
can you please give me an example of code can be executed.
docker run \ -e "SITES=site1.domain.com:site2.domain.com" \ -e "WITH_FILES=1" \ -v <project-name>_sites-vol:/home/frappe/frappe-bench/sites \ --network <project-name>_default \ frappe/erpnext-worker:$VERSION backup
All docker containers need to be started before running site creation command. Are all containers running?
Yes, all containers are running
docker volume ls
Use the volume listed here in the backup command.
- Play with docker is working, just tried now. Play with Docker
- It could create backup and restore in tests Travis CI - Test and Deploy with Confidence
I don’t know what is happening on your machine.