diff options
author | frazhome <franz@pfoertsch.de> | 2021-10-15 21:31:36 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2021-10-18 21:11:35 +0300 |
commit | dcfd1cff4a22af7c5a9120d86ec1ba2323cd1bc6 (patch) | |
tree | ed5fe7de2ae53915beae2dbda03b5c961053d0b7 | |
parent | ec94e6fb8082a3e36a16e6e378b613f0b0a89e7b (diff) |
ncp-backup: added help message (#1231)v1.41.11
Co-authored-by: Franz Pfoertsch <franz.pfoertsch@gmail.com>
-rw-r--r-- | bin/ncp/BACKUPS/nc-backup.sh | 7 | ||||
-rw-r--r-- | changelog.md | 6 |
2 files changed, 11 insertions, 2 deletions
diff --git a/bin/ncp/BACKUPS/nc-backup.sh b/bin/ncp/BACKUPS/nc-backup.sh index b754d019..25f5285f 100644 --- a/bin/ncp/BACKUPS/nc-backup.sh +++ b/bin/ncp/BACKUPS/nc-backup.sh @@ -17,6 +17,13 @@ install() set -eE source /usr/local/etc/library.sh +if [ "$1" = "--help" ]; then + echo "$0 <destdir> <includedata> <compress> <backuplimit>" + echo " <includedata> and <compress> are 'yes' or 'no'" + echo " <backuplimit> integer >= 1 or 0 for no limit" + exit 0 +fi + destdir="${1:-/media/USBdrive/ncp-backups}" includedata="${2:-no}" compress="${3:-no}" diff --git a/changelog.md b/changelog.md index 50c44208..803adea4 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ -[v1.41.10](https://github.com/nextcloud/nextcloudpi/commit/042491f) (2021-10-18) nc-static-IP: use ifdown/ifup +[v1.41.11](https://github.com/nextcloud/nextcloudpi/commit/c95976c) (2021-10-15) ncp-backup: added help message (#1231) + +[v1.41.10](https://github.com/nextcloud/nextcloudpi/commit/ec94e6f) (2021-10-18) nc-static-IP: use ifdown/ifup [v1.41.9 ](https://github.com/nextcloud/nextcloudpi/commit/f9c9e37) (2021-10-18) fail2ban: fix UFW jail @@ -17,7 +19,7 @@ [v1.41.2 ](https://github.com/nextcloud/nextcloudpi/commit/cf4cfd8) (2021-10-15) also save hostname in trusted domains -[v1.41.1](https://github.com/nextcloud/nextcloudpi/commit/c75db63) (2021-10-14) letsencrypt: take into account the possibility of the ncp-nextcloud folder being used +[v1.41.1 ](https://github.com/nextcloud/nextcloudpi/commit/c75db63) (2021-10-14) letsencrypt: take into account the possibility of the ncp-nextcloud folder being used [v1.41.0 ](https://github.com/nextcloud/nextcloudpi/commit/b41fad0) (2021-10-13) ncp-web: add NCP logs section |