#297 Issue closed: ReaR non-root VG in SAN Storage excluded in the Image Backup but should be imported automatically once the OS is recovered.

Labels: support / question

msgameng opened issue at 2013-09-09 17:32:

Please direct me to the case # if this case has already been answered elsewhere before.
If not this is what I have been trying to do:

Simple background of my case:

  1. root file system is on one disk
  2. /data2 is on another/separate disk/device
    3.I have taken backup image of the OS excluding the content of /data2 using the local.conf config below.

I wanted to restore the OS on NEW DISK and import whatever the content of the device where /data2 filesystem was on.

I am able to recover the OS but /data2 is empty and looks like the device has been initialized and not imported back onto the OS.

Can you please let me know the correct/appropriate local.conf configuration to achieve my objective?

Thanks,

Mauro

====================================================
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/vg_centos-lv_root
                      18101012   3534944  13646516  21% /
tmpfs                  1465128         0   1465128   0% /dev/shm
/dev/sda1               545484    106148    428252  20% /boot
/dev/mapper/data2-lvol0
                      10316472    154100   9952740   2% /data2
=====================================================
[root@CentOS rear]# cat local.conf
# sample local configuration

# Create Rear rescue media as ISO image
OUTPUT=ISO
BACKUP_PROG_EXCLUDE=( "${BACKUP_PROG_EXCLUDE[@]}" '/data2/*' )
BACKUP=NETFS
NETFS_URL=nfs://nfs_srvr/images/CentOS
NETFS_KEEP_OLD_BACKUP_COPY=2
======================================================

gdha commented at 2013-10-04 11:55:

See also issue #291 - /dev/mapper/data2 got wiped out because it was not excluded.

gdha commented at 2013-11-04 15:49:

@msgameng was your question answered? Or do you have still some doubts?

msgameng commented at 2013-12-11 22:52:

Yes. Everything is working now. Thanks.


[Export of Github issue for rear/rear.]