02-06-2011, 11:39 PM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Feb 2011
Device: sony reader
|
Backup for Calibre
Hi, I'm really new at this. Was interested in knowing what I needed to backup to ensure that my Calibre Info is safe?
|
02-07-2011, 12:17 AM | #2 |
Calibre Plugins Developer
Posts: 4,636
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
From the user manual:
http://calibre-ebook.com/user_manual...o-i-backup-app |
02-08-2011, 01:26 AM | #3 |
Connoisseur
Posts: 75
Karma: 600
Join Date: Jul 2008
Location: Depends Upon the Season.....
Device: Cybook, Sony & ipad
|
With help from others I created batch files that automatically back up my meta data every night.
See thread https://www.mobileread.com/forums/showthread.php?t=83311&highlight=Debby&page=3 Automatically Back up Library and Meta data Create 2 .bat files and run them in Windows Task Scheduler. 1. Robocopy – you probably already have it - http://en.wikipedia.org/wiki/Robocopy 2. Install Notepad++ (it’s free) to create .bat files - http://www.filehippo.com/download_notepad/ Highlight items in RED should be the location of your Files Blue highlight is a NEW directory where you will save your backup – you only need quotes around file name if there is a space in your name. If there is not, then do not use them. To copy Metadata: copy this into Notepad++ and save as .bat file @echo off REM metafile copy documents Z: cd\My Documents\Calibrelibrary\Familybks if exist metadata.db.6 del metadata.db.6 if exist metadata.db.5 ren metadata.db.5 metadata.db.6 if exist metadata.db.4 ren metadata.db.4 metadata.db.5 if exist metadata.db.3 ren metadata.db.3 metadata.db.4 if exist metadata.db.2 ren metadata.db.2 metadata.db.3 if exist metadata.db.1 ren metadata.db.1 metadata.db.2 if exist metadata.db copy metadata.db metadata.db.1 robocopy "Z:\My Documents\Calibrelibrary\Familybks" F:\CalibreBU /s /purge /xo /r:1 /w:1 To copy entire library: @echo off REM copy documents robocopy "Z:\My Documents\Calibrelibrary\Familybks" "Z:\My Documents\Calibre Saved Libraries\BatchFile BU" /s /purge /xo /r:1 /w:1 Finish Place these files in a directory called Batch Files and go to Windows Scheduler and add them. Under Actions: Start a Program C:\Batch Files\whatever your name is. You can select how often you want it to run. I do mine daily at 2:00 am. That should be it! Good Luck. |
02-08-2011, 06:11 AM | #4 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Note that playing back a metadata.db backup from an earlier date than the library currently is at can lead to inconsistencies between the database and the directory structure. A full library backup should be your preferred backup method.
Calibre also already contains a mechanism that backs up the metadata with each change so that you can recreate the metadata.db should it get corrupted, so having a manual backup as well is redundant. |
02-08-2011, 06:58 AM | #5 |
Wizard
Posts: 2,013
Karma: 251649
Join Date: Apr 2010
Location: Tempe, AZ, USA, Earth
Device: JetBook Lite (away from home) + 1 spare, 32" TV (at home)
|
I'm using Carbonite for my offsite backup. It automatically updates shortly after a file has been created, deleted, or altered (and maintains versions for a week). If I were to lose my library and my local backup, I will be able to restore my library from Carbonite. It's a little less than $5/month for unlimited capacity and I don't even have to think about it since everything is automatic..
|
02-08-2011, 09:02 AM | #6 | ||
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Quote:
|
||
02-08-2011, 09:07 AM | #7 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
|
02-08-2011, 10:10 AM | #8 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
I don't use the catalog function much, but I suspect it operates almost entirely on the metadata.db file. If I have backup copies of metadata.db, I suspect I can restore it to an empty directory and get various formatted catalogs of what was in my library previously. (I know I can get that info out using SQL, even if the catalog wouldn't run). That info is sometimes useful to me.
|
02-08-2011, 12:06 PM | #9 |
eBook Junkie
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
I use SyncBack to back up my metadata.db, settings folder and book folders as well as keep a separate backup of the books and their opf files.
|
02-08-2011, 01:28 PM | #10 |
Banned
Posts: 640
Karma: 4911
Join Date: Jul 2007
Location: Grapevine, TX
Device: iPad4
|
I put my library in Dropbox. Now I can access my books from any computer plus they are backed up to the web along with their metadata.
|
02-10-2011, 04:54 AM | #11 |
piedra preciosa
Posts: 51
Karma: 4170
Join Date: Jan 2011
Location: Boston, Massachusetts
Device: Kindle Oasis 6", Kindle Voyage, Sony PRS-350, etc.
|
Could I ask you to describe this mechanism in a little more detail? Where can I find the backups?
|
02-10-2011, 05:33 AM | #12 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
See the metadata.opf inside each book folder? Those are backups. There's a tool to reconstruct the database from that information.
|
02-10-2011, 06:15 AM | #13 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
|
02-10-2011, 06:35 AM | #14 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Right, this is in the GUI as well, now...
|
02-10-2011, 09:56 AM | #15 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
I know you know this, but the tool reconstructs an approximation to the database, not the entire database. It misses a few things, most notably stored custom recipes.
|
Tags |
backup, calibre |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] Calibre Backup and Restore | Timber | Calibre | 21 | 06-01-2011 07:31 PM |
Backup | Maggie-Me | Calibre | 3 | 01-01-2011 05:13 PM |
What kind of backup policy does/can calibre have | rollercoaster | Calibre | 9 | 04-09-2010 12:25 AM |
Backup Calibre conversion settings | Amalthia | Calibre | 5 | 12-01-2009 01:41 PM |
unable to get my book backup back into Calibre? error msg inside | stustaff | Calibre | 13 | 05-04-2009 04:51 AM |