On Wed, 20 Sep 2000, Marshall, Joshua wrote:

> I'm wanting to back up the Mail directories of all the users on my 
> server, and leave all their other files for a separate backup. Can I do 
> this with tar? And what would the flags be?
> 
> The Maildirs are kept in their home directories, along with all their 
> working files, so I want to be able to have a backup which stores:
> User1/
>      Maildir/
>           cur/
>           new/
>           tmp/
> User2/
>      Maildir/
>           cur/
>           new/
>           tmp/

It's scripty-time again, kids!


 cd /home 
 tar cf mailbackups.tar
 find . -name Maildir | xargs  tar rf mailbackups.tar 


--
Rick Welykochy || Praxis Services




--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to