save/restore volume and last directory