2021-12-15 20:56:31 +01:00
|
|
|
devices:
|
2022-01-03 22:32:21 +01:00
|
|
|
dev_test:
|
|
|
|
uuid: 714dc1f8-00d7-44b4-b03c-b54498c7cb86
|
|
|
|
owner: qwc
|
2021-12-15 20:56:31 +01:00
|
|
|
scanner-usbstick:
|
|
|
|
uuid: 72A9-D8C5
|
2021-12-20 23:17:24 +01:00
|
|
|
#mountname: scanner_usbstick
|
2021-12-15 20:56:31 +01:00
|
|
|
owner: qwc
|
|
|
|
server-backups:
|
|
|
|
uuid: d220b335-ded9-48f5-bc03-800a3f953c34
|
2021-12-20 23:17:24 +01:00
|
|
|
#mountname: server_backups
|
2021-12-15 20:56:31 +01:00
|
|
|
owner: qwc
|
|
|
|
backups:
|
2022-01-03 22:32:21 +01:00
|
|
|
dev_test_backup:
|
|
|
|
user: qwc
|
|
|
|
targetDevice: dev_test
|
2022-01-07 10:55:28 +01:00
|
|
|
frequency: 2
|
2022-01-04 16:11:30 +01:00
|
|
|
scriptPath: /home/qwc/source/backive/testbackup.sh
|
2022-01-03 22:32:21 +01:00
|
|
|
sourcePath: /home/qwc/web/worktime
|
|
|
|
targetPath: worktime
|
2022-01-07 10:55:28 +01:00
|
|
|
label: "Development test backup"
|
2021-12-15 20:56:31 +01:00
|
|
|
scanner_usbstick_test:
|
|
|
|
user: qwc
|
2021-12-20 23:17:24 +01:00
|
|
|
targetDevice: scanner-usbstick
|
2021-12-15 20:56:31 +01:00
|
|
|
frequency: 0
|
2021-12-20 23:17:24 +01:00
|
|
|
scriptPath: ./testbackup.sh
|
2021-12-15 20:56:31 +01:00
|
|
|
script: |
|
|
|
|
#! /usr/bin/env bash
|
|
|
|
#
|
|
|
|
set -x
|
|
|
|
ls -la ${BACKIVE_MOUNT}/${BACKIVE_TO}
|
|
|
|
echo "This is a test..."
|
|
|
|
echo "mount/to ${BACKIVE_MOUNT}/${BACKIVE_TO}"
|
|
|
|
mkdir -pv ${BACKIVE_MOUNT}/${BACKIVE_TO}
|
|
|
|
cp -Rv ${BACKIVE_FROM}/* ${BACKIVE_MOUNT}/${BACKIVE_TO}/
|
|
|
|
ls -la ${BACKIVE_MOUNT}/${BACKIVE_TO}
|
|
|
|
ls -la ${BACKIVE_MOUNT}
|
2021-12-20 23:17:24 +01:00
|
|
|
sourcePath: /home/qwc/web/worktime
|
|
|
|
targetPath: worktime
|
|
|
|
settings:
|
|
|
|
systemMountPoint: /mnt/backups
|
2022-01-04 16:11:30 +01:00
|
|
|
unixSocketLocation: /var/local/backive/backive.sock
|
2022-06-07 21:20:16 +02:00
|
|
|
uiUnixSocketLocation: /var/local/backive/ui.sock
|
2021-12-20 23:17:24 +01:00
|
|
|
logLocation: /var/log/backive
|
|
|
|
dbLocation: /var/lib/backive
|
2021-12-15 20:56:31 +01:00
|
|
|
|
|
|
|
|