![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 254
Karma: 69786
Join Date: May 2006
Location: Oslo, Norway
Device: Kobo Aura, Sony PRS-650
|
Revision control system for library backup
Hi! Does anyone else use this for backup? I do regular file backups, but I'd like to have a changelog and efficient storage/recovery of different file versions. Some kind of revision control system seems good for this, but I'm not too well versed in the various options, and am grateful for any tips
![]() A good gui is a definite plus, but not a must. I'm interested in automating it (committing every day if changed) eventually, but I presume that most systems can do everything from the command line, making it script/cron-able. I've looked at svn, but its approach to storing metadata in .svn-directories makes it a bit messy with Calibre. The system must also handle directory renaming with no file changes well. I've looked at git, which seems promising, but browsing for older versions is very cumbersome. Other candidates are Mercurial and Bazaar. I'm on Linux by the way. If anyone already does this I'd be interested in hearing about your experience with abusing VCSes ![]() |
![]() |
![]() |
![]() |
#2 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
calibre development uses bazaar for managing its source code.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 254
Karma: 69786
Join Date: May 2006
Location: Oslo, Norway
Device: Kobo Aura, Sony PRS-650
|
Yes, I know, I've only ever used bazaar to check out calibre source
![]() It seems that Bazaar doesn't handle folder renaming without special treatment; it also seems that git, for instance, works around this by using sha1 for identifying files. If I change "Lovecraft, H. P." to "Lovecraft, Howard Philip" I would end up with duplicates of all his books. As I'd probably do with git as well as the epubs are updated with new metadata, I guess. Maybe it wasn't such a good idea after all ![]() |
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 95
Karma: 3198
Join Date: Jul 2011
Location: Canada
Device: Kobo Touch
|
If you are not a developer, and don't use version control on a regular basis, I would say it is too advanced (i.e. more trouble) for you. Try a regular backup system, like duplicity or plain rsync.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How can I backup my Kobo library? | jodykihara | Kobo Reader | 18 | 07-10-2011 12:43 AM |
Hacks Trying to setup an automated system to backup kindle... | jer989 | Amazon Kindle | 10 | 10-02-2010 03:14 AM |
Sony Library Revision 3.1.00.12040 no longer paginates? | Abisha | Reading and Management | 4 | 04-01-2010 11:45 PM |
Backup Sony ebook Library? | erasure25 | Reading and Management | 1 | 10-20-2009 06:09 PM |
Restore libprs500 library from backup | Klaatu | Calibre | 7 | 03-27-2008 03:09 PM |