Safe and flexible file-system backup/deployment tool