[ale] Tarring Root FS

Christopher Fowler cfowler at outpostsentinel.com
Fri Dec 9 16:16:49 EST 2005


mksysb is an AIX utility and I'm trying to replicate it on Linux for CD-
ROM.  Mine is different and made specifically for our servers.

On Fri, 2005-12-09 at 16:11 -0500, Jerald Sheets wrote:
> Too bad you weren't using mksysb itself.  It has within it the  
> ability to skip directories you spec in a file.  You can also tell it  
> not to make bootable, thus (in effect) having a full backup minus the  
> directory you specify on a non-bootable tape.
> 
> I always do mksysb -i /dev/rmt0 .
> 
> Good luck!
> 
> 
> Jerald M. Sheets jr.
> Sr. UNIX Systems Administrator
> The Weather Channel Interactive
> 404.293.8762
> 
> 
> 
> On Dec 9, 2005, at 3:27 PM, Paul Cartwright wrote:
> 
> > On Fri December 9 2005 3:12 pm, Christopher Fowler wrote:
> >> I'm trying to make a backup of my hard drive without including the
> >> directory /mksysb.  Tar keeps pulling files from that directory.
> >>
> > man tar:
> >
> >  --exclude=FILE
> >               exclude file FILE
> >
> >        -X, --exclude-from=FILE
> >               exclude files listed in FILE
> >
> > and info tar:
> >
> > `--exclude=PATTERN'
> >      When performing operations, `tar' will skip files that match
> >      PATTERN.
> >
> > `--exclude-from=FILE'
> > `-X FILE'
> >      Similar to `--exclude', except `tar' will use the list of  
> > patterns
> >      in the file FILE.
> >
> > `--exclude-caches'
> >      Automatically excludes all directories containing a cache
> >      directory tag.
> >
> > another way would be to specify files:
> > --file=ARCHIVE'
> > `-f ARCHIVE'
> >      `tar' will use the file ARCHIVE as the `tar' archive it performs
> >      operations on, rather than `tar''s compilation dependent default.
> >
> > `--files-from=FILE'
> > `-T FILE'
> >      `tar' will use the contents of FILE as a list of archive members
> >      or files to operate on, in addition to those specified on the
> >      command-line.
> >
> > ------
> > dontcha just HATE man pages???? you really have to know what you want
> > before you look for it!
> >
> > -- 
> > Paul Cartwright
> > Registered Linux user # 367800
> >  X-Request-PGP: http://home.bellsouth.net/p/PWP-pcartwright/key.asc
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale




More information about the Ale mailing list