Skip to content

pkoenig10/backup-google

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

112 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

backup-google

A backup service using Google Cloud Storage.

Files are selected using the provided configuration file and backed up using a service account.

Configuration

Credentials

Service account credentials are obtained using Google Application Default Credentials (ADC).

Environment variables

Variable Description Required? Default
BUCKET_NAME The Google Cloud Storage bucket name Yes -
CONFIG_PATH The configation file path. No config.yml

Configuration file

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.

Example

files:
  - foo.txt
  - foo/*/bar.txt
  - foo/**/baz.txt

About

Backup service using Google Cloud Storage

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors