Blame SOURCES/rear-sfdc02772301.patch

b9f7b3
diff --git a/usr/share/rear/conf/default.conf b/usr/share/rear/conf/default.conf
b9f7b3
index 9ada92c3..455aa3ce 100644
b9f7b3
--- a/usr/share/rear/conf/default.conf
b9f7b3
+++ b/usr/share/rear/conf/default.conf
b9f7b3
@@ -1813,7 +1813,7 @@ OBDR_BLOCKSIZE=2048
b9f7b3
 # BACKUP=NBU stuff (Symantec/Veritas NetBackup)
b9f7b3
 ##
b9f7b3
 #
b9f7b3
-COPY_AS_IS_NBU=( /usr/openv/bin/vnetd /usr/openv/bin/vopied /usr/openv/lib /usr/openv/netbackup /usr/openv/var/auth/[mn]*.txt )
b9f7b3
+COPY_AS_IS_NBU=( /usr/openv/bin/vnetd /usr/openv/bin/vopied /usr/openv/lib /usr/openv/netbackup /usr/openv/var/auth/[mn]*.txt /opt/VRTSpbx /etc/vx/VxICS /etc/vx/vrtslog.conf )
b9f7b3
 COPY_AS_IS_EXCLUDE_NBU=( /usr/openv/netbackup/logs "/usr/openv/netbackup/bin/bpjava*" /usr/openv/netbackup/bin/xbp /usr/openv/netbackup/bin/private /usr/openv/lib/java /usr/openv/lib/shared/vddk /usr/openv/netbackup/baremetal )
b9f7b3
 # See https://github.com/rear/rear/issues/2105 why /usr/openv/netbackup/sec/at/lib/ is needed:
b9f7b3
 NBU_LD_LIBRARY_PATH="/usr/openv/lib:/usr/openv/netbackup/sec/at/lib/"
b9f7b3
diff --git a/usr/share/rear/rescue/NBU/default/450_prepare_netbackup.sh b/usr/share/rear/rescue/NBU/default/450_prepare_netbackup.sh
b9f7b3
index cd48b8d9..ae5a3ccc 100644
b9f7b3
--- a/usr/share/rear/rescue/NBU/default/450_prepare_netbackup.sh
b9f7b3
+++ b/usr/share/rear/rescue/NBU/default/450_prepare_netbackup.sh
b9f7b3
@@ -7,6 +7,12 @@
b9f7b3
 
b9f7b3
 [[ $NBU_version -lt 7 ]] && return	# NBU is using xinetd when version <7.x
b9f7b3
 
b9f7b3
+if [ -e "/etc/init.d/vxpbx_exchanged" ]; then
b9f7b3
+	cp $v /etc/init.d/vxpbx_exchanged $ROOTFS_DIR/etc/scripts/system-setup.d/vxpbx_exchanged.real
b9f7b3
+	chmod $v +x $ROOTFS_DIR/etc/scripts/system-setup.d/vxpbx_exchanged.real
b9f7b3
+	echo "( /etc/scripts/system-setup.d/vxpbx_exchanged.real start )" > $ROOTFS_DIR/etc/scripts/system-setup.d/89-vxpbx_exchanged.sh
b9f7b3
+fi
b9f7b3
+
b9f7b3
 if [ -e "/etc/init.d/netbackup" ]; then
b9f7b3
 	cp $v /etc/init.d/netbackup $ROOTFS_DIR/etc/scripts/system-setup.d/netbackup.real
b9f7b3
 	chmod $v +x $ROOTFS_DIR/etc/scripts/system-setup.d/netbackup.real
b9f7b3
diff --git a/usr/share/rear/skel/NBU/usr/openv/tmp/.gitignore b/usr/share/rear/skel/NBU/usr/openv/tmp/.gitignore
b9f7b3
new file mode 100644
b9f7b3
index 00000000..d6b7ef32
b9f7b3
--- /dev/null
b9f7b3
+++ b/usr/share/rear/skel/NBU/usr/openv/tmp/.gitignore
b9f7b3
@@ -0,0 +1,2 @@
b9f7b3
+*
b9f7b3
+!.gitignore