added timestamp, fixed backup bug