Quote:
Originally Posted by davidfor
I have just updated version 1.6.0 of the plugin. This one has a few changes in it. - New: Automatic backup of the device database.
Some of these need some more explanation.
Automatic backup of the device database
The first time the device is connected each day, the device database is backed up. The backup file is created with the timestamp as part of the name. The name aslo includes the model and serial number. This allows for backups for multiple devices. Once the backup is done, a database integrity check is done on the file. If there is a problem, the backup file has "CORRUPT" added to the name an an error is shown.
|
You sure about this? All my backups are named
Code:
Directory of D:\Backup\KoboDBBackup
23/03/2014 00:03 <DIR> .
23/03/2014 00:03 <DIR> ..
22/03/2014 01:10 20,692,992 KoboReader-corrupted-KoboGlo-613A334012940-20140322-010302.sqlite
23/03/2014 00:03 14,714,880 KoboReader-corrupted-KoboGlo-613A334012940-20140323-000307.sqlite
2 File(s) 35,407,872 bytes
2 Dir(s) 3,993,944,064 bytes free
Checks of the device show no errors in the database.
By any chance could this be related to two lines in auto_backup_device_database located in action.py
Code:
backup_file_template = 'KoboReader-{0}-{1}-{2}.sqlite'
backup_file_template = 'KoboReader-corrupted-{0}-{1}-{2}.sqlite'