File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ # gcp-disk-snapshotter
2
+
3
+ Service to periodically take snapshots of ` gcp ` disks, based on particular labels.
4
+ Snapshots (only the ones created by the service) are deleted when they become older than the specified retention time.
5
+
6
+ ## Usage
7
+ ```
8
+ -interval_secs int
9
+ Interval between snapshots in seconds. Defaults to 43200s = 12h (default 43200)
10
+ -labels string
11
+ (Required) Comma separated list of disk labels in format <name>:<value>
12
+ -project string
13
+ (Required) GCP Project to use
14
+ -retention_hours int
15
+ Retention Duration in hours. Defaults to 720h = 1 month (default 720)
16
+ -snap_prefix string
17
+ Prefix for created snapshots
18
+ -zones string
19
+ (Required) Comma separated list of zones where projects disks may live
20
+ ```
You can’t perform that action at this time.
0 commit comments