View previous topic :: View next topic |
Author |
Message |
Gr0m1t n00b
Joined: 24 Aug 2004 Posts: 37 Location: MN
|
Posted: Mon Sep 20, 2004 2:14 pm Post subject: iso of final install? |
|
|
hey guys i finally got everything setup the way i need it on my server...
is there a way to make a backup iso of my install?
thanks
(as in if server crashes and i lose everything i want an iso of the install) |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Mon Sep 20, 2004 2:22 pm Post subject: |
|
|
Of course, but on what medium did you intend to burn this ?
How much GBs are in use for your system ? _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
Gr0m1t n00b
Joined: 24 Aug 2004 Posts: 37 Location: MN
|
Posted: Mon Sep 20, 2004 2:35 pm Post subject: |
|
|
I wanted to put it on a CD
How do I check how much space I am currently using?
I have a drive with just the OS on it and other drives with data on them. I just want to make an ISO for the OS drive. |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Mon Sep 20, 2004 2:55 pm Post subject: |
|
|
df -h will tell you your free disk space... _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
Gr0m1t n00b
Joined: 24 Aug 2004 Posts: 37 Location: MN
|
Posted: Mon Sep 20, 2004 3:24 pm Post subject: |
|
|
Well I guess I'm using 1.8GB
How could I save an image of this in case the HD dies?
I've tried Ghost but it gives me errors reading right away. I know it's not the HD cause ghost gave me the same errors on another Gentoo install on a different HD. |
|
Back to top |
|
|
mascer n00b
Joined: 19 Sep 2004 Posts: 1 Location: Austria
|
|
Back to top |
|
|
Snooper Apprentice
Joined: 02 May 2004 Posts: 182 Location: San Antonio, TX
|
Posted: Mon Sep 20, 2004 6:40 pm Post subject: |
|
|
just do a tar -cf myimage.tar ./* from the livecd without proc mounted and backup to a tar then bzip2 it and burn to a cd and put it away thats what i do. _________________ ftp://lila-project.ath.cx |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Tue Sep 21, 2004 7:33 am Post subject: |
|
|
Snooper wrote: | Code: | tar -cf myimage.tar ./* |
|
How about
Code: | tar -cjf image.tar.bz2 /mnt/gentoo/* |
?
Snooper wrote: | from the livecd without proc mounted and backup to a tar then bzip2 it and burn to a cd and put it away thats what i do. |
1.8 GB to one cd ? Neato !
In other words - no, not likely. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
kohno Tux's lil' helper
Joined: 28 Aug 2004 Posts: 112
|
Posted: Tue Sep 21, 2004 3:04 pm Post subject: |
|
|
I think it's possible to backup to mutiple CDs, I've seen some posts here, but can't seem to find them. |
|
Back to top |
|
|
Hauser l33t
Joined: 27 Dec 2003 Posts: 650 Location: 4-dimensional hyperplane
|
Posted: Tue Sep 21, 2004 4:50 pm Post subject: |
|
|
This is how I backup my system:
Boot with your LiveCD or Knoppix, mount the root partition at: /mnt/gentoo. If you have independent
partitions for /boot, /usr, etc, mount them at /mnt/gentoo/boot, /mnt/gentoo/usr,etc respectively. Then:
Code: | # cd /mnt/gentoo
# tar -cz --exclude-from /mnt/gentoo/root/exclude-list -pivO * | split -a 1 -b 700m - /path/to/mybackup.tar.gz-
|
You'll get several tarballs such as mybackup.tar.gz-a, mybackup.tar.gz-b, and so on, each of them
<=700MB (for CD burning). The file 'exclude-list' should be something like this (your current directory
is /mnt/gentoo):
Code: | usr/portage/distfiles
var/tmp/portage
home/yourusername/music
home/yourusername/video
|
Note: You should have enough space for the generated tarballs.
To restore, make a filesystem on all the relevant partitions first, mount them properly (as described
above), then:
Code: | # cd /mnt/gentoo
# cat /path/to/mybackup.tar.gz-* | tar xzvpf -
|
Of course, if you only have one tarball, you may just:
Code: |
# cd /mnt/gentoo
# tar xzpvf /backup/gentoo-hda13.tar.gz
|
If necessary, you may also need to chroot and reinstall grub. _________________ AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl
Do I like to compile everything?
Positive definite!
Last edited by Hauser on Thu Dec 30, 2004 6:18 am; edited 1 time in total |
|
Back to top |
|
|
hw-tph l33t
Joined: 08 Jan 2004 Posts: 768 Location: Uppsala, Sweden
|
Posted: Tue Sep 21, 2004 8:44 pm Post subject: |
|
|
Install mondo rescue. It's in portage and will allow you to make a selective or full backup of your system and store it on bootable CDRs or DVDs. I think that's pretty much what you're looking for.
Håkan |
|
Back to top |
|
|
|