Backup & Restore Moonraker database
This allows to backup and restore Moonraker database. This can be useful for keeping print statistics after a printer reset.
Backup
-
Make sure you have followed this Helper Script Installation section before.
-
In the script, enter in
[Backup & Restore] Menuby typing 4 , validate with Enter and selectBackup Moonraker database: -
When it's done, a compressed file named
backup_database.tar.gzcontaining the backup is created in/usr/data/printer_data/config/folder accessible from Fluidd or Mainsail Web interface and it can be downloaded (right click on the file and Download):- On original Fluidd Web Interface go to
Configurationicon on the left side. - On original Mainsail Web Interface go to
Machinetab on the left side.
- On original Fluidd Web Interface go to
Note
You can also use MOONRAKER_BACKUP_DATABASE macro to backup Moonraker database when installing Useful Macros feature.
Restore
-
Make sure you have followed this Helper Script Installation section before.
-
Make sure
backup_database.tar.gzfile is present in/usr/data/printer_data/config/folder. -
In the script, enter in
[Backup & Restore] Menuby typing 4 , validate with Enter and selectRestore KMoonraker database: -
When it's done, Moonraker database is restored.
Note
You can also use MOONRAKER_RESTORE_DATABASE macro to restore Moonraker database when installing Useful Macros feature.
If you like my work, don't hesitate to support me by paying me a 🍺 or a ☕. Thank you 🙂

