Skip to content

Conversation

@nklmilojevic
Copy link

Overview

Add a new shell plugin for restic, a fast, secure, and efficient backup program. This
plugin supports multiple storage backends by provisioning the appropriate environment variables for
authentication.

Supported backends:

  • AWS S3 / Cloudflare R2 / MinIO (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN)
  • Azure Blob Storage (AZURE_ACCOUNT_NAME, AZURE_ACCOUNT_KEY, AZURE_ACCOUNT_SAS)
  • Backblaze B2 (B2_ACCOUNT_ID, B2_ACCOUNT_KEY)
  • Google Cloud Storage (GOOGLE_PROJECT_ID, GOOGLE_APPLICATION_CREDENTIALS)
  • REST Server (RESTIC_REST_USERNAME, RESTIC_REST_PASSWORD)
  • Core (RESTIC_PASSWORD - required for all backends)

Type of change

  • Created a new plugin
  • Improved an existing plugin
  • Fixed a bug in an existing plugin
  • Improved contributor utilities or experience

Related Issue(s)

  • Resolves: #
  • Relates: #

How To Test

# With S3-compatible backend (AWS, Cloudflare R2, MinIO)
restic -r s3:https://s3.amazonaws.com/bucket-name snapshots

# With Backblaze B2
restic -r b2:bucket-name snapshots

# With Azure Blob Storage
restic -r azure:container-name:/ snapshots

# With REST server
restic -r rest:https://user:pass@host:8000/ snapshots

Changelog

Authenticate the restic backup CLI using credentials stored in 1Password, with support for AWS S3, Azure Blob
Storage, Backblaze B2, Google Cloud Storage, and REST server backends.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant