[Digikam-users] database troubles

Christoph Siedentop christoph at siedentop.name
Tue Jan 29 15:21:23 GMT 2013


Dear Samuel, dear Volker,

the default database is just a simple file (not so for mysql but if
you use that, you'll know what you're doing).

Make a copy of that database by finding the file digikam4.db and
copying it. In case something goes wrong, just replace your database
with the backup.

There is a caveat: If your new locations are different than your old
locations (file paths), digikam will think the photos are gone.

For this reason, and to be absolutely sure, I store all my meta info
also in the file itself (or the xmp-sidecar file). The downside is
that applying a tag to 100s of photos at the same time takes much
longer than using just the database.

Regards,
Christoph

On Tue, Jan 29, 2013 at 4:05 PM, Volker Henn <vh59 at gmx.de> wrote:
> Hi Samuel,
>
> obviously it makes more fun programming face-recognition or other useless
> things, instead of making the database stable. I also often lost tags etc.
>
>
>
> Now I use the mysql-database. It is also a good idea that path names keep
> the same after replacing a hard disk.
>
> Volker
>
>
>
>
>
>
>
> Am Dienstag, 29. Januar 2013, 15:54:00 schrieb Samuel Ronayette:
>
> mhh ok, I have progressed a bit by looking at the tables in the database....
> I think I have lost my database now. I have the feeling the migration thing
> created and empty database.  Does it make sense? is it what the migration
> tool is supposed to do? if yes, then I overwrote my database with this empty
> one...
>
> It's the second or third time I loose all my tags and everything in the
> database with digikam... :-(( very annoying.
>
> I find it very confusing. How do you do when you are not an expert in
> database? How to make a backup of the database??? I think I used in the past
> such a backup tool (because I have old backups on my disk), but I can't find
> it anymore...
>
>
> samuel
>
> 2013/1/29 Samuel Ronayette <sronayette at gmail.com>
>
> Hello
>
>
> I intend to reinstall my system and format my disk. When I will copy my
> files (and my photos) back on my new system, I want to be sure I will have
> my digikam stuff just like before (basically, tags and "stars" on photos) Do
> I just need a copy of the database?  (the file digikam4.db?)
>
>
> and actually, I am having trouble now, because I use the "database
> migration" tool, in order to make such a copy on another disk (I understood
> this tool as a copying tool, but I realise now that I must be wrong)? Now
> when I start digikam, it lost the location of my albums, and try to connect
> to the database, with no success....
>
> and now it asks me again where my photos are re rebuild everything! How can
> I tell it to use the database that I have saved?
>
>
> thanks if you can help
>
>
> Samuel
>
>
>
>
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>



-- 
Christoph Siedentop
0176-399-422-45



More information about the Digikam-users mailing list