mkdir backup and swap