Skip to content

Commit 69eed39

Browse files
author
Foivos Filippopoulos
committed
Add Readme file
1 parent 01e5e8c commit 69eed39

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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+
```

0 commit comments

Comments
 (0)