A backup service using Google Cloud Storage.
Files are selected using the provided configuration file and backed up using a service account.
Service account credentials are obtained using Google Application Default Credentials (ADC).
| Variable | Description | Required? | Default |
|---|---|---|---|
BUCKET_NAME |
The Google Cloud Storage bucket name | Yes | - |
CONFIG_PATH |
The configation file path. | No | config.yml |
The configuration file is a YAML file with the following properties:
| Property | Object | Description |
|---|---|---|
files |
Array | Glob patterns of files to backup. The gobwas/glob syntax is used to compile patterns. |
files:
- foo.txt
- foo/*/bar.txt
- foo/**/baz.txt