Skip to content
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

Conversation

arangamani
Copy link
Member

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
Copy link
Contributor

There should be a unit test that tests this functionality.

douglaswth added a commit that referenced this pull request Mar 12, 2014
…_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
@douglaswth douglaswth deleted the white_14_03_acu114920_skip_boot_disk_in_gce_during_backup_create branch March 12, 2014 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants