Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Sep 15, 2009 9:36 pm 
Offline
Senior Newbie

Joined: Sun Sep 06, 2009 2:42 am
Posts: 19
Honestly I search here for the answer before asking such a simple question.

I see that there are post about moving you VM to a local machine does that include the key? Or isn't there a simple way to do it?

Anyone?


Top
   
PostPosted: Tue Sep 15, 2009 10:25 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
jjeffus wrote:
… does that include the key?

Key?

_________________
/ Peter


Top
   
PostPosted: Wed Sep 16, 2009 11:39 am 
Offline
Senior Newbie

Joined: Sun Sep 06, 2009 2:42 am
Posts: 19
pclissold wrote:
jjeffus wrote:
… does that include the key?

Key?


Hint, clue, method, example.


Top
   
 Post subject:
PostPosted: Wed Sep 16, 2009 2:46 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
Still not sure I understand the question. Is this what you're looking for?

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Wed Sep 16, 2009 3:18 pm 
Offline
Senior Newbie

Joined: Sun Sep 06, 2009 2:42 am
Posts: 19
pclissold wrote:
Still not sure I understand the question. Is this what you're looking for?


That is what I was hoping to NOT have to do.

Seems like a very convoluted process to just BU a disk image.


Top
   
 Post subject:
PostPosted: Wed Sep 16, 2009 3:24 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
When I want to image a disk, I just do something like this:

pv /dev/sda | nc 1.2.3.4 1234

And on the receiving end:

nc -l 1234 > /foo/bar/my.img

It's about as dead-simple as it can get. Keeping in mind that all the parameters I've given here are just samples, and a linode doesn't use /dev/sda but something else (was it /dev/xva or something?)

If you want to get a bit fancier, you can pipe it through gzip (or pigz to use multiple cores) on the sending end and optionally decompress on the receiving end.


Top
   
 Post subject:
PostPosted: Wed Sep 16, 2009 3:25 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
*dupe*


Last edited by Guspaz on Wed Sep 16, 2009 3:32 pm, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Wed Sep 16, 2009 3:28 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
*dupe*


Last edited by Guspaz on Wed Sep 16, 2009 3:32 pm, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Wed Sep 16, 2009 3:28 pm 
Offline
Senior Newbie

Joined: Sun Sep 06, 2009 2:42 am
Posts: 19
pclissold wrote:
Still not sure I understand the question. Is this what you're looking for?


That is what I was hoping to NOT have to do.

Seems like a very convoluted process to just BU a disk image.


Top
   
 Post subject:
PostPosted: Wed Sep 16, 2009 3:30 pm 
Offline
Senior Newbie

Joined: Sun Sep 06, 2009 2:42 am
Posts: 19
Guspaz wrote:
When I want to image a disk, I just do something like this:

pv /dev/sda | nc 1.2.3.4 1234

And on the receiving end:

nc -l 1234 > /foo/bar/my.img

It's about as dead-simple as it can get. Keeping in mind that all the parameters I've given here are just samples, and a linode doesn't use /dev/sda but something else (was it /dev/xva or something?)

If you want to get a bit fancier, you can pipe it through gzip (or pigz to use multiple cores) on the sending end and optionally decompress on the receiving end.


This is the type thing I was looking for thanks a million.

I'll give it a whirl.


Top
   
 Post subject:
PostPosted: Wed Sep 16, 2009 3:31 pm 
Offline
Senior Member

Joined: Mon Oct 27, 2008 10:24 am
Posts: 173
Website: http://www.worshiproot.com
Could you clarify what "BU" means?

I assume it's "back up", but since you just started using it without defining what it meant, I just wanted to make sure...

~JW


Top
   
 Post subject:
PostPosted: Wed Sep 16, 2009 5:58 pm 
Offline
Senior Newbie

Joined: Sun Sep 06, 2009 2:42 am
Posts: 19
JshWright wrote:
Could you clarify what "BU" means?

I assume it's "back up", but since you just started using it without defining what it meant, I just wanted to make sure...

~JW


Yep, BU = back up


Top
   
 Post subject:
PostPosted: Fri Sep 18, 2009 9:12 pm 
Offline
Senior Newbie

Joined: Sun Sep 06, 2009 2:42 am
Posts: 19
OK, I am trying this but don't find a pv command and it is
not in the FEDORA 11man-pages in the instance I installed here.

Can anyone point me to the pv command? Is it pv inside of lvm?

TIA


Top
   
 Post subject:
PostPosted: Fri Sep 18, 2009 9:32 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
Nothing to do with LVM. pv is Pipe Viewer.

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Fri Sep 18, 2009 9:33 pm 
Offline
Senior Newbie

Joined: Sun Sep 06, 2009 2:42 am
Posts: 19
Ha hahahah.

I gotta change my local firewall to do this. :lol:

>Nothing to do with LVM. pv is Pipe Viewer.

Thanks. I found it while you were typing. Thanks.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: nqservices and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group