Hi Benjamin, Jochen Keil,
i use 2 scripts under Ubuntu 16.04 to keep 2 machines in sync - change
my username <hb> to your username in pathnames:
backup:
--------------------
#!/bin/bash
# rsync all files form local disk with digital photos to backup-disk
(USB or network)
# set base path of the digi base dir directory
DIGIDIR=/media/hb/spinning/digi
DARKDIR=/home/hb/.config/darktable
CACHEDIR=/home/hb/.cache/darktable
# set base path of external USB disk
BACKUPDIR=/media/hb/hbeasydock

# set options
SYNCOPTIONS="-aihP --delete --stats "
# rsnc different folders

# digi raws
rsync $SYNCOPTIONS $DIGIDIR $BACKUPDIR/
# darktable database
rsync $SYNCOPTIONS $DARKDIR $BACKUPDIR/darkdb
# darktable cache
rsync $SYNCOPTIONS $CACHEDIR $BACKUPDIR/darkcache
read -p "press return"
------------------- - save as backup.sh and set to permissions to 'allow
executing file as executable' -----------
restore:
-------------------------------
#!/bin/bash
# rsync all files form backup to local disk with digital photos
# set base path of the digi base dir directory
DIGIDIR=/media/hb/hbdock/digi
DARKDIR=/home/hb/.config
DARKBAK=/media/hb/hbdock/darkdb/darktable
# set base path of local drive disk
BACKUPDIR=/media/hb/spinning

# set options
SYNCOPTIONS="-aihP --delete --stats "
# rsnc different folders

# digi raws
rsync $SYNCOPTIONS $DIGIDIR $BACKUPDIR
# darktable database
rsync $SYNCOPTIONS $DARKBAK $DARKDIR
#darktable-generate-cache
read -p "press return"
------------------- - save as restore.sh and set to permissions to
'allow executing file as executable' -----------
Kinbd regards,
__horst

> Hi Benjamin,
>
> I just wanted to add another possibility: git annex.
>
> I use it (successfully) for keeping my RAWs, the XMPs and the db in
> sync. Either over network or an external USB hard drive. Once it's set
> up, it's a simple matter of `git annex sync --all` and / or the usual
> git operations. And you can add additional backup locations easily.
>
> Cheers!
>
> On Tue, Apr 2, 2019 at 12:43 AM Benjamin Daines
> <ben@digitalsand.photography> wrote:
>> In my workflow I find myself using multiple machines to work on the same 
>> images. My configuration right now on both machines is to have DT look for 
>> updated xmp files on start up and that seems to work pretty well. I usually 
>> just ignore the window that pops up to tell me about newer xmp files, unless 
>> the ones that I'm about to work on are listed, then I select those and let 
>> it update the database.
>>
>> However, there have been some situations where my previous work has been 
>> wiped out when opening a folder on another machine. Because of this, I now 
>> habitually copy all my xmp files to a subfolder after working on them in 
>> order to keep a back up, just in case. Occasionally I need to manually load 
>> these sidecar files.
>>
>> Would an option to disable darktable's database and use just the xmp files 
>> be a feasible option? How about using something like syncthing (Linux 
>> platform here) to keep the database synced between multiple machines? Would 
>> doing that cause any foreseeable issues?
>>
>> How are other people dealing with using multiple machines to work on 
>> projects, any tips?
>>
>> Thanks.
> ____________________________________________________________________________
> darktable user mailing list
> to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
>

-- 


ec-logic GmbH
h...@ec-logic.com
www.ec-logic.com
Theresienstraße 12
90762 Fürth, germany
++49 911 9711910

____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Reply via email to