Commit bcbf8785 authored by Nigel Kukard's avatar Nigel Kukard

Merge branch 'remove-host-code' into 'master'

Remove host code block

See merge request !22
parents ae9fb2d1 c40b15aa
Pipeline #942 passed with stages
in 2 minutes and 1 second
...@@ -76,7 +76,7 @@ do ...@@ -76,7 +76,7 @@ do
BIND_MOUNT_ARGS+=("$ITEM:$ITEM") BIND_MOUNT_ARGS+=("$ITEM:$ITEM")
done done
# Backup to $PERIOD-$lv ... # Backup to $PERIOD-$vg-$lv ...
backstep-traceback --backup \ backstep-traceback --backup \
--acl \ --acl \
--safe \ --safe \
...@@ -91,18 +91,3 @@ do ...@@ -91,18 +91,3 @@ do
--zabbix "$PERIOD" --zabbix-config "$ZABBIX_CONFIG" \ --zabbix "$PERIOD" --zabbix-config "$ZABBIX_CONFIG" \
"$SERVER_USER"@"$SERVER_HOST"::"$SERVER_PATH"/"$PERIOD-$vg-$lv" "$SERVER_USER"@"$SERVER_HOST"::"$SERVER_PATH"/"$PERIOD-$vg-$lv"
done done
# Backup host system
backstep-traceback --backup \
--acl \
--safe \
--deltas \
--create-timestamp-file \
--lvm-snapshot lvm-raid/root \
--bind-mount /boot:/boot \
--email-subject "${PERIOD^^} host" \
--email="$REPORT_EMAIL" \
--port "$SERVER_PORT" --pubkey "$SERVER_KEY" \
$syncopts \
--zabbix "$PERIOD" --zabbix-config "$ZABBIX_CONFIG" \
"$SERVER_USER"@"$SERVER_HOST"::backup/"$PERIOD-host"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment