Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'etc/ncp-config.d/nc-rsync-auto.cfg')
-rw-r--r--etc/ncp-config.d/nc-rsync-auto.cfg26
1 files changed, 26 insertions, 0 deletions
diff --git a/etc/ncp-config.d/nc-rsync-auto.cfg b/etc/ncp-config.d/nc-rsync-auto.cfg
new file mode 100644
index 00000000..9a86d743
--- /dev/null
+++ b/etc/ncp-config.d/nc-rsync-auto.cfg
@@ -0,0 +1,26 @@
+{
+ "id": "nc-rsync-auto",
+ "name": "nc-rsync-auto",
+ "title": "nc-rsync-auto",
+ "description": "Periodically sync Nextcloud data through rsync",
+ "info": "DESTINATION can be a regular path for local sync\n'user' needs SSH autologin from the NCP 'root' user at 'ip'",
+ "infotitle": "",
+ "params": [
+ {
+ "id": "ACTIVE",
+ "name": "ACTIVE",
+ "value": "no",
+ "type": "bool"
+ },
+ {
+ "id": "DESTINATION",
+ "name": "DESTINATION",
+ "value": "user@ip:/path/to/sync"
+ },
+ {
+ "id": "SYNCDAYS",
+ "name": "SYNCDAYS",
+ "value": "3"
+ }
+ ]
+}