nextcloudpi/etc/ncp-config.d/nc-rsync-auto.cfg
Martin 0f4de56086
Let users configure Hour for backups / btrfs sync (#1762)
Signed-off-by: Martin <mayermart@users.noreply.github.com>
2023-04-24 11:02:19 +02:00

41 lines
918 B
INI

{
"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",
"suggest": "user@ip:/path/to/sync"
},
{
"id": "PORTNUMBER",
"name": "SSH port number",
"value": "22",
"suggest": "22"
},
{
"id": "SYNCDAYS",
"name": "Sync periodicity (in days)",
"value": "3",
"suggest": "3"
},
{
"id": "SYNCHOUR",
"name": "Hour of Day when syncing",
"value": "5",
"suggest": "5"
}
]
}