stub of cloud restore script and example of a cloud backup configuration.
This commit is contained in:
27
test/scripts/cloud_backup.conf
Normal file
27
test/scripts/cloud_backup.conf
Normal file
@@ -0,0 +1,27 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user