From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JsrH6-0000iQ-CK for garchives@archives.gentoo.org; Mon, 05 May 2008 03:22:00 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E11ABE03BA; Mon, 5 May 2008 03:21:57 +0000 (UTC) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by pigeon.gentoo.org (Postfix) with ESMTP id B2475E03BA for ; Mon, 5 May 2008 03:21:57 +0000 (UTC) Received: by an-out-0708.google.com with SMTP id c28so538956ana.47 for ; Sun, 04 May 2008 20:21:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=idOeHg0kIZOk5DxPfTHo8QFNnZTiwdhK+jtfEBp1x9g=; b=XUlP4Q8jJ7oF62aIhfgRYx15fs4O10173ClJehX9uOpdHPkt2YDYdCzhqJuHyggWge+EP9wp3y0IbfCzUR4BU5bX+p6rapQUzL3j3RPsXm5An1ohn/1USzMAK3+H6o/xHhfWRsoSDlVVVtVEIF4vHpwwsQqmLJb3qVEpCs1Tsvc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BjGZ0Dild27J0yxi92YcqPSrDPqA8lwx4+C+qT4+rqwcrox1OSuWfcf1A7+4ryPBcNxMMbpWwuWsbTyTi4W2RHYQkFuBZkQjAj8C/gatFh0CvRVfqQQQB8/FYAmbwsdoiocQ5DIfCOEmHyV9vqiiBeN/KltBEN9AGWetJIMPAcY= Received: by 10.100.12.1 with SMTP id 1mr7081869anl.35.1209956067016; Sun, 04 May 2008 19:54:27 -0700 (PDT) Received: by 10.100.12.15 with HTTP; Sun, 4 May 2008 19:54:26 -0700 (PDT) Message-ID: <5bdc1c8b0805041954m8c962c5v51884223bc426219@mail.gmail.com> Date: Sun, 4 May 2008 19:54:26 -0700 From: "Mark Knecht" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] tar a brand new Gentoo install to a USB drive for safe keeping? In-Reply-To: <5bdc1c8b0805041820h4b9b75d2k3152910ad4f38636@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5bdc1c8b0805031806k7a14e6d3v910c0957bd514e98@mail.gmail.com> <481D8E3B.10606@gnoo.eu> <5bdc1c8b0805040825w2a647669x15b8762422491655@mail.gmail.com> <5bdc1c8b0805041612j5f958d4cred584a5cfc929efc@mail.gmail.com> <642958cc0805041741k7e200ba2g94568cde645e7385@mail.gmail.com> <5bdc1c8b0805041820h4b9b75d2k3152910ad4f38636@mail.gmail.com> X-Archives-Salt: b4ac398b-e838-4586-acfb-2145fe17bb3c X-Archives-Hash: 5516a5ededc10585036f93e2e3f3eaf4 On Sun, May 4, 2008 at 6:20 PM, Mark Knecht wrote: > On Sun, May 4, 2008 at 5:41 PM, Mark Shields wrote: > > > > Look into what's called a "stage 4 backup": > > http://blinkeye.ch/mediawiki/index.php/GNU/Linux_System_Backup_Script_(stage4) > > > > I've had to actually use it once, and it worked fine. It already excludes > > the appropriate files: > > > > /dev > > /lost+found > > /mnt > > /proc > > /sys > > /tmp > > /usr/portage > > /usr/src > > /var/log > > /var/tmp > > > > /var/db > > /var/cache/edb > > > > It doesn't back up the MBR or the partition tables (primary or logical), > > though you could edit the script to do that. > > > > -- > > - Mark Shields > > Thanks Mark. That looks interesting. > > I'm not clear about the process of actually making the backup. This > get run on a live file system? I suppose the things it excludes if it > does are the things that might be changing? > > - Mark > So I tried this out. Although I had a couple of directory issues getting it ready to go it did run eventually. My issue at this point is a matter of gaining confidence that it backed up the right stuff. Considering my file system usage the file size seems smallish at 1.2G. lightning ~ # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 9.2G 6.5G 2.3G 75% / udev 10M 184K 9.9M 2% /dev /dev/sda6 3.7G 740M 2.8G 21% /usr/src /dev/sda8 14G 11G 2.5G 82% /home shm 497M 0 497M 0% /dev/shm none 497M 0 497M 0% /tmp/jack lightning ~ # The terminal where it ran said it backed up about 3.3GB into a 1.2GB file. My file system usage (for a minimal backup) is roughly the 6.5GB on / since minimal doesn't back up /home and /usr/src which I convieniently have on separate partitions anyway. I wonder if half of that 6.6GB really isn't needed? Anyway, the scripts seemed to have worked, but how to verify? That's the question. Could I restore this backup into a different subdirectory somewhere and then chroot into it? - Mark -- gentoo-user@lists.gentoo.org mailing list