From 4e45c530591b6bbcc28b30c7e91be046fe341dde Mon Sep 17 00:00:00 2001 From: Falco Hirschenberger Date: Tue, 6 Feb 2024 14:48:57 +0100 Subject: [PATCH 1/6] Create opendal_owncloud_webdav.toml example config --- config/services/opendal_owncloud_webdav.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 config/services/opendal_owncloud_webdav.toml diff --git a/config/services/opendal_owncloud_webdav.toml b/config/services/opendal_owncloud_webdav.toml new file mode 100644 index 000000000..34cd7709a --- /dev/null +++ b/config/services/opendal_owncloud_webdav.toml @@ -0,0 +1,11 @@ +[repository] +repository = "opendal:webdav" +password = "my-backup-password" + +# You have to create a passcode on you owncloud instance via +# Settings -> Security -> App passwords / tokens +[repository.options] +endpoint = "https://my-owncloud-server.com" +root = "remote.php/webdav/my-folder" +username = "owncloud-user" +password = "owncloud-passcode" From 4b8b4e6d763fd2d4495f9967a854a07e80135c8d Mon Sep 17 00:00:00 2001 From: Falco Hirschenberger Date: Tue, 6 Feb 2024 14:56:27 +0100 Subject: [PATCH 2/6] Update opendal_owncloud_webdav.toml --- config/services/opendal_owncloud_webdav.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/services/opendal_owncloud_webdav.toml b/config/services/opendal_owncloud_webdav.toml index 34cd7709a..201dfd465 100644 --- a/config/services/opendal_owncloud_webdav.toml +++ b/config/services/opendal_owncloud_webdav.toml @@ -6,6 +6,6 @@ password = "my-backup-password" # Settings -> Security -> App passwords / tokens [repository.options] endpoint = "https://my-owncloud-server.com" -root = "remote.php/webdav/my-folder" +root = "remote.php/webdav/my-folder" # This path may be different for your cloudprovider username = "owncloud-user" password = "owncloud-passcode" From 38c3fc9d2f182cdf2630d0e9ebba67d501246090 Mon Sep 17 00:00:00 2001 From: Falco Hirschenberger Date: Tue, 6 Feb 2024 14:57:56 +0100 Subject: [PATCH 3/6] Rename opendal_owncloud_webdav.toml to opendal_webdav.toml --- .../{opendal_owncloud_webdav.toml => opendal_webdav.toml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename config/services/{opendal_owncloud_webdav.toml => opendal_webdav.toml} (100%) diff --git a/config/services/opendal_owncloud_webdav.toml b/config/services/opendal_webdav.toml similarity index 100% rename from config/services/opendal_owncloud_webdav.toml rename to config/services/opendal_webdav.toml From 3f5d04e4a73aa20fee57cdb8674faa52c9b4e32a Mon Sep 17 00:00:00 2001 From: Falco Hirschenberger Date: Tue, 6 Feb 2024 14:58:34 +0100 Subject: [PATCH 4/6] Rename opendal_webdav.toml to webdav.toml --- config/services/{opendal_webdav.toml => webdav.toml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename config/services/{opendal_webdav.toml => webdav.toml} (100%) diff --git a/config/services/opendal_webdav.toml b/config/services/webdav.toml similarity index 100% rename from config/services/opendal_webdav.toml rename to config/services/webdav.toml From 5a609059c67ae809346d19d0e6f30a06f4d2ab59 Mon Sep 17 00:00:00 2001 From: Falco Hirschenberger Date: Tue, 6 Feb 2024 14:59:37 +0100 Subject: [PATCH 5/6] Update webdav.toml --- config/services/webdav.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/services/webdav.toml b/config/services/webdav.toml index 201dfd465..27c73511a 100644 --- a/config/services/webdav.toml +++ b/config/services/webdav.toml @@ -2,8 +2,8 @@ repository = "opendal:webdav" password = "my-backup-password" -# You have to create a passcode on you owncloud instance via -# Settings -> Security -> App passwords / tokens +# You have to create a passcode on your cloud instance. +# * Owncloud: `Settings -> Security -> App passwords / tokens` [repository.options] endpoint = "https://my-owncloud-server.com" root = "remote.php/webdav/my-folder" # This path may be different for your cloudprovider From e413bddf7a4de68210663e0e7f418ea8b8d66153 Mon Sep 17 00:00:00 2001 From: Falco Hirschenberger Date: Tue, 6 Feb 2024 15:19:07 +0100 Subject: [PATCH 6/6] Update and rename webdav.toml to webdav_owncloud_nextcloud.toml --- config/services/webdav.toml | 11 ----------- config/services/webdav_owncloud_nextcloud.toml | 9 +++++++++ 2 files changed, 9 insertions(+), 11 deletions(-) delete mode 100644 config/services/webdav.toml create mode 100644 config/services/webdav_owncloud_nextcloud.toml diff --git a/config/services/webdav.toml b/config/services/webdav.toml deleted file mode 100644 index 27c73511a..000000000 --- a/config/services/webdav.toml +++ /dev/null @@ -1,11 +0,0 @@ -[repository] -repository = "opendal:webdav" -password = "my-backup-password" - -# You have to create a passcode on your cloud instance. -# * Owncloud: `Settings -> Security -> App passwords / tokens` -[repository.options] -endpoint = "https://my-owncloud-server.com" -root = "remote.php/webdav/my-folder" # This path may be different for your cloudprovider -username = "owncloud-user" -password = "owncloud-passcode" diff --git a/config/services/webdav_owncloud_nextcloud.toml b/config/services/webdav_owncloud_nextcloud.toml new file mode 100644 index 000000000..b9a9e8d6f --- /dev/null +++ b/config/services/webdav_owncloud_nextcloud.toml @@ -0,0 +1,9 @@ +[repository] +repository = "opendal:webdav" +password = "my-backup-password" + +[repository.options] +endpoint = "https://my-owncloud-server.com" +root = "remote.php/webdav/my-folder" +username = "owncloud-user" +password = "owncloud-passcode"