Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexhokl/gcp-backup


https://github.com/alexhokl/gcp-backup

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

## Installation

```sh
go install github.com/alexhokl/gcp-backup@latest
```

## Configuration

Configuration should be stored in path `$HOME/.gcp-backup.yml`.

The following is an example.

```yaml
bucket: machine-backup
machine_alias: machines/mac14
path_to_application_default_credentials: /Users/someone/.config/gcloud/legacy_credentials/[email protected]/adc.json
paths:
- .config/asciinema/
- .config/atuin/
- .aws/
- .kube/config
- .ssh/
```

## Usage

### Backup (dry-run)

```sh
gcp-backup run --dry-run
```

### Backup

```sh
gcp-backup run
```