real backup script (not tested)