Skip to content

Commit 8c0c0b3

Browse files
committed
Add GCS config examples
1 parent 5fca080 commit 8c0c0b3

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"type": "googlecloudstorage",
3+
"options": {
4+
"secret": "backup/google/client_secret.json",
5+
"bucket": "my-bucket",
6+
"path": "remote/path"
7+
}
8+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<sync type="googlecloudstorage">
3+
<!-- google secret file -->
4+
<option name="secret" value="backup/google/client_secret.json"/>
5+
6+
<!-- bucket name to upload to -->
7+
<option name="bucket" value="backup/google/client_secret.json"/>
8+
9+
<!-- the remote path to upload to int the bucket -->
10+
<option name="path" value="remote/path"/>
11+
12+
<!-- optional cleanup configuration -->
13+
<option name="cleanup.type" value="quantity"/>
14+
<option name="cleanup.amount" value="10"/>
15+
</sync>

0 commit comments

Comments
 (0)