nextcloudpi/etc/ncp-config.d/nc-snapshot-sync.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

48 lines
1.3 KiB
INI

{
"id": "nc-snapshot-sync",
"name": "Nc-snapshot-sync",
"title": "nc-snapshot-sync",
"description": "Sync BTRFS snapshots to USBdrive or remote machine",
"info": "Use format user@ip:/path/to/snapshots for remote sync\n'user' needs permissions for the 'btrfs' command at 'ip'\n'user' needs SSH autologin from the NCP 'root' user at 'ip'\nOnly use compression for internet transfer, because it uses many resources",
"infotitle": "",
"params": [
{
"id": "ACTIVE",
"name": "Active",
"value": "no",
"type": "bool"
},
{
"id": "SNAPDIR",
"name": "Snapshot directory",
"value": "/media/USBdrive/ncp-snapshots",
"suggest": "/media/USBdrive/ncp-snapshots",
"type": "directory"
},
{
"id": "DESTINATION",
"name": "Destination",
"value": "/media/myBackupDrive/ncp-snapshots",
"suggest": "/media/myBackupDrive/ncp-snapshots"
},
{
"id": "COMPRESSION",
"name": "Compression",
"value": "no",
"type": "bool"
},
{
"id": "SYNCDAYS",
"name": "Sync periodicity (in days)",
"value": "1",
"suggest": "1"
},
{
"id": "SYNCHOUR",
"name": "Hour of Day when syncing",
"value": "4",
"suggest": "4"
}
]
}