Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexhokl/gcp-backup
https://github.com/alexhokl/gcp-backup
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/alexhokl/gcp-backup
- Owner: alexhokl
- License: other
- Created: 2024-06-15T03:07:35.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-08-17T07:26:43.000Z (5 months ago)
- Last Synced: 2024-08-17T08:27:41.857Z (5 months ago)
- Language: Go
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```