git diff cfg.d/database.pl | patch -R -p1
+ git commit -m "$from configuration changes" -a
+
echo "Modify databse for $from shema"
$bin/epadmin update $to
#$bin/epadmin erase_data $to
+ echo "Importing data to $to"
$bin/import --verbose $to user XML $dir/$from.user.xml
$bin/import_subjects --verbose --xml $to $dir/$from.subject.xml
$bin/import --verbose $to eprint XML $dir/$from.archive.xml