rewritten backup/restore system for using with rsync backup server