Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(config): add example config for owncloud and nextcloud #1052

Merged
merged 6 commits into from
Feb 6, 2024
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions config/services/webdav.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[repository]
repository = "opendal:webdav"
password = "my-backup-password"

# You have to create a passcode on your cloud instance.
# * Owncloud: `Settings -> Security -> App passwords / tokens`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# You have to create a passcode on your cloud instance.
# * Owncloud: `Settings -> Security -> App passwords / tokens`
# You have to create a passcode on your cloud instance with `Settings -> Security -> App passwords / tokens`.

[repository.options]
endpoint = "https://my-owncloud-server.com"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
endpoint = "https://my-owncloud-server.com"
endpoint = "https://my-owncloud-or-nextcloud-server.com"

root = "remote.php/webdav/my-folder" # This path may be different for your cloudprovider
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
root = "remote.php/webdav/my-folder" # This path may be different for your cloudprovider
# root = "remote.php/webdav/my-folder" # for owncloud
# root = "remote.php/dav/files/<username>" # for nextcloud

username = "owncloud-user"
password = "owncloud-passcode"