You could use partimage from the CD - without mounting your partition. Or just use the classic unix tools (cpio,tar,dump..). "apropos backup" also mentions mondo & kbackup.
Hi, I wanted to know if you know of any good backup utility. I tryed using partimage, but when I run it it says:
CANNOT BACK UP PARTITION HDA5 BECAUSE ITS MOUNTED
That is my main partition, where knoppix is running. I want to know how to back up my system. If you knwo of another good utility, or how to make this one work I'd really apretiate it.
You could use partimage from the CD - without mounting your partition. Or just use the classic unix tools (cpio,tar,dump..). "apropos backup" also mentions mondo & kbackup.
I used partimage like you sayed, and it work ok. Thanks for the tip...
I tried doing a backup with partimage with the CD (Knoppix 3.7) and the program tells me I must be in root mode.
OK, so I try to get in to root mode (su) and then it asks me for a password.
Hmm, this is the CD I'm using. I didn't know that there was a password on the CD version.
What's the trick here?
sakiZ
Try sudo. I haven't yet seen it fail on me. Or you can boot into text mode which will log you in as root by default. Boot cheat code: knoppix 2
I hope this helps.
James
The liveCD asked for a password???
That's a bit strange....
OK, thanks fo the tips on Partimage, etc.
I got that going.
Once I was in the Partimage menu, and attempted a backup it wanted to create the image file in the same partition as my Knoppix installation.
Well, I really don't want that. I have a blank Linux partion on my alternate drive that I want to create the system image on. But I don't see that Partimage gives me a way to do that.
sakiZ
Hi
I used the DD comand
dd if=/dev/hdb2 of=/dev/hda6
It cloned the partition to my Linux partion on my other drive!!
Better check the docs before you use this one folks!
sakiZ
Yep it's dangerous! Not half as dangerous though if you are doing if=/dev/hdb2 of=/mnt/hda6/hdb2.img which will store the image in a file instead of cloning it to another partition. You can loop mount those images afterwards to extract files from them (mkdir ~/mnt ; mount -o loop /mnt/hda6/hdb2.img ~/mnt), and you can dd them into a partition to make a clone (dd if=/mnt/hda6/hdb2.img /dev/hdb2).Originally Posted by sakiZ
If you want to minimise the filesize of the img by compressing it you should also zero out the free space. Probably not a good idea to try this unless you are sure of your system (and preferably of your backup) EDIT I think some types of filesystems might not like it either, research before you do this /EDIT but you can do "dd if=/dev/zero of=/mnt/hdb2/zero" and it will write one file full of zeros until it runs out of space, then delete the file and do your dd but pipe it through gzip to get a compressed image "dd if=/dev/hdb2 | gzip > /mnt/hda6/hdb2.img.gz". Unfortunately you can't just mount the compressed images though.
Hope you didn't wipe stuff that mattered!
<<Hope you didn't wipe stuff that mattered!>>
No. I had used Partition Magic in Windows XP to create a fresh blank partition to write to.
Thanks for your input on this though. I will investigate doing the dd thing to an image file.
sakiZ
DELL PowerEdge R730XD 24x 2.5" Server Dual 750W Dual Heatsink - BareBones TESTED
$299.99
Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays
$1849.00
CSE-118 Supermicro 1U 3x GPU Server 2.6Ghz 20-C 128GB CX353A 2x1600W PSU Rails
$454.03
Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS
$712.98
Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU
$39.99
Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1
$39.99
Intel SRF8Y Xeon Gold 6242 2.80Ghz 16-Core 22M LGA3647 150W CPU CD8069504194101
$350.00
SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 A Grade Processor
$4.79
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA
$234.98
Intel Xeon Platinum 8168 2.7GHz 24-Core FCLGA3647 Processor SR37J
$394.99