From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from server1.shellworld.net (shellworld.net [69.60.117.94]) by speech.braille.uwo.ca (Postfix) with ESMTP id 4242F10AB2 for ; Wed, 31 Dec 2008 20:10:23 -0500 (EST) Received: from chihuahuad1 (adsl-70-241-98-62.dsl.hstntx.swbell.net [70.241.98.62]) by server1.shellworld.net (Postfix) with SMTP id 75AD02284E for ; Wed, 31 Dec 2008 19:10:22 -0600 (CST) Message-ID: <3EEB4420FDA04CF8BFE85C320BD672E0@chihuahuad1> From: "Nick Gawronski" To: Subject: making a backup of my linux filesystem with tar and bz2 Date: Thu, 1 Jan 2009 01:10:19 -0600 Organization: Chihuahua Radio MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Antivirus: avast! (VPS 081231-0, 12/31/2008), Outbound message X-Antivirus-Status: Clean X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Nick Gawronski , "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2009 01:10:23 -0000 Hi, I was wanting to backup my linux system running debian unstable so I can keep a backup off of my system before I start installing lots of software I want to be able to quickly restore to a usable state with out reinstalling everything. I want to make a backup of just one partition as I have linux on one partition and will be saving the backup to an USB flash drive that will be mounted as well. What I don't want to happen is for the tar program to also backup all mount points and their contents but I do want it to backup the directories on my ext3 filesystem and the directories for the mount points so when I restore the backup there will be empty directories for my USB flash drives and not directories with all of the contents from the drive when the backup was made. What would be the best command to do this and use bzip2 with the minus 9 compression option and preserve permitions and directory structure?