Sorry if this has already been answered, but searching for "user backup" just gives results that seems to deal at a lower level than I think I need...
What I am looking for is a way to backup a users data -- mailbox folders, address book, calendar, briefcase, etc. from the command line on a per-user basis.
I found one command that I think will give me all of the users mail folders:
zmmailbox -z -m email@example.com getRestURL "//?fmt=tgz" > /tmp/account-mailfolders.tgz
(what does getRestURL "//?fmt=tgz" mean anyway?)
But I haven't found the respective commands for the other components of a users environment (address book, calendar, mail/folders, tasks, etc).
I'm not so much worried about an entire account being wiped out as much as I am a user accidentally deleting their own stuff. I think I can cover the larger disasters with my full-system backups. I just dont want to have to recover all users when only one may have accidentally erased their address book.
Anyone have any tips on how I might be able to do this?