fixed path handling on db-copy to remote system