On Sunday, April 28, 2019 12:58:12 AM CEST Stefan Klinger wrote:
> Hi, and thank you very much for the much clearer UI in 2.7.
>
> Two questions:
>
> 1.
> Is it reasonable to upgrade from 2.6 to 2.7 for daily use? I'm
> especially wary about running into a situation where I'd like to
> downgrade, but the XMPs have been changed by darktable, and the
> older/stable version would not be able to read them any more.
If you run the developer version you need to always backup your database, I'm
doing that using a script:
cat bin/darktable
#!/bin/bash
dt_db_files="data.db library.db"
dt_config_dir="$HOME/.config/darktable"
dt_backup_dir="$dt_config_dir/backup"
today=$(date +"%Y-%m-%d")
_backupdir="$dt_backup_dir/$today"
if [ ! -d "$_backupdir" ]; then
mkdir -p $_backupdir
for f in $dt_db_files; do
cp "$dt_config_dir/$f" "$_backupdir"
done
find $dt_backup_dir -maxdepth 1 -mtime +30 -type d | xargs rm -rf
fi
/usr/bin/darktable $@
This keeps copies of the databases for the last 30 days.
Also you should create a git repo in your pictures directory and check all XMP
files into git! So in cases something goes wrong you can go back!
Andreas
--
Andreas Schneider [email protected]
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to [email protected]