From a3e156edf94b7d5359d84f11c11753b296a47121 Mon Sep 17 00:00:00 2001 From: deajan Date: Mon, 2 Jan 2017 13:12:56 +0100 Subject: [PATCH] Added PARALLEL_ENCRYPTION_PROCESSES parameter --- host_backup.conf.example | 5 ++++- upgrade-v1.x-2.1x.sh | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/host_backup.conf.example b/host_backup.conf.example index 894343f..0f29614 100644 --- a/host_backup.conf.example +++ b/host_backup.conf.example @@ -2,7 +2,7 @@ ###### obackup - Local or Remote, push or pull backup script for files & mysql databases ###### (C) 2013-2016 by Orsiris de Jong (www.netpower.fr) -###### obackup v2.1x config file rev 2016121901 +###### obackup v2.1x config file rev 2017010201 ###### GENERAL BACKUP OPTIONS @@ -38,6 +38,9 @@ CRYPT_STORAGE=/home/storage/backup/crpyt ## GPG recipient (pubkey for this recipient must exist, see gpg2 --list-keys or gpg --list-keys GPG_RECIPIENT="John Doe" +## Use n CPUs for encryption / decryption where n is an integer +PARALLEL_ENCRYPTION_PROCESSES= + ## Create backup directories if they do not exist CREATE_DIRS=yes diff --git a/upgrade-v1.x-2.1x.sh b/upgrade-v1.x-2.1x.sh index ee32d0e..b046e5d 100755 --- a/upgrade-v1.x-2.1x.sh +++ b/upgrade-v1.x-2.1x.sh @@ -6,7 +6,7 @@ AUTHOR="(C) 2016 by Orsiris de Jong" CONTACT="http://www.netpower.fr/obacup - ozy@netpower.fr" OLD_PROGRAM_VERSION="v1.x" NEW_PROGRAM_VERSION="v2.1x" -CONFIG_FILE_VERSION=2016121901 +CONFIG_FILE_VERSION=2017010201 PROGRAM_BUILD=2016113001 if ! type "$BASH" > /dev/null; then @@ -29,6 +29,7 @@ FILE_STORAGE ENCRYPTION CRYPT_STORAGE GPG_RECIPIENT +PARALLEL_ENCRYPTION_PROCESSES CREATE_DIRS KEEP_ABSOLUTE_PATHS BACKUP_SIZE_MINIMUM @@ -114,6 +115,7 @@ local no /home/storage/crypt 'Your Name used with GPG signature' +'' yes yes 1024