Best Way to Backup

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

Best Way to Backup

Henrique Santos Fernandes
Hello,

How is the best way to backup Digikam?

I mostly use image tags and its configured to apply to the image. But for vídeos i guess it does not work.

I am also thinking of using digikam in mysql. If so the backup would be only the database and pictures?

Thanks

[]'sf.rique
Henrique Santos Fernandes

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

Re: Best Way to Backup

Simon Cropper-3
On 13/02/14 13:30, Henrique Santos Fernandes wrote:

> Hello,
>
> How is the best way to backup Digikam?
>
> I mostly use image tags and its configured to apply to the image. But
> for vídeos i guess it does not work.
>
> I am also thinking of using digikam in mysql. If so the backup would be
> only the database and pictures?
>
> Thanks
>
> []'sf.rique
> Henrique Santos Fernandes
>
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>

Henrique,

DigiKam works with albums, which are really just directories, when not
using MySQL your database usually resides in the top album you identify.
Personally I have one root album 'images' above my home, work and other
albums.

I save my metadata to file (if JPG) but also XMP files (if NEF). If you
have videos the metadata for these will be stored database but not on
the file or in a XMP file.

In order to back up these files treat them like any other file. Backup
the root directory with whatever backup system you currently use to save
your electronic files. Ensure you keep several sets -- I have daily
backups of my entire computer system, weekly+ad-hoc monthly backups and
sets on different computers.

Remember that it might take you a few days or even a week to notice a
file has gone missing or the database has become corrupt. The only way
to recover from this situation is going back to a previous backup.

The method you use to backup is personal and usually dictated by your
skill and experience. Recommendations for what program to use will
result in many responses for a wide variety of applications. If you are
on Linux, look into your repositories for suggestions and trial a few
applications.

Personally I use rsync within a script... the actual command is...

rsync -rltvz --stats --delete --ignore-errors $FROM $TO

--
Cheers Simon

    Simon Cropper - Open Content Creator

    Free and Open Source Software Workflow Guides
    ------------------------------------------------------------
    Introduction               http://www.fossworkflowguides.com
    GIS Packages           http://www.fossworkflowguides.com/gis
    bash / Python    http://www.fossworkflowguides.com/scripting
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Best Way to Backup

Henrique Santos Fernandes
Thanks.

So just to confirm, i have digikam.db for each album i add?

i am thinking then, is better to have multiple albuns  inside Images folder. So if something happend with that album i don't lose all data that is in that db. right?

I wish we could add metadata to the videos.

I am starting to move away from shotwell, but will be a pain to add tags to the videos.

I use rsync to backup all my data. i don't realy use --delete so i dont lose anything..  i don't have versioning.. only a copy.

Thanks again, i am testing digikam until version 4.0 is out!! in the so i am testing all functions!



[]'sf.rique
Henrique Santos Fernandes


On Thu, Feb 13, 2014 at 9:45 PM, Simon Cropper <[hidden email]> wrote:
On 13/02/14 13:30, Henrique Santos Fernandes wrote:
Hello,

How is the best way to backup Digikam?

I mostly use image tags and its configured to apply to the image. But
for vídeos i guess it does not work.

I am also thinking of using digikam in mysql. If so the backup would be
only the database and pictures?

Thanks

[]'sf.rique
Henrique Santos Fernandes


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


Henrique,

DigiKam works with albums, which are really just directories, when not using MySQL your database usually resides in the top album you identify.
Personally I have one root album 'images' above my home, work and other albums.

I save my metadata to file (if JPG) but also XMP files (if NEF). If you have videos the metadata for these will be stored database but not on the file or in a XMP file.

In order to back up these files treat them like any other file. Backup the root directory with whatever backup system you currently use to save your electronic files. Ensure you keep several sets -- I have daily backups of my entire computer system, weekly+ad-hoc monthly backups and sets on different computers.

Remember that it might take you a few days or even a week to notice a file has gone missing or the database has become corrupt. The only way to recover from this situation is going back to a previous backup.

The method you use to backup is personal and usually dictated by your skill and experience. Recommendations for what program to use will result in many responses for a wide variety of applications. If you are on Linux, look into your repositories for suggestions and trial a few applications.

Personally I use rsync within a script... the actual command is...

rsync -rltvz --stats --delete --ignore-errors $FROM $TO

--
Cheers Simon

   Simon Cropper - Open Content Creator

   Free and Open Source Software Workflow Guides
   ------------------------------------------------------------
   Introduction               http://www.fossworkflowguides.com
   GIS Packages           http://www.fossworkflowguides.com/gis
   bash / Python    http://www.fossworkflowguides.com/scripting
_______________________________________________
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: Best Way to Backup

Jürgen Karbach
In reply to this post by Simon Cropper-3
Hello,

I‛m trying „bup‟ with „kup‟ as UI.
bup is git-based, can be automated and uses hardlinks to get small backup
files. I‛ll see, if it matches it‛s promises.

Btw., how are you recording your work between the backups?
Is there a logging capability?
Good to know, which files are affected.
Better to know, which steps has been done to each file.

I am dreaming of a detailed record of all steps,
that will be work like a script or batch if needed.
Yes, I know I‛m lazy. ;) (sorry, I like it convenient)
--
H. Jürgen Karbach

Am Freitag, 14. Februar 2014, 10:45:52 schrieb Simon Cropper:

> On 13/02/14 13:30, Henrique Santos Fernandes wrote:
> > Hello,
> >
> > How is the best way to backup Digikam?
> >
> > I mostly use image tags and its configured to apply to the image. But
> > for vídeos i guess it does not work.
> >
> > I am also thinking of using digikam in mysql. If so the backup would be
> > only the database and pictures?
> >
> > Thanks
> >
> > []'sf.rique
> > Henrique Santos Fernandes
> >
> >
> > _______________________________________________
> > Digikam-users mailing list
> > [hidden email]
> > https://mail.kde.org/mailman/listinfo/digikam-users
>
> Henrique,
>
> DigiKam works with albums, which are really just directories, when not
> using MySQL your database usually resides in the top album you identify.
> Personally I have one root album 'images' above my home, work and other
> albums.
>
> I save my metadata to file (if JPG) but also XMP files (if NEF). If you
> have videos the metadata for these will be stored database but not on
> the file or in a XMP file.
>
> In order to back up these files treat them like any other file. Backup
> the root directory with whatever backup system you currently use to save
> your electronic files. Ensure you keep several sets -- I have daily
> backups of my entire computer system, weekly+ad-hoc monthly backups and
> sets on different computers.
>
> Remember that it might take you a few days or even a week to notice a
> file has gone missing or the database has become corrupt. The only way
> to recover from this situation is going back to a previous backup.
>
> The method you use to backup is personal and usually dictated by your
> skill and experience. Recommendations for what program to use will
> result in many responses for a wide variety of applications. If you are
> on Linux, look into your repositories for suggestions and trial a few
> applications.
>
> Personally I use rsync within a script... the actual command is...
>
> rsync -rltvz --stats --delete --ignore-errors $FROM $TO

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

Re: Best Way to Backup

Marcel Wiesweg
In reply to this post by Henrique Santos Fernandes

> So just to confirm, i have digikam.db for each album i add?

If you use SQLite, there is one single (*) database file for everything.
The location of this file is flexible, but I believe most users keep it in
their album root directory.

(*) unless you manually enabled WAL http://www.sqlite.org/wal.html
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users