scripts to dump/load database and keep local changes (redmine #1903)