New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip the boot disk on gce during backup #4

Merged
merged 2 commits into from Mar 12, 2014

Conversation

Projects
None yet
2 participants
@arangamani
Copy link
Member

arangamani commented Mar 12, 2014

On gce, the boot disk is a persistent disk and the :create action on rightscale_backup resource also backs up this boot device. Since there is no way of backing up specific devices (#2), we should at least skip the boot device.

There seems to be a way to differentiate between boot disk and a regular disk. Here is the resource_uid of a boot disk:

projects/rightscale.com:publish/disks/boot-i-c75edc78a-rs:projects/rightscale.com:publish/instances/i-c75edc78a

and here is the resource_uid of a regular persistent disk:

projects/rightscale.com:publish/disks/v-f4a0b7557:projects/rightscale.com:publish/instances/i-c75edc78a
@douglaswth

This comment has been minimized.

Copy link
Contributor

douglaswth commented Mar 12, 2014

There should be a unit test that tests this functionality.

douglaswth added a commit that referenced this pull request Mar 12, 2014

Merge pull request #4 from rightscale-cookbooks/white_14_03_acu114920…
…_skip_boot_disk_in_gce_during_backup_create

Skip the boot disk on gce during backup

@douglaswth douglaswth merged commit a186e51 into master Mar 12, 2014

1 check passed

default The Travis CI build passed
Details

@douglaswth douglaswth deleted the white_14_03_acu114920_skip_boot_disk_in_gce_during_backup_create branch Mar 12, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment