Hi my ERPNext is running on localhost through docker desktop, Kindly let me how to backup database, public & private files using commands. Pls start the process from D:\Data\docker\frappe>
and explain how to backup database and files and how to restore database and files.
Any update?
Hi,
bench backup can be used to make a backup of the site:
https://docs.frappe.io/framework/user/en/bench/reference/backup
The resulting backup file can be copied to the host using docker cp or Files in Docker Desktop:
https://docs.docker.com/reference/cli/docker/container/cp/
Docker cp cam be used to copy the backup to the container, and the site restored using bench restore:
https://docs.frappe.io/framework/user/en/bench/reference/restore
The contianer commands can be run in the Docker Desktop:
2 Likes