Part-DB-legacy icon indicating copy to clipboard operation
Part-DB-legacy copied to clipboard

Backups / Restore

Open NetForces opened this issue 5 years ago • 3 comments

Amazing project !

How can we backup when running in a docker instance ?

Is everything in the MySQL database ? Images also ?

NetForces avatar Jun 13 '19 02:06 NetForces

The data about the parts is saved in the MySQL DB. Images and Attachments (and the main config) is saved under data/ (this folder is persistent in docker).

jbtronics avatar Jun 13 '19 16:06 jbtronics

Perfect, I can put a backup script together.

Might be a nice feature to add. Maybe a configurable periodic backup of the database and images to an external target. Maybe using scp or something similar.

NetForces avatar Jun 13 '19 17:06 NetForces

Perfect, I can put a backup script together.

Might be a nice feature to add. Maybe a configurable periodic backup of the database and images to an external target. Maybe using scp or something similar.

Hi I’m new with docker so have no idea where to start. Have you made a script for it and are you willing to share?

thanks in advance!

mrWheel avatar May 03 '21 16:05 mrWheel