backup folders
restore_folder function