diff --git a/config/services/gdrive.toml b/config/services/gdrive.toml new file mode 100644 index 000000000..abf1862f9 --- /dev/null +++ b/config/services/gdrive.toml @@ -0,0 +1,18 @@ +# rustic config file to use Google Drive storage +# Note that this internally uses opendal Gdrive service, see +# https://opendal.apache.org/docs/rust/opendal/services/struct.Gdrive.html +[repository] +repository = "opendal:gdrive" +password = "my-backup-password" + +# Option 1: short-lived access token +# [repository.options] +# access_token = "ya29.xxxxxxxxxxxxxxxxxxxxx" +# root = "/rustic-backups" + +# Option 2: long-lived setup via refresh token (recommended) +[repository.options] +refresh_token = "1//xxxxxxxxxxxxxxxxxxxx" +client_id = "your-google-oauth-client-id.apps.googleusercontent.com" +client_secret = "your-google-oauth-client-secret" +root = "/rustic-backups" diff --git a/config/services/pcloud.toml b/config/services/pcloud.toml new file mode 100644 index 000000000..d4b98b26a --- /dev/null +++ b/config/services/pcloud.toml @@ -0,0 +1,20 @@ +# rustic config file to use pCloud storage +# Note that this internally uses opendal pCloud service, see +# https://opendal.apache.org/docs/rust/opendal/services/struct.Pcloud.html + +[repository] +repository = "opendal:pcloud" +password = "my-backup-password" + +[repository.options] +# pCloud API endpoint: +# For European accounts (EU region): https://eapi.pcloud.com +# For US accounts: https://api.pcloud.com +endpoint = "https://eapi.pcloud.com" + +# pCloud login credentials +username = "example@example.com" +password = "example-pcloud-password" + +# Repository root inside pCloud +root = "/rustic-backups" \ No newline at end of file