Find the answer to your Linux question:
Results 1 to 3 of 3
Hello Gurus, I am trying to backup an entire server. This server has LVM partitions. I created dump files for each partition. But I am finding it difficult to work ...
  1. #1
    Just Joined!
    Join Date
    Feb 2011
    Posts
    17

    Illegal dumping?

    Hello Gurus,

    I am trying to backup an entire server. This server has LVM partitions.
    I created dump files for each partition.

    But I am finding it difficult to work with LVM and don't want to use LVM in the backup server, so I want to create normal (non-LVM) partition.

    In this case, can I restore the files taken from the LVM partition to a non-LVM partition?

    ex.)
    (1) making dump file:
    Code:
    dump -0uf /dmpfolder/var.dump  /dev/mapper/VolGroup00-LogVolVar
    (2) restoring:
    Code:
    mkdir restore
    mount /dev/sda3  restore  -- suppose sda3 is NOT LVM partitioned
    cd restore
    restore -rf var .dump
    Please advise.
    Thanks.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    By "dump files" I assume you mean bit copies of the partitions that have the LVM data on them? If so, the answer is, I don't think so. You need to backup the file system data itself, not the partitions. Then you will be able to restore the data to non-LVM volumes as needed.

    Ok. Just looked at the man page for the "dump" command. I take back what I said above. You should be able to restore the data to the non-LVM partition/filesystem (it could be a RAID array), assuming it has enough room.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Feb 2011
    Posts
    17
    Yes, Rubberman, I could restore it .. meaning, at the restore time, no error occurred.
    Right now, I am dealing with GRUB error.. but that may be something else.
    Let me close this thread for now.
    Thanks a lot.

Posting Permissions

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