Linode Forum Index Linode Forum
Linode Community Forums
 


How can you download (BU) a disk image?

Click here to go to the original topic
Goto page 1, 2  Next
 
       Linode Forum Index -> General Discussion
Author Message
jjeffus



Joined: 06 Sep 2009
Posts: 19

Posted: Tue Sep 15, 2009 8:36 pm    Post subject: How can you download (BU) a disk image?  

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?
Back to top  
pclissold



Joined: 24 Oct 2003
Posts: 877
Location: Netherlands

Posted: Tue Sep 15, 2009 9:25 pm    Post subject: Re: How can you download (BU) a disk image?  

jjeffus wrote: … does that include the key?
Key?
Back to top  
jjeffus



Joined: 06 Sep 2009
Posts: 19

Posted: Wed Sep 16, 2009 10:39 am    Post subject: Re: How can you download (BU) a disk image?  

pclissold wrote: jjeffus wrote: … does that include the key?
Key?

Hint, clue, method, example.
Back to top  
pclissold



Joined: 24 Oct 2003
Posts: 877
Location: Netherlands

Posted: Wed Sep 16, 2009 1:46 pm    Post subject:  

Still not sure I understand the question. Is this what you're looking for?
Back to top  
jjeffus



Joined: 06 Sep 2009
Posts: 19

Posted: Wed Sep 16, 2009 2:18 pm    Post subject:  

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.
Back to top  
Guspaz



Joined: 26 May 2009
Posts: 1147
Location: Montreal, QC

Posted: Wed Sep 16, 2009 2:24 pm    Post subject:  

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.
Back to top  
Guspaz



Joined: 26 May 2009
Posts: 1147
Location: Montreal, QC

Posted: Wed Sep 16, 2009 2:25 pm    Post subject:  

*dupe*
Back to top  
Guspaz



Joined: 26 May 2009
Posts: 1147
Location: Montreal, QC

Posted: Wed Sep 16, 2009 2:28 pm    Post subject:  

*dupe*
Back to top  
jjeffus



Joined: 06 Sep 2009
Posts: 19

Posted: Wed Sep 16, 2009 2:28 pm    Post subject:  

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.
Back to top  
jjeffus



Joined: 06 Sep 2009
Posts: 19

Posted: Wed Sep 16, 2009 2:30 pm    Post subject:  

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.
Back to top  
JshWright



Joined: 27 Oct 2008
Posts: 173

Posted: Wed Sep 16, 2009 2:31 pm    Post subject:  

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
Back to top  
jjeffus



Joined: 06 Sep 2009
Posts: 19

Posted: Wed Sep 16, 2009 4:58 pm    Post subject:  

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
Back to top  
jjeffus



Joined: 06 Sep 2009
Posts: 19

Posted: Fri Sep 18, 2009 8:12 pm    Post subject:  

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
Back to top  
pclissold



Joined: 24 Oct 2003
Posts: 877
Location: Netherlands

Posted: Fri Sep 18, 2009 8:32 pm    Post subject:  

Nothing to do with LVM. pv is Pipe Viewer.
Back to top  
jjeffus



Joined: 06 Sep 2009
Posts: 19

Posted: Fri Sep 18, 2009 8:33 pm    Post subject:  

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.
Back to top  
 
       Linode Forum Index -> General Discussion Goto page 1, 2  Next
Page 1 of 2