From: "Mark Knecht" <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] tar a brand new Gentoo install to a USB drive for safe keeping?
Date: Sun, 4 May 2008 19:54:26 -0700 [thread overview]
Message-ID: <5bdc1c8b0805041954m8c962c5v51884223bc426219@mail.gmail.com> (raw)
In-Reply-To: <5bdc1c8b0805041820h4b9b75d2k3152910ad4f38636@mail.gmail.com>
On Sun, May 4, 2008 at 6:20 PM, Mark Knecht <markknecht@gmail.com> wrote:
> On Sun, May 4, 2008 at 5:41 PM, Mark Shields <laebshade@gmail.com> 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
next prev parent reply other threads:[~2008-05-05 3:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-04 1:06 [gentoo-user] tar a brand new Gentoo install to a USB drive for safe keeping? Mark Knecht
2008-05-04 10:21 ` Jil Larner
2008-05-04 12:29 ` Neil Bothwick
2008-05-04 15:25 ` Mark Knecht
2008-05-04 23:12 ` Mark Knecht
2008-05-05 0:41 ` Mark Shields
2008-05-05 1:20 ` Mark Knecht
2008-05-05 2:54 ` Mark Knecht [this message]
2008-05-05 4:04 ` Ian Graeme Hilt
2008-05-05 8:37 ` Neil Bothwick
2008-05-05 12:17 ` Ian Graeme Hilt
2008-05-05 12:35 ` Neil Bothwick
2008-05-06 12:40 ` [gentoo-user] " Michael Schmarck
2008-05-06 21:33 ` Neil Bothwick
2008-05-08 8:00 ` [gentoo-user] " Michael Schmarck
2008-05-07 16:01 ` [gentoo-user] " Steven Lembark
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5bdc1c8b0805041954m8c962c5v51884223bc426219@mail.gmail.com \
--to=markknecht@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox