geekvenue.net

Welcome to Chucktips HELP WITH DEAD OS Hardware Installing FreeBSD Miscellaneous
 faq
 search
 add article
 cool-stuff
 how-to
 main
 tips
 parent


Re: HOWTO: Backup files with tar
by Shawn on Wednesday July 16, @11:15AM
Is it possible to exclude directories while 'taring' I would like to tar my entire /home directory with many user directories and exclude one of those directories. I have been using tar and ssh together to back up a 40G /home partition onto a separate remote machine with a removable harddrive of 20G. Yesterday the gzipped tarball finally made it over the 20G mark. ther is one directory /home/unwanted_dir that is 8G that I don't need to back up. Shawn
Related Links
  • Articles on Backup and Restore
  • Also by Shawn
  • Contact author
  • ThinkGeek

    Sponsors

    The Fine Print: The following comments are owned by whoever posted them.
    ( Add a Reply )

    Re: HOWTO: Backup files with tar
    by John McFarlane on Wednesday August 20, @11:44AM
    yes, you can use --exclude here is a quick example: tar pzcvf /usr/_usr.tar.gz --exclude /usr/_usr.tar.gz /usr
    [ Add a Reply to this ]
    The Fine Print: The following comments are owned by whoever posted them.
    ( Article Reply )

    "You never know how many friends you have until you own a Condo on the beach." -- Jason's Postulate

    Powered by Zope  Powered by Apache  Squishdot Powered
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©2001 Jason Neumann.
    [ main | post article | search ]