Skip to content

Conversation

timwsuqld
Copy link
Contributor

Added option to copy labels from a disk onto the snapshot labels

@jacksegal
Copy link
Owner

Hi @timwsuqld ,

Thanks for the PR - can you give one-liner on what you've added?

Also, would be great if you could update the README with your new option.

Cheers,
Jack

@timwsuqld
Copy link
Contributor Author

@jacksegal I've pushed another commit. Basically, we just list all the labels of the source disk, and apply those to the snapshot. Useful for filtering snapshots based on the original disk labels. (We actually backup our snapshots with another tool, so having the labels help us find the snapshots we actually want backed up)

@jacksegal jacksegal merged commit ee74141 into jacksegal:master Mar 2, 2019
@jacksegal
Copy link
Owner

Thanks @timwsuqld - looks good to me!

@timwsuqld timwsuqld deleted the copyDiskLabels branch March 4, 2019 00:03
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