comments
All checks were successful
gitea/evobackup/pipeline/head This commit looks good

This commit is contained in:
Jérémy Lecour 2023-01-28 21:14:22 +01:00 committed by Jérémy Lecour
parent d532ac83da
commit 149b5d0e8d

View file

@ -53,12 +53,14 @@ sync_tasks() {
sync_name="evolix-system"
# List of host/port for your sync task
# shellcheck disable=SC2034
SERVERS=(
node0.backup.evolix.net:2234
node1.backup.evolix.net:2234
)
# What to include in your sync task
# Add or remove paths if you need
# shellcheck disable=SC2034
RSYNC_INCLUDES=(
"${rsync_default_includes[@]}"
@ -68,6 +70,7 @@ sync_tasks() {
)
# What to exclude from your sync task
# Add or remove paths if you need
# shellcheck disable=SC2034
RSYNC_EXCLUDES=(
"${rsync_default_excludes[@]}"
@ -83,12 +86,14 @@ sync_tasks() {
sync_name="client-full"
# List of host/port for your sync task
# shellcheck disable=SC2034
SERVERS=(
client-backup00.evolix.net:2221
client-backup01.evolix.net:2221
)
# What to include in your sync task
# Add or remove paths if you need
# shellcheck disable=SC2034
RSYNC_INCLUDES=(
"${rsync_default_includes[@]}"
@ -100,10 +105,10 @@ sync_tasks() {
)
# What to exclude from your sync task
# Add or remove paths if you need
# shellcheck disable=SC2034
RSYNC_EXCLUDES=(
"${rsync_default_excludes[@]}"
/home/foo
)
# Call the sync task