Fix the backup during setup to work with custom targets