Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Backup Linux System

  1. #1
    Member registered user
    Join Date
    Nov 2004
    Location
    Queretaro Mexico
    Posts
    36

    Backup Linux System

    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.

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    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.

  3. #3
    Member registered user
    Join Date
    Nov 2004
    Location
    Queretaro Mexico
    Posts
    36
    I used partimage like you sayed, and it work ok. Thanks for the tip...

  4. #4
    Senior Member registered user
    Join Date
    Dec 2004
    Location
    Dublin, OH
    Posts
    342

    RE: BACKUPS, What's the Trick?

    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

  5. #5
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    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

  6. #6
    Member registered user
    Join Date
    Jan 2005
    Location
    Oregon
    Posts
    44
    The liveCD asked for a password???

    That's a bit strange....

  7. #7
    Senior Member registered user
    Join Date
    Dec 2004
    Location
    Dublin, OH
    Posts
    342

    Got Partimage Going

    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

  8. #8
    Senior Member registered user
    Join Date
    Dec 2004
    Location
    Dublin, OH
    Posts
    342

    Cloned it!

    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

  9. #9
    Senior Member registered user
    Join Date
    Aug 2003
    Location
    Dublin, Ireland
    Posts
    164

    Re: Cloned it!

    Quote Originally Posted by sakiZ
    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!
    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).

    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!

  10. #10
    Senior Member registered user
    Join Date
    Dec 2004
    Location
    Dublin, OH
    Posts
    342

    Backups

    <<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

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 12-14-2005, 08:36 AM
  2. Backup Program for Knoppix HDD Installed System
    By Cuddles in forum General Support
    Replies: 9
    Last Post: 11-26-2004, 10:57 PM
  3. the best backup system for knoppix?
    By helios17 in forum General Support
    Replies: 12
    Last Post: 10-28-2004, 12:47 PM
  4. Linux on old system
    By Jaguar600 in forum General Support
    Replies: 5
    Last Post: 09-27-2004, 10:34 PM
  5. Knoppix Live CD-Entire windows system backup to DVD via USB
    By mconzo in forum MS Windows & New to Linux
    Replies: 4
    Last Post: 09-06-2004, 02:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


SFP-10G-LR Compatible 10GBase-LR SFP+ LR Transceiver 10G 1310nm SMF up ot 10km picture

SFP-10G-LR Compatible 10GBase-LR SFP+ LR Transceiver 10G 1310nm SMF up ot 10km

$45.00



Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24 picture

Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24

$117.00



Allen-Bradley 1783-SFP1GSX Compatible 1000BASE-SX SFP 850nm 550m Transceiver-895 picture

Allen-Bradley 1783-SFP1GSX Compatible 1000BASE-SX SFP 850nm 550m Transceiver-895

$65.50



Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03  picture

Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03

$8.00



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$18.00



Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC picture

Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC

$13.89



Cisco QSFP-40G-SR-BD BiDi Short-reach Transceiver, 1 Year Warranty picture

Cisco QSFP-40G-SR-BD BiDi Short-reach Transceiver, 1 Year Warranty

$17.25



Cisco Meraki MA-SFP-10GB-SR 10G SFP+ SR 850nm 300m LC MMF picture

Cisco Meraki MA-SFP-10GB-SR 10G SFP+ SR 850nm 300m LC MMF

$29.99



LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module picture

LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module

$89.00