reuse database on new install?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

reuse database on new install?

Daniel Bauer-2
Hello,

due to a disk crash I had to reinstall my system. Now I have new digikam
3.0 (before 2.9) and the image files reside in another folder (before
~/fotos/digikam, now ~/disk2/digikam.

Can I reuse digikam4.db (70 MB) and thumbnails-digikam.db (1.5 GB) somehow?

There are many thousand of images, 650 GB, and rebuilding database and
thumbnails would take very, very long... So if there is a way how I can
avoid that, it would really help me a lot.

I havn't started new digikam until now (still copying files from the
backups...), because I want to make it right from the beginning :-)

Any hints?

Thank you.

Daniel
--
Daniel Bauer photographer Basel Barcelona
professional photography: http://www.daniel-bauer.com
google+: https://plus.google.com/109534388657020287386

--
Daniel Bauer photographer Basel Barcelona
professional photography: http://www.daniel-bauer.com
google+: https://plus.google.com/109534388657020287386
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: reuse database on new install?

Gilles Caulier-4



2013/4/6 Daniel Bauer <[hidden email]>
Hello,

due to a disk crash I had to reinstall my system. Now I have new digikam 3.0 (before 2.9) and the image files reside in another folder (before ~/fotos/digikam, now ~/disk2/digikam.

Can I reuse digikam4.db (70 MB) and thumbnails-digikam.db (1.5 GB) somehow?

Both files can be reused, but in DB, the UUID of old disk is registered to identify media where collections are stored. When you will restart digiKam, it will ask where collection are stored because media will be not found. This will patch DB UUID registration.

I recently managed a similar problem when i moved my collection of 3Tb HDD to an external LVM of 12Tb connected by eSata to my computer. Here of course digiKam 3.x is used.

I not sure if this feature is implemented is old releases. Probably Marcel can provide more details about.
 
Gilles Caulier

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: reuse database on new install?

Peter Mc Donough
In reply to this post by Daniel Bauer-2
Am 06.04.2013 17:50, schrieb Daniel Bauer:
> Can I reuse digikam4.db (70 MB) and thumbnails-digikam.db (1.5 GB) somehow?

I work with opensuse 12.3. Before I upgraded from 12.2 I renamed (not
only) the "old" digikam db and thumbnail files to something like
digikam4.db_keep_JJJJMMDD and  thumbnails-digikam.db_keep_JJJJMMDD.
An additional backup copy somewhere is always a good idea.

Then, after having installed the new system, start the "new" digikam,
take care that its "new" digikam db and thumnail files are at the same
location as the old ones and all paths to your photos are set as in the
previous installation.
Leave digikam.

The remaining steps: Copy "new" ones to a suitable name, and copy the
"old" ones to their original name.
That way you have a backup if something goes wrong.

When you start digikam again, everything should be fine.

In case you you work with Linux, open a console in your home directory,
from the command line

find -iname *digikam*

will tell you where you all digikam related files are hidden.

With Linux you can often just replace freshly generated files in the
home directory with the old ones.

cu
Peter

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users