set backup and swap