Add support for backup nextcloud accounts.

This commit is contained in:
2020-11-16 17:50:13 +01:00
parent da2be27734
commit 8477b08aee
3 changed files with 200 additions and 1 deletions

View File

@@ -101,6 +101,7 @@ post_backup_commands=()
##
dir_backup="<blank seperatet list of directories>"
## - backup network filesystems like nfs or smbfs
## -
## - NOTICE!
@@ -148,10 +149,12 @@ mysql_password=backup
## -
mysql_gzip=false
## - restart apache after mysqldump
## -
restart_apache=false
## - also store postresql databases ?
## -
pgsql_backup=false
@@ -175,6 +178,32 @@ svn_source_base_path="<path-to-svn i.e. /data/svn>"
svn_gzip=false
## - backup nextcloud accounts
## -
nextcloud_backup=false
## - nextcloud_server_url
## -
nextcloud_server_url="https://${srcHost}"
## - nextcloud_account_arr
## -
## - nextcloud_accounts="<name1>;<password1>[;server_url] [<name2;password2>[;server_url] [..
## -
## - Notice:
## - if 'server_url' is ommited, the value of variable 'nextcloud_server_url', the
## - default on, will be used.
## -
## - Example:
## -
## - nextcloud_accounts="
## - user1;P4ssw0rd1
## - user2;P4ssw0rd2;non-default-cloud-server-url
## - "
## -
nextcloud_accounts=""
## - Give rsync arguments here. Maybe you wish
## - to exclude some files or diredtories
## -