Skip to content

Releases: jacksegal/google-compute-snapshot

Delete old Snapshots first and Docker Support

07 Jan 09:42
Compare
Choose a tag to compare
Delete before creating new snaps (#84)

according to the docs https://cloud.google.com/compute/docs/disks/restore-and-delete-snapshots#deleting_snapshot this would be slightly more correct since instead of gcp handling the magic of references, we can allow the newly created snapshot to reference the right parent

Bug Fix: --filter clause disks list

28 Nov 19:24
e927cff
Compare
Choose a tag to compare
Fixing --filter clause on disk name (#80)

Previously was only picking up disks with same name as instance

Use --filter to target instance

23 Nov 08:05
8ea040c
Compare
Choose a tag to compare
Use --filter to target instance (#79)

Fixing a bug that was re-introduced with 5.0.0

Add Project Id option

20 Nov 07:56
Compare
Choose a tag to compare

Added a project id option -j so that the script can be run to backup multiple projects without needing to change the gcloud config core.project each time.

Use coloured output for Errors & Debug

14 Nov 09:36
52bd9b6
Compare
Choose a tag to compare

Uses tput to colour output

Minor Bug fixes

14 Nov 08:44
e54e5d5
Compare
Choose a tag to compare
  • Throw error if no devices are found
  • createSnapshotName() positional typo
  • Restrict custom prefix to 20 chars

Fully supporting Remote Instances and clean-up of Options

14 Nov 07:21
2c30488
Compare
Choose a tag to compare

Script now fully supports Remote Instances with [-r <remote_instances>] option - no need to pass in Instance name and zone.

Removed [-t <label_name>] as this functionality can be achieved using [-f <gcloud_filter_expression>] (which was previously [-T <gcloud_filter_expression>].

Also added Dry run for debugging.

Large amount of code was changed.

Updated README to include auth instructions

12 Oct 16:06
Compare
Choose a tag to compare
Update README.md (#57)

* Update README.md

If your gcloud on the server isn't authenticated for your Google Cloud, you'll get an error that looks something like:
```
ERROR: (gcloud.compute.disks.list) Some requests did not succeed:
 - Insufficient Permission
```

* Update README.md

Flexible filter for choosing disk to snapshot

08 Oct 15:53
Compare
Choose a tag to compare

Add support to use a specific service account

08 Oct 15:43
Compare
Choose a tag to compare
Add support to use a specific service account via command line (#54)

* Add support to use a specific service account via command line

* Updated Usage

* Fix typo