Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book General > General Discussions

Notices

Reply
 
Thread Tools Search this Thread
Old 12-27-2014, 05:27 PM   #61
BWinmill
Nameless Being
 
Quote:
Originally Posted by HarryT View Post
Strange. I can't think of any reason it wouldn't copy a file unless some other program had the file open.
That will be a common problem if you're backing up the entire user folder, mostly due to the AppData folders. The problem also occurs frequently with documents if you leave your applications open (e.g. during scheduled backups). Many backup applications can get around that, as the backup process would be fairly unreliable otherwise.
  Reply With Quote
Old 12-27-2014, 06:04 PM   #62
Fbone
Is that a sandwich?
Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.
 
Posts: 8,292
Karma: 101697116
Join Date: Jun 2010
Device: Nook Glowlight Plus
Quote:
Originally Posted by HarryT View Post
Strange. I can't think of any reason it wouldn't copy a file unless some other program had the file open.

Oh well, it works for me, and that's all that matters to me .
I remember one of the files was Calibre's metadata.db file. I don't know what the file does but I had to manually copy each one every time I synced.
Fbone is offline   Reply With Quote
Old 12-27-2014, 08:35 PM   #63
crich70
Grand Sorcerer
crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.
 
crich70's Avatar
 
Posts: 11,310
Karma: 43993832
Join Date: Feb 2010
Location: Monroe Wisconsin
Device: K3, Kindle Paperwhite, Calibre, and Mobipocket for Pc (netbook)
Quote:
Originally Posted by Fbone View Post
I remember one of the files was Calibre's metadata.db file. I don't know what the file does but I had to manually copy each one every time I synced.
Offhand I'd guess that it has something to do with keeping the things like Author's name and Book Title sorted in Calibre. db = database in my mind.
crich70 is offline   Reply With Quote
Old 12-27-2014, 08:54 PM   #64
BWinmill
Nameless Being
 
Quote:
Originally Posted by crich70 View Post
Offhand I'd guess that it has something to do with keeping the things like Author's name and Book Title sorted in Calibre. db = database in my mind.
It is an SQLite database, and it stores exactly what you said (plus a lot more).
  Reply With Quote
Old 12-27-2014, 09:37 PM   #65
wawasteele
Addict
wawasteele ought to be getting tired of karma fortunes by now.wawasteele ought to be getting tired of karma fortunes by now.wawasteele ought to be getting tired of karma fortunes by now.wawasteele ought to be getting tired of karma fortunes by now.wawasteele ought to be getting tired of karma fortunes by now.wawasteele ought to be getting tired of karma fortunes by now.wawasteele ought to be getting tired of karma fortunes by now.wawasteele ought to be getting tired of karma fortunes by now.wawasteele ought to be getting tired of karma fortunes by now.wawasteele ought to be getting tired of karma fortunes by now.wawasteele ought to be getting tired of karma fortunes by now.
 
wawasteele's Avatar
 
Posts: 357
Karma: 656362
Join Date: Oct 2010
Location: California
Device: 1st PW, Sansa Clip Zip, Samsungs: GT 7.0 Plus, Note4, GT 4 10.1"
Quote:
Originally Posted by Fbone View Post
I remember one of the files was Calibre's metadata.db file. I don't know what the file does but I had to manually copy each one every time I synced.
I use SyncToy and that happens if I forget to close Calibre first. If Calibre is closed, I've never had that problem.
wawasteele is offline   Reply With Quote
Old 12-27-2014, 10:27 PM   #66
AnotherCat
....
AnotherCat ought to be getting tired of karma fortunes by now.AnotherCat ought to be getting tired of karma fortunes by now.AnotherCat ought to be getting tired of karma fortunes by now.AnotherCat ought to be getting tired of karma fortunes by now.AnotherCat ought to be getting tired of karma fortunes by now.AnotherCat ought to be getting tired of karma fortunes by now.AnotherCat ought to be getting tired of karma fortunes by now.AnotherCat ought to be getting tired of karma fortunes by now.AnotherCat ought to be getting tired of karma fortunes by now.AnotherCat ought to be getting tired of karma fortunes by now.AnotherCat ought to be getting tired of karma fortunes by now.
 
Posts: 1,547
Karma: 18068960
Join Date: May 2012
Device: ....
I used SyncToy from its beginning through to sometime after the last (now very dated) version. In more recent times I have used FreeFileSync which is very robust and in my view much easier to use and set up.

SyncToy suffered from a number of problems and as far as I know, for example, errors and redundant backing up of files due to daylight savings time changes were never fixed nor ever formally described (SyncToy was never a formal Microsoft product and so was never supported). I would be very wary using it especially if syncing both NTFS and FAT Drives as NTFS time is UT format and FAT is local time (FreeFileSync, for example, specifically provides for sync'ing these).

FreeFileSync is rigorous in its handling of such issues, others use different syncing applications and I suspect they may be just as good and maybe better but I have had no need to try them.

Last edited by AnotherCat; 12-27-2014 at 10:30 PM.
AnotherCat is offline   Reply With Quote
Old 12-28-2014, 05:42 AM   #67
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by Fbone View Post
I remember one of the files was Calibre's metadata.db file. I don't know what the file does but I had to manually copy each one every time I synced.
Sounds as if you had Calibre running. You need to make sure you close it before you do the backup.
HarryT is offline   Reply With Quote
Old 12-28-2014, 05:58 AM   #68
Freeshadow
temp. out of service
Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.
 
Posts: 2,815
Karma: 24285242
Join Date: May 2010
Location: Duisburg (DE)
Device: PB 623
this might be interesting for you all

http://ipmsg.org/tools/fastcopy.html.en

Offers diff, copy and sync modes and runs without making use of windows' own copy routines = higher limits on path lengths.

Has both CLI and GUI interfaces.

Have a look/read/try
Freeshadow is offline   Reply With Quote
Old 12-28-2014, 02:44 PM   #69
Fbone
Is that a sandwich?
Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.
 
Posts: 8,292
Karma: 101697116
Join Date: Jun 2010
Device: Nook Glowlight Plus
Quote:
Originally Posted by HarryT View Post
Sounds as if you had Calibre running. You need to make sure you close it before you do the backup.
Apparently. The program I use now has no such requirement.
Fbone is offline   Reply With Quote
Old 12-28-2014, 03:00 PM   #70
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by Fbone View Post
Apparently. The program I use now has no such requirement.
The program you're using now is behaving in an unsafe manner; it's evidently simply getting a read lock, and not an exclusive lock, on the files it's trying to copy, and when backing up a SQL database such as the one that Calibre uses this is dangerous, because you could well be backing up the file with potentially uncommitted data. This is the same issue that causes people to end up with a corrupted Calibre database if they put Calibre on a network drive.

SyncToy is behaving absolutely correctly in telling you "I can't back up this file - some other application has opened it.". You really should heed its warnings, not regard them as a problem. In all honesty, I would not trust whatever backup tool you're now using if it's behaving in the manner that you describe. Your backed-up data may very well be corrupt.

Trust me - I do this stuff for a living.

Last edited by HarryT; 12-28-2014 at 04:24 PM.
HarryT is offline   Reply With Quote
Old 12-28-2014, 03:46 PM   #71
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by HarryT View Post
The program you're using now is behaving in an unsafe manner; it's evidently simply getting a read lock, and not an exclusive lock, on the files it's trying to copy, and when backing up a SQL database such as the one that Calibre uses this is dangerous, because you could well be backing up the file with potentially uncommitted data. This is the same issue that causes people to end up with a corrupted Calibre database if they put Calibre on a network drive.
I just make sure I am not running multiple copies of Calibre on the same library. Network issues aren't issues if you do that.
JSWolf is offline   Reply With Quote
Old 12-28-2014, 11:01 PM   #72
Fbone
Is that a sandwich?
Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.Fbone ought to be getting tired of karma fortunes by now.
 
Posts: 8,292
Karma: 101697116
Join Date: Jun 2010
Device: Nook Glowlight Plus
Quote:
Originally Posted by HarryT View Post
The program you're using now is behaving in an unsafe manner;

/edited/

Trust me - I do this stuff for a living.
Thanks, Harry for the warning. I'll try to remember to close the program first. Since I back-up daily, closing (and restarting) Calibre and all the rest is a nuisance that I hoped to avoid.
Fbone is offline   Reply With Quote
Old 12-29-2014, 06:31 AM   #73
shalym
Wizard
shalym ought to be getting tired of karma fortunes by now.shalym ought to be getting tired of karma fortunes by now.shalym ought to be getting tired of karma fortunes by now.shalym ought to be getting tired of karma fortunes by now.shalym ought to be getting tired of karma fortunes by now.shalym ought to be getting tired of karma fortunes by now.shalym ought to be getting tired of karma fortunes by now.shalym ought to be getting tired of karma fortunes by now.shalym ought to be getting tired of karma fortunes by now.shalym ought to be getting tired of karma fortunes by now.shalym ought to be getting tired of karma fortunes by now.
 
shalym's Avatar
 
Posts: 3,058
Karma: 54671821
Join Date: Feb 2012
Location: New England
Device: PW 1, 2, 3, Voyage, Oasis 2 & 3, Fires, Aura HD, iPad
Quote:
Originally Posted by HarryT View Post
The program you're using now is behaving in an unsafe manner; it's evidently simply getting a read lock, and not an exclusive lock, on the files it's trying to copy, and when backing up a SQL database such as the one that Calibre uses this is dangerous, because you could well be backing up the file with potentially uncommitted data. This is the same issue that causes people to end up with a corrupted Calibre database if they put Calibre on a network drive.

SyncToy is behaving absolutely correctly in telling you "I can't back up this file - some other application has opened it.". You really should heed its warnings, not regard them as a problem. In all honesty, I would not trust whatever backup tool you're now using if it's behaving in the manner that you describe. Your backed-up data may very well be corrupt.

Trust me - I do this stuff for a living.
I also "do this stuff for a living", and in the real world, most databases are NOT shut down every night so that a backup can be done. Most *modern* backup programs can and do handle database backups without completely shutting down the program and without corruption. I maintain several MS SQL and MySQL databases that are backed up every night, with test restores done at least monthly, and I can tell you that I've never had a backup corrupted because a database was open while it was being backed up.

Shari
shalym is offline   Reply With Quote
Old 12-29-2014, 06:37 AM   #74
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by shalym View Post
I also "do this stuff for a living", and in the real world, most databases are NOT shut down every night so that a backup can be done. Most *modern* backup programs can and do handle database backups without completely shutting down the program and without corruption. I maintain several MS SQL and MySQL databases that are backed up every night, with test restores done at least monthly, and I can tell you that I've never had a backup corrupted because a database was open while it was being backed up.

Shari
But you presumably do your database backups using the backup facilities of MS SQL Server itself (just as I do), not by simply copying the underlying file system files. If you use the backup facility of the database itself, then yes, it does it properly, no argument about that, and no need to shut anything down. But that's not what we're talking about in this situation: it is assuredly not safe to simply copy the files of an open database. You might get away with it 9 times out of 10, or even 99 times out of a hundred, but sooner or later you'll hit problems when you have pending transactions that haven't been committed to the database.

Last edited by HarryT; 12-29-2014 at 06:40 AM.
HarryT is offline   Reply With Quote
Old 12-29-2014, 09:44 AM   #75
Katsunami
Grand Sorcerer
Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.
 
Katsunami's Avatar
 
Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
Quote:
Originally Posted by shalym View Post
I also "do this stuff for a living", and in the real world, most databases are NOT shut down every night so that a backup can be done. Most *modern* backup programs can and do handle database backups without completely shutting down the program and without corruption. I maintain several MS SQL and MySQL databases that are backed up every night, with test restores done at least monthly, and I can tell you that I've never had a backup corrupted because a database was open while it was being backed up.
Calibre uses SQLite. That is a relational database stored in a simple file. It doesn't use a server. Therefore, when backing up, normal file backup procedures (and pitfalls) apply. Maybe one day Kovid could port the database over to MySQL or something else (Maria, Postgre), and so integrate a portable, auto-starting server. Calibre would then be running a "proper" database, but the distribution would become about twice as big and the total program would become even heavier. While I love Calibre for what it does, I can't say it's a light program to run.

Last edited by Katsunami; 12-29-2014 at 09:47 AM.
Katsunami is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading and backups - what to save? manawydan Library Management 3 11-10-2013 02:22 PM
quick question on syncing and backups ssahnan Kindle Fire 2 12-18-2011 02:34 PM
I have some questions...incl backups JVM Kobo Reader 4 04-08-2011 12:20 PM
How many backups do you have? Sydney's Mom General Discussions 23 04-03-2010 11:53 PM
CF card or iLiad backups? nekokami iRex 12 10-16-2007 09:25 AM


All times are GMT -4. The time now is 07:02 PM.


MobileRead.com is a privately owned, operated and funded community.