Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Lets say I create a dump of a block device like so

dump -0 -A L0.archive -f L0.dump /dev/sde1

Now in this case sde1 is not mounted, as to not be live. So how can I restore sde1 from the other partition while sde1 is unmounted.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

The standard process for restoring from a dump file is to recreate the filesystem (mkfs), then restore into the freshly-created filesystem.

If liveness of the filesystem is a concern (but it's not a critical fs like root, /usr, or /var) then you can mount the new fs away from where something would go looking for it, and remount it at its proper spot once the restore is complete.

share|improve this answer
    
I am asking how does one restore to the newly created file system. –  Recursion Oct 4 '10 at 10:03
    
To restore the whole level-0 dump, cd into the new filesystem and run 'restore -r -f L0.dump' –  techieb0y Oct 4 '10 at 12:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.