Backup Disk Snapshot on Google Compute Engine


Hits: 8811  

Snapshots are stored in Google Cloud Storage, which is secure, incredibly large, and remarkably inexpensive. You might want to think about whether the labor involved in saving snapshots on your local PC, with all the attendant risks of data loss.

For pricing, see
https://cloud.google.com/pricing/cloud-storage. For example, if you have a 10 GB snapshot, that’s going to cost you $0.85/ month.

Overview Google Compute Engine
Overview Google Compute Engine

You can read more about here ….

https://cloud.google.com/pricing/compute-engine

https://developers.google.com/compute/docs/disks

1) Create a snapshot with the gcutil getsnapshot command.

$ gcutil addsnapshot red5 –source_disk red5 –zone us-east1-a

Snapshot Google Compute Engine
Snapshot Google Compute Engine

2) Create a new persistent disk with that snapshot

Disk Google Compute Engine
Disk Google Compute Engine

3) Create an instance with that persistent disk

Instance on Google Compute Engine
Instance on Google Compute Engine

4) Create an image of that instance

Operations Google Compute Engine
Operations Google Compute Engine

5) Save the image on the instance

$ sudo python /usr/share/imagebundle/image_bundle.py -b red5 -o /tmp

6) Download the image of the instance

You can find archived image in current user folder i.e. /home/svnlabs/red5/096df5a918c746f965338bda6b4c886ac4097c08.image.tar.gz

 

Published by

Sandeep Verma

I’m an Entrepreneur. I’m proud to work as Blogger, LAMP Programmer, Linux Admin, Web Consultant, Cloud Manager, Apps Developer, Searcher. Concentrate > Observe > Imagine > Launch

14 thoughts on “Backup Disk Snapshot on Google Compute Engine”

  1. I was curious if you ever considered changing
    the page layout of your blog? Its very well written; I love what youve
    got to say. But maybe you could a little more in the way of content so people could connect with it better.
    Youve got an awful lot of text for only having 1 or two images.
    Maybe you could space it out better?

  2. It’s a shame you don’t have a donate button! I’d without a doubt donate to this fantastic blog!
    I suppose for now i’ll settle for bookmarking and adding your
    RSS feed to my Google account. I look forward to
    new updates and will talk about this blog with my Facebook group.
    Chat soon!

  3. This design is steller! You definitely know how to keep a reader amused.
    Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!) Wonderful job.

    I really enjoyed what you had to say, and more than that, how you presented it.
    Too cool!

  4. Its like you read my mind! You seem to know so much about this, like you wrote the book
    in it or something. I think that you can do with some pics to
    drive the message home a bit, but instead of that, this is magnificent blog.
    An excellent read. I will certainly be back.

  5. Excellent blog here! Also your site loads up very fast!
    What host are you using? Can I get your affiliate link to
    your host? I wish my website loaded up as quickly as yours lol

  6. I’ve been exploring for a bit for any high-quality articles or weblog posts on this sort of space .
    Exploring in Yahoo I at last stumbled upon this web site.
    Studying this information So i am satisfied to exhibit that I
    have an incredibly excellent uncanny feeling I found out
    exactly what I needed. I so much definitely will
    make sure to don?t fail to remember this website and provides it a glance regularly.

  7. Nice post. I learn something totally new and challenging on blogs I stumbleupon on a daily
    basis. It’s always helpful to read through content from other authors and practice a little something
    from their sites.

Leave a Reply

Your email address will not be published.

*