diff options
author | nacho <nacho@ownyourbits.com> | 2018-12-31 01:59:26 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2019-01-05 04:14:53 +0300 |
commit | 497edb8d9471c05ace0868e2d6c2f092dca7c030 (patch) | |
tree | 94e08ea7cc0741e40a6c60ca83b181951cf9a955 /etc | |
parent | bc0271e359749aadc9c782cab8b7dddf41220b3b (diff) |
add restore defaults btn
Diffstat (limited to 'etc')
-rw-r--r-- | etc/ncp-config.d/nc-backup-auto.cfg | 3 | ||||
-rw-r--r-- | etc/ncp-config.d/nc-backup.cfg | 10 | ||||
-rw-r--r-- | etc/ncp-config.d/nc-database.cfg | 5 | ||||
-rw-r--r-- | etc/ncp-config.d/nc-datadir.cfg | 5 |
4 files changed, 16 insertions, 7 deletions
diff --git a/etc/ncp-config.d/nc-backup-auto.cfg b/etc/ncp-config.d/nc-backup-auto.cfg index e630d08c..8277e17b 100644 --- a/etc/ncp-config.d/nc-backup-auto.cfg +++ b/etc/ncp-config.d/nc-backup-auto.cfg @@ -15,7 +15,8 @@ { "id": "DESTDIR", "name": "Destination Directory", - "value": "/media/USBdrive/ncp-backups" + "value": "/media/USBdrive/ncp-backups", + "suggest": "/media/USBdrive/ncp-backups" }, { "id": "INCLUDEDATA", diff --git a/etc/ncp-config.d/nc-backup.cfg b/etc/ncp-config.d/nc-backup.cfg index 4d12d907..02f8bf8a 100644 --- a/etc/ncp-config.d/nc-backup.cfg +++ b/etc/ncp-config.d/nc-backup.cfg @@ -1,6 +1,6 @@ { "id": "nc-backup", - "name": "Nc-backup", + "name": "nc-backup", "title": "nc-backup", "description": "Backup this NC instance to a file", "info": "", @@ -9,7 +9,8 @@ { "id": "DESTDIR", "name": "Destination directory", - "value": "/media/USBdrive/ncp-backups" + "value": "/media/USBdrive/ncp-backups", + "suggest": "/media/USBdrive/ncp-backups" }, { "id": "INCLUDEDATA", @@ -25,8 +26,9 @@ }, { "id": "BACKUPLIMIT", - "name": "Backuplimit", - "value": "4" + "name": "Backup limit", + "value": "4", + "suggest": "4" } ] } diff --git a/etc/ncp-config.d/nc-database.cfg b/etc/ncp-config.d/nc-database.cfg index be409973..e7c2ea99 100644 --- a/etc/ncp-config.d/nc-database.cfg +++ b/etc/ncp-config.d/nc-database.cfg @@ -9,7 +9,10 @@ { "id": "DBDIR", "name": "Database directory", - "value": "/media/USBdrive/ncdatabase" + "value": "/media/USBdrive/ncdatabase", + "suggest": "/media/USBdrive/ncdatabase", + "default": "/var/lib/mysql", + "type": "path" } ] } diff --git a/etc/ncp-config.d/nc-datadir.cfg b/etc/ncp-config.d/nc-datadir.cfg index 687e2d68..2625240e 100644 --- a/etc/ncp-config.d/nc-datadir.cfg +++ b/etc/ncp-config.d/nc-datadir.cfg @@ -9,7 +9,10 @@ { "id": "DATADIR", "name": "Data directory", - "value": "/media/USBdrive/ncdata" + "value": "/media/USBdrive/ncdata", + "suggest": "/media/USBdrive/ncdata", + "default": "/var/www/nextcloud/data", + "type": "path" } ] } |