[digiKam-users] Move database but not pictures - how?

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

[digiKam-users] Move database but not pictures - how?

Chris Green
For historical reasons my digikam database is in a dedicated directory:-

    chris@esprimo$ ls /chris/digikam
    digikam4.db  recognition.db  similarity.db  thumbnails-digikam.db
    chris@esprimo$

I put it there quite a long time ago so that it was on a different
disk drive (as in separate physical disk) from /home/chris/pictures
where my images are stored.

I have since updated the system quite considerably so that /home is
now on a (much faster) PciExpress SSD, thus the separation of the
Digikam database from my home directory is no longer necessary.

What's the minimum I must do to move the database?  Can I just copy it
to its new location and change the Digikam configuration to match or
does it need a DiskID change as well? (I have to say I never really
understood why Digikam insists on the right DiskID)

While I'm about it, what's the default location for a Digikam database?

--
Chris Green
·

Reply | Threaded
Open this post in threaded view
|

Re: Move database but not pictures - how?

woenx
I think it should be possible.

If you start digikam from a command line, and use the "--database-directory
/path/to/database" option, you can point the new location of the database. I
think that the following times you launch digikam, it will remember that
path.



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html
Reply | Threaded
Open this post in threaded view
|

Re: Move database but not pictures - how?

Bob W

I have a similar question but for windows 10 installation.  I had to create a new Digikam install on a recovered windows 10 PC.  This caused Digikam to think it is a first time setup of Digikam.  I have an existing Digikam data base with 16K tagged images that I don’t want to lose!  How to I point the setup to use the existing database.  I am concerned that if I follow the first time setup path and specify the path to the existing DB, my existing database well be destroyed. 

 

Sent from Mail for Windows 10

 

From: [hidden email]
Sent: Monday, January 13, 2020 7:11 AM
To: [hidden email]
Subject: Re: [digiKam-users] Move database but not pictures - how?

 

I think it should be possible.

 

If you start digikam from a command line, and use the "--database-directory

/path/to/database" option, you can point the new location of the database. I

think that the following times you launch digikam, it will remember that

path.

 

 

 

--

Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html