Skip to content

pkoenig10/backup-google

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

backup-google

A backup service using Google Cloud Storage.

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

Configuration

Configuration is provided using command-line flags and a YAML configuration file.

Detailed usage information is available using the -help flag.

Credentials

If a credentials file is not provided, service account credentials will be retrieved using Google Application Default Credentials (ADC).

Configuration file

  • files

    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