Backup Manager - maforget/ComicRackCE GitHub Wiki

Backup Manager


The Backup Manager can be ran on Startup & Exit. This is to replace the Backup Manager plugin. This doesn't replace the current Backup Database feature. They co-exists at the same time. It is also not possible to restore from that backup using the UI.

Difference between the plugin are:

  • It will automatically delete old backups when over the specified quantity to keep (they are sent to the recycle bin).
  • You can pick and choose which elements you want in your backup like your Database, Config, Scripts, Cache or even your custom ComicRack.ini.
  • When backing up on exit it does so after the database have been saved. This is after plugins are triggered, so you will have the correct version of your database. The plugin would trigger before so you wouldn't have the very latest database backup.
  • It also backups files from the %ProgramData% directory (but never the ones from the startup directory).
  • The backup is done in the background so it doesn't block the UI on startup like the plugin does (unless you used the buggy v1.3) - See #136

Go in Preferences -> Advanced -> Backup Manager. Enable either the on Startup or Exit option and some elements to save.

  • It works with portable mode (UseLocalSettings) and Alternate Config (-ac)
  • To enable click either the Backup On Startup or Exit checkbox (or both).
  • Default values include everything except Cache, which can get big and is not recommended that you enable.
  • The Include all Alternate Configs means that instead of only backing up only the current config, it will save all configs present in your data folder regardless of which is loaded. This is the equivalent to the old "Full" backup from the plugin.
  • Setting the # of Backups to Keep to 0 will disable deletion of old backups.

Note: For user using SQL, the current Backup Database feature saves the contents of the books from the db into the backup. This does not, it just backups your current XML file.

[!CAUTION] Do not rename the backup files and keep backups from different configurations in different individual folders. The reason is that finding old files is done via sorting the files (it doesn't check subfolders).