create backup in local tmp dir before moving to final location