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.

I'm a dev new to sysadmin, armed with root access to a linux box. I want to practice a bit on the configuration in a local virtual machine.

What setup would I need to do this?

My current idea is:

  1. Export server file system as an image
  2. Transfer image to local system
  3. Load image on a vm
  4. Play.
  5. Deploy

I suspect I'm missing something, but I wanted to see if the community had any guidance so I don't brick the systems!

Thanks, as always.

Update (Things I'm working on):

  • sshfs user@host:/remote/path /local/path
  • next: dd (but it's giving me problems b/c /local/path is a directory and not a device.
  • similar to this ServerFault post, but mine is remote, and I need to get it to a virtualbox-readable format.
  • is this even possible? I shouldn't be able to unmount the partition to back it up. So there should be files which I simply cannot back up. This makes my task futile, no?
share|improve this question

1 Answer 1

May or may not work, but you could try installing the basic OS on your local vm, then load a LiveCD and use rsync on the remote machine to sync the entire remote root to the root on the local machine.

share|improve this answer

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.