Quote:
	
	
		
			
				
					Originally Posted by  chaley
					 
				 
				Here is a LibraryClosedPlugin that backs up the configuration folder to a zip file when calibre is closed. It ignores library change events and configuration change restarts. It is configured using Preferences / Plugins / Library closed / Backup Configuration Folder then Customize Plugin. The defaults are probably sufficient for most people. 
 
I've tested it on my config that uses CALIBRE_CONFIG_DIRECTORY. I haven't tried it without the ENV variable because everything I run uses it. 
 
Thanks to @dunhill for the shutil.make_archive() pointer. Using it simplified things a lot. 
 
I'll add this to the plugin index if there is sufficient interest. 
			
		 | 
	
	
 Nice! Just tested it on Windows: