Commit d8251c30 authored by Nils Knappmeier's avatar Nils Knappmeier

Do not create obsolete /var/lib/backup2l-directory

parent 160366c5
......@@ -58,7 +58,6 @@ BACKUP_DEV="/mnt/backup-server"
# Destination directory for backups;
# it must exist and must not be the top-level of BACKUP_DEV
# BACKUP_DIR="/var/lib/backup2l/"
BACKUP_DIR="/mnt/backup-server/backups"
......@@ -156,7 +155,7 @@ DRIVER_MY_AFIOZ ()
;;
-suffix)
# This function should return the suffix of backup archive files. If the driver
#ädoes not create a file (e. g. transfers the backup data immediately to a tape
#�does not create a file (e. g. transfers the backup data immediately to a tape
# or network device), an empty string has to be returned. backup2l uses this suffix
# to select a driver for unpacking. If a user-configured driver supports the same
# suffix as a built-in driver, the user driver is preferred (as in this case).
......
......@@ -33,7 +33,6 @@ fi
# Create directory
mkdir -p "${SNAPSHOT_MOUNT}"
mkdir -p "/var/lib/backup2l"
# Create lvm snapshot of root file system
lvcreate -L10G -s -n "${SNAPSHOT_LV}" "${SOURCE_LV}"
......
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