Files
cloud_backup/test/scripts/cloud_backup.conf

28 lines
895 B
Bash

#!/bin/bash
# Path to nextclouds data folder
CONFIG_NC_DATA="/srv/nextcloud-data"
# Path to the web root of the nextcloud
CONFIG_NC_BASE="/var/www/nextcloud"
# Folder for the log file - relative to nextcloud data folder!
CONFIG_NC_LOGPATH="admin/files/System/"
# Where to find the file with folders to exclude from backup
CONFIG_EXCLUDE=/home/cloudbackup/.config/cloud_backup.exclude
# Host of the database
CONFIG_NC_DB_SERVER=localhost
# Name of the nextcloud database
CONFIG_NC_DB_NAME=nextclouddb
# User for the nextcloud datbase
CONFIG_NC_DB_USER=nextclouduser
# Folders to backup with rsync
BACKUP_SOURCES=(/srv/nextcloud-data /var/www/nextcloud)
# Target server for backup
TOSSH=
# port to use for ssh/rsync
SSHPORT=10110
# User for the backup server
SSHUSER="cloudbackup"
# target folder on the backup server
BACKUP_TARGET="/srv/dev-disk-by-label-mirny/Backup/nubecula-minor/nextcloud"