On Sat, 26 Mar 2005 21:36, Jamie Dobbs wrote:
> I would like to set up a simple "backup script" that will tar/gzip the
> contents of the ~/Maildir directories of several users on one of my
> Linux boxes.
> What is the best way to do this so that I preserve ownership/groups etc.
> so that when I need to restore it is a trivial process? Keep in mind
> that each ~/Maildir can have multiple hidden sub-directories.
man find
man cpio
man gzip

you can do it with tar, but imho cpio is _far_ more convenient.

--
C. S.

Reply via email to