mirror of
https://github.com/restic/restic.git
synced 2026-02-17 09:39:01 -05:00
Environment variables:
GOOGLE_PROJECT_ID=gcp-project-id
GOOGLE_APPLICATION_CREDENTIALS=path-to-json-file
Environment variables for test:
RESTIC_TEST_GS_PROJECT_ID=gcp-project-id
RESTIC_TEST_GS_APPLICATION_CREDENTIALS=path-to-json-file
RESTIC_TEST_GS_REPOSITORY=gs:us-central1/test-bucket
Init repository:
$ restic -r gs🪣/[prefix] init
|
||
|---|---|---|
| .. | ||
| config.go | ||
| config_test.go | ||
| gs.go | ||
| gs_test.go | ||