Skip to content

Commit 9729853

Browse files
committed
RELEASE version
1 parent 5735bd1 commit 9729853

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,18 @@ As root on the LVM Host system ("Dom0" in XEN):
2424
- copy files to the host system
2525
- edit config file /etc/xenbackup.conf
2626
- list your volumes in /etc/xenback_vols
27-
- check config of backup-manager /etc/backup-manager.conf (mainly point BM_REPOSITORY_ROOT="/backup/guests" to the "BCKMNTP" mountpoint in the scripts)
27+
- check config of backup-manager /etc/backup-manager.conf (mainly point BM_REPOSITORY_ROOT="/backup/guests" to your real backup volumes mountpoint and/or adapt mountpoint in /etc/fstab)
2828

2929

3030
CHANGES
3131
----
3232
This is productive software, but comes without any warranty!
3333

34+
1.1 RELEASE
35+
- simplified config for more modern environments
36+
- mount / backup job delays
37+
- bug fixes
38+
3439
1.0a
3540
- single config file
3641
- generic pathes

etc/backup-manager.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export BM_REPOSITORY_RECURSIVEPURGE="true"
5757
export BM_ARCHIVE_PURGEDUPS="true"
5858

5959
# Prefix of every archive on that box (default is HOSTNAME)
60-
export BM_ARCHIVE_PREFIX="xen2"
60+
# export BM_ARCHIVE_PREFIX="xen"
6161

6262
# Should we purge only archives built with $BM_ARCHIVE_PREFIX
6363
export BM_ARCHIVE_STRICTPURGE="true"

usr/local/sbin/backup_all_guests

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ then
4343
TARBALL_DIRECTORY=""
4444
export TARBALL_DIRECTORY
4545

46+
# backup file prefix is hostname
47+
BM_ARCHIVE_PREFIX=$HOSTN
48+
export BM_ARCHIVE_PREFIX
49+
50+
4651
BDOM=$($BIN_ECHO $NAME | $BIN_CUT -d '|' -f 1)
4752
BNAME=$($BIN_ECHO $NAME | $BIN_CUT -d '|' -f 2)
4853
BVOL=$($BIN_ECHO $NAME | $BIN_CUT -d '|' -f 3)
@@ -73,6 +78,10 @@ then
7378
echo "Directory in Backup aufnehmen: $TARBALL_DIRECTORY"
7479

7580

81+
# backup file prefix is hostname
82+
BM_ARCHIVE_PREFIX=$HOSTN
83+
export BM_ARCHIVE_PREFIX
84+
7685
# set dirs to backup as var for backup-manager
7786
BM_TARBALL_DIRECTORIES="$BM_TARBALL_DIRECTORIES $TARBALL_DIRECTORY"
7887
export BM_TARBALL_DIRECTORIES

usr/local/sbin/snaps_backup_mount

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ SNAPVOLUME=$SRCVOL.back
3131
TARBALL_DIRECTORIES=""
3232
export TARBALL_DIRECTORIES
3333

34-
3534
### MAIN
3635

3736
if [ $5 ] && [ $BIN_LVCREATE ]

0 commit comments

Comments
 (0)