Updated db-backup to detect working dir differently.