Moving Remote Collection Howto?

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

Moving Remote Collection Howto?

Johannes
Hello,

My digikam setup currently looks as follows:
1) a local mySQL database contains both metadata and thumbnails
2) the (main) collection resides on a network share which I mount as needed
on "/mnt/Images".

As I am putting a new NAS into use I would like to transfer the collection
(2) above) to that NAS and use a standard smba share path rather than having
to rely on manual mounting. How can I instruct digikam to modify database
information such that paths for the images are converted to the new
location? Is that even possible?

Thanks for any hints.

Sincerely, Joh

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

Re: Moving Remote Collection Howto?

Sjoerd


On 2012-12-07 10:11, Johannes Graumann wrote:

> Hello,
>
> My digikam setup currently looks as follows:
> 1) a local mySQL database contains both metadata and thumbnails
> 2) the (main) collection resides on a network share which I mount as
> needed
> on "/mnt/Images".
>
> As I am putting a new NAS into use I would like to transfer the
> collection
> (2) above) to that NAS and use a standard smba share path rather than
> having
> to rely on manual mounting. How can I instruct digikam to modify
> database
> information such that paths for the images are converted to the new
> location? Is that even possible?
>

You still have to mount the sambashare to a mount point like
/mnt/newshare.
Then I would start Digikam and add the new share as a new collection
and
finaly move from within Digikam your old share collection to the new
one.
Will probably take a while (depending on the amount of pictures), but
sounds the safests..

Cheers,
Sjoerd

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

Re: Moving Remote Collection Howto?

Laurent Espitallier


Le 07/12/2012 10:52, Sjoerd a écrit :

>
>
> On 2012-12-07 10:11, Johannes Graumann wrote:
>> Hello,
>>
>> My digikam setup currently looks as follows:
>> 1) a local mySQL database contains both metadata and thumbnails
>> 2) the (main) collection resides on a network share which I mount as
>> needed
>> on "/mnt/Images".
>>
>> As I am putting a new NAS into use I would like to transfer the
>> collection
>> (2) above) to that NAS and use a standard smba share path rather than
>> having
>> to rely on manual mounting. How can I instruct digikam to modify
>> database
>> information such that paths for the images are converted to the new
>> location? Is that even possible?
>>
>
> You still have to mount the sambashare to a mount point like
> /mnt/newshare.
> Then I would start Digikam and add the new share as a new collection and
> finaly move from within Digikam your old share collection to the new one.
> Will probably take a while (depending on the amount of pictures), but
> sounds the safests..
>
> Cheers,
> Sjoerd

Another way to do it should be to install SQLite manager for Firefox :

https://addons.mozilla.org/fr/firefox/addon/sqlite-manager/

The to open the database file (digikam4.db)

Look for "albumsRoot" table and update the identifier field of the
"collection/albumroot"

You'll need to encode the pathname with a tool. For example :
http://meyerweb.com/eric/tools/dencoder/

For example

/mnt/newpath

will then be encoded to

%2Fmnt%2Fnewpath

So the album root identifier should be updated to :

networkshareid:?mountpath=%2Fmnt%2Fnewpath

You should also update the "thumbnails-digikam.db" file so that each
image the new path (more tricky)

Or delete it to automatically rebuild thumbnails.

Of course, as always it is imperative to make a backup before trying to
modify the database !!!
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Moving Remote Collection Howto?

tosca
I didn't know there was such a thing... I use (not very often...) Sqliteman that I have got from the regular Fedora repositories.

Marie-Noëlle

2012/12/7 Laurent Espitallier <[hidden email]>


Another way to do it should be to install SQLite manager for Firefox :

https://addons.mozilla.org/fr/firefox/addon/sqlite-manager/


--


Mes dernières photos sont dans ma galerie.
Retrouvez-moi aussi sur mon blog.
Et parcourez les Cévennes à ma façon avec Cévennes Plurielles,


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

Re: Moving Remote Collection Howto?

Laurent Espitallier
I didn't know Sqliteman either !

I installed it and I can say now that both are very good database managers.

N.B : Fedora is currently my favourite distribution ;-)

Le 07/12/2012 20:13, Marie-Noëlle Augendre a écrit :
I didn't know there was such a thing... I use (not very often...) Sqliteman that I have got from the regular Fedora repositories.

Marie-No�lle

2012/12/7 Laurent Espitallier <[hidden email]>


Another way to do it should be to install SQLite manager for Firefox :

https://addons.mozilla.org/fr/firefox/addon/sqlite-manager/


--


Mes derni�res photos sont dans ma galerie.
Retrouvez-moi aussi sur mon blog.
Et parcourez les C�vennes � ma fa�on avec C�vennes Plurielles,



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


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

Re: Moving Remote Collection Howto?

tosca
Fedora is also my favourite (and only) ditribution. That's why it is the first place I go to when I need a new tool, and usually find what I'm looking for in the repositories.

Marie-Noëlle

2012/12/8 Laurent Espitallier <[hidden email]>
I didn't know Sqliteman either !

I installed it and I can say now that both are very good database managers.

N.B : Fedora is currently my favourite distribution ;-)




--


Mes dernières photos sont dans ma galerie.
Retrouvez-moi aussi sur mon blog.
Et parcourez les Cévennes à ma façon avec Cévennes Plurielles,


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