Hey @revant_one ,
I have a similar setup using the steps described here: Installing the Docker image on a local machine without Letsencrypt so we can access it with http://localhost
I’d like to have backups of my erpnext instance.
The volumes used by the docker-compose are these 4 I believe:
- frappe_docker_assets → seem to be the css/js etc. for the site, no need to back it up ?
- frappe_docker_db-data → the mysql data, to be backed up every time I guess ?
- frappe_docker_redis-data → afaik redis is only cache stuff right ? I guess I can ignore ?
- frappe_docker_sites → the sites data, can I only back this up once ? as the data shouldn’t change right ?
When restoring, can I just follow the regular docker-compose up etc., and then once my containers are running simply replace the two volumes I backed up (in case I only back up frappe_docker_db-data and frappe_docker_sites) ?
Last but not least @francois072 if you use Docker Desktop, and if @revant_one confirms what I said earlier, you can just download the “Volumes Backup & Share” extension which allows to backup and replace docker volumes very easily. If this works, then the backing up becomes a breeze !
Thanks again for the support, and happy holidays.
Zauber.