hidden:Backup with Relax-and-Recover

From Lsdf
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
IBM,Jonathan had installed Relax-and-Recover an all HPSS machines but it has been configured only on HPSS Test Core and HPSS Test Mover
[root@hpsstmvr etc]# /usr/sbin/rear -V
Relax-and-Recover 1.17.1 / Git
This version is not in the git repository any longer
Installed by IBM, Jonathan 
I let this version because it is the version we already made a recovery from.
Should we replace it?
Dorin deployed it on all HPSS machines and installed and configured it on all front end machines on 11.07.2016
Dorin changed the mount point for ReaR backups 
from 
nfs://lsmb02.lsdf.kit.edu/gpfs/nfsshares/scc/hpss/rear/ 
to
nfs://hpa.lsdf.kit.edu/export/hpa/ReaR_Backups/
Reasons:
since the hpss mover 4 has no IP network 141 it is not able to mount the gpfs file system
ReaR makes every day an bare metal backup and keeps only one version on the mounted nfs file system
a TSM backup will be configured for hpa and the "rear backups" will be archived in tsm so that more versions will be kept 
On all machines
ReaR mounts the nfs file system at the running time on /mnt/ba_os_image/
ReaR configuration file /etc/rear/local.conf
Rear log: /var/log/rear/rear-HOSTNAME.log
ReaR default configuration file: /usr/share/rear/conf/default.conf

IMPORTANT
According to relax-and-recover documentation (see /usr/share/rear/conf/default.conf)
# Exclude LVM2 volume groups. This will automatically exclude also the creation of the corresponding
# physical and logical volumes that belong to the excluded volume group.
#
# NOTE: YOU MUST ALSO EXCLUDE THE CORRESPONDING MOUNTPOINTS IN EXCLUDE_MOUNTPOINTS (see above)
#       OTHERWISE THE RECOVERY ***WILL*** TRY TO RECREATE THE FILESYSTEMS ONTO NON-EXISTING LVs
#
#       Y O U   H A V E   B E E N   W A R N E D  ! ! 
EXCLUDE_VG=()

1. Configure Relax-and-recover on a HPSS mover

1.1. check active vg:

root@hpssmvr01 rear]# vgs
VG      #PV #LV #SN Attr   VSize  VFree 
hpss_vg   1   2   0 wz--n- 64.00g 58.00g

1.2. check LV

root@hpssmvr01 rear]# lvs
LV       VG      Attr       LSize Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
hpss_src hpss_vg -wi-ao---- 4.00g                                                    
varhpss  hpss_vg -wi-ao---- 2.00g 

1.3. check the mount points of LV

mount   
/dev/mapper/hpss_vg-varhpss on /varhpss type ext4 (rw)
/dev/mapper/hpss_vg-hpss_src on /hpss_src type ext4 (rw)

1.4. edit /etc/rear/local.conf

cat /etc/rear/localconf
OUTPUT=ISO
BACKUP=NETFS
BACKUP_URL="nfs://lsmb02.lsdf.kit.edu/gpfs/nfsshares/scc/hpss/rear/"
EXCLUDE_MOUNTPOINTS=( '/hpss_src' '/varhpss' '/kdumps' )
EXCLUDE_VG=( 'hpss_vg')

1.4. edit crontab

crontab -l
system backup
0 3 * * * /usr/sbin/rear mkbackup

2. Configure Relax-and-Recover on HPSS core

2.1. check active vg:

2.1.1.On HPSS Test Core

[root@hpsstcr03 ~]# vgs
VG               #PV #LV #SN Attr   VSize   VFree 
db2_backup1_vg     1   1   0 wz--n-   3.64t     0 
db2_log_vg         1   1   0 wz--n-  50.00g     0 
db2_logarch1_vg    1   1   0 wz--n- 831.00g     0 
db2_logarch2_vg    1   1   0 wz--n- 831.00g     0 
db2_logmirror_vg   1   1   0 wz--n- 135.81g 85.81g
hpss1_tbspc1_vg    1   1   0 wz--n- 558.41g     0 
hpss1_tbspc2_vg    1   1   0 wz--n- 558.41g     0 
hpss1_tbspc3_vg    1   1   0 wz--n- 558.41g     0 
hpss1_tbspc4_vg    1   1   0 wz--n- 558.41g     0 
hpss1_tbspc5_vg    1   1   0 wz--n- 558.41g     0 
hpss_vg            2   5   0 wz--n- 200.02g 16.00m

2.1.2. On HPSS Active Core

[root@hpsscr ~]# vgs
VG               #PV #LV #SN Attr   VSize   VFree 
db2_backup1_vg     1   1   0 wz--n-   9.09t      0 
db2_backup2_vg     1   1   0 wz--n-   9.09t      0 
db2_log_vg         1   1   0 wz--n- 185.81g 137.81g
db2_logarch1_vg    1   1   0 wz--n- 931.01g      0 
db2_logarch2_vg    1   1   0 wz--n- 931.01g      0 
db2_logmirror_vg   1   1   0 wz--n- 185.81g 137.81g
hpss_tbspc10_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc11_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc12_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc13_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc14_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc15_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc16_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc17_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc18_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc19_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc1_vg     1   1   0 wz--n- 558.41g      0 
hpss_tbspc20_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc21_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc22_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc23_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc24_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc2_vg     1   1   0 wz--n- 558.41g      0 
hpss_tbspc3_vg     1   1   0 wz--n- 558.41g      0 
hpss_tbspc4_vg     1   1   0 wz--n- 558.41g      0 
hpss_tbspc5_vg     1   1   0 wz--n- 558.41g      0 
hpss_tbspc6_vg     1   1   0 wz--n- 558.41g      0 
hpss_tbspc7_vg     1   1   0 wz--n- 558.41g      0 
hpss_tbspc8_vg     1   1   0 wz--n- 558.41g      0 
hpss_tbspc9_vg     1   1   0 wz--n- 558.41g      0 
hpss_vg            4   5   0 wz--n-   3.64t   3.32t

2.1.3. On HPSS Core 02

[root@hpsscr02 ~]# vgs
VG               #PV #LV #SN Attr   VSize   VFree 
db2_backup1_vg     1   1   0 wz--n-   9.09t      0 
db2_backup2_vg     1   1   0 wz--n-   9.09t      0 
db2_log_vg         1   1   0 wz--n- 185.81g 137.81g
db2_logarch1_vg    1   1   0 wz--n- 931.01g      0 
db2_logarch2_vg    1   1   0 wz--n- 931.01g      0 
db2_logmirror_vg   1   1   0 wz--n- 185.81g 137.81g
hpss_tbspc10_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc11_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc12_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc13_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc14_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc15_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc16_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc17_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc18_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc19_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc1_vg     1   1   0 wz--n- 558.41g      0 
hpss_tbspc20_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc21_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc22_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc23_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc24_vg    1   1   0 wz--n- 558.41g      0 
hpss_tbspc2_vg     1   1   0 wz--n- 558.41g      0 
hpss_tbspc3_vg     1   1   0 wz--n- 558.41g      0 
hpss_tbspc4_vg     1   1   0 wz--n- 558.41g      0 
hpss_tbspc5_vg     1   1   0 wz--n- 558.41g      0 
hpss_tbspc6_vg     1   1   0 wz--n- 558.41g      0 
hpss_tbspc7_vg     1   1   0 wz--n- 558.41g      0 
hpss_tbspc8_vg     1   1   0 wz--n- 558.41g      0 
hpss_tbspc9_vg     1   1   0 wz--n- 558.41g      0 
hpss_vg            4   5   0 wz--n-   3.64t   3.32t


2.2. check LV

2.2.1. On HPSS Test Core

[root@hpsstcr03 ~]# lvs
LV            VG               Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
db2_backup    db2_backup1_vg   -wi-ao----   3.64t 
db2_log       db2_log_vg       -wi-ao----  50.00g 
db2_logarch1  db2_logarch1_vg  -wi-ao---- 831.00g 
db2_logarch2  db2_logarch2_vg  -wi-ao---- 831.00g 
db2_logmirror db2_logmirror_vg -wi-ao----  50.00g 
hpss1_tbspc1  hpss1_tbspc1_vg  -wi-ao---- 558.41g 
hpss1_tbspc2  hpss1_tbspc2_vg  -wi-ao---- 558.41g 
hpss1_tbspc3  hpss1_tbspc3_vg  -wi-ao---- 558.41g 
hpss1_tbspc4  hpss1_tbspc4_vg  -wi-ao---- 558.41g 
hpss1_tbspc5  hpss1_tbspc5_vg  -wi-ao---- 558.41g 
hpss_corefile hpss_vg          -wi-ao----  40.00g 
hpss_src      hpss_vg          -wi-ao----  40.00g 
optdb2        hpss_vg          -wi-ao----  40.00g 
varhpss       hpss_vg          -wi-ao----  40.00g 
varhpssdb     hpss_vg          -wi-ao----  40.00g 

2.2.2. On HPSS Active Core

[root@hpsscr ~]# lvs
LV            VG               Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
db2_backup1   db2_backup1_vg   -wi-ao----   9.09t 
db2_backup2   db2_backup2_vg   -wi-ao----   9.09t 
db2_log       db2_log_vg       -wi-ao----  48.00g 
db2_logarch1  db2_logarch1_vg  -wi-ao---- 931.01g 
db2_logarch2  db2_logarch2_vg  -wi-ao---- 931.01g 
db2_logmirror db2_logmirror_vg -wi-ao----  48.00g 
hpss_tbspc10  hpss_tbspc10_vg  -wi-ao---- 558.41g 
hpss_tbspc11  hpss_tbspc11_vg  -wi-ao---- 558.41g 
hpss_tbspc12  hpss_tbspc12_vg  -wi-ao---- 558.41g 
hpss_tbspc13  hpss_tbspc13_vg  -wi-ao---- 558.41g 
hpss_tbspc14  hpss_tbspc14_vg  -wi-ao---- 558.41g 
hpss_tbspc15  hpss_tbspc15_vg  -wi-ao---- 558.41g 
hpss_tbspc16  hpss_tbspc16_vg  -wi-ao---- 558.41g 
hpss_tbspc17  hpss_tbspc17_vg  -wi-ao---- 558.41g 
hpss_tbspc18  hpss_tbspc18_vg  -wi-ao---- 558.41g 
hpss_tbspc19  hpss_tbspc19_vg  -wi-ao---- 558.41g 
hpss_tbspc1   hpss_tbspc1_vg   -wi-ao---- 558.41g 
hpss_tbspc20  hpss_tbspc20_vg  -wi-ao---- 558.41g 
hpss_tbspc21  hpss_tbspc21_vg  -wi-ao---- 558.41g 
hpss_tbspc22  hpss_tbspc22_vg  -wi-ao---- 558.41g 
hpss_tbspc23  hpss_tbspc23_vg  -wi-ao---- 558.41g 
hpss_tbspc24  hpss_tbspc24_vg  -wi-ao---- 558.41g 
hpss_tbspc2   hpss_tbspc2_vg   -wi-ao---- 558.41g 
hpss_tbspc3   hpss_tbspc3_vg   -wi-ao---- 558.41g 
hpss_tbspc4   hpss_tbspc4_vg   -wi-ao---- 558.41g 
hpss_tbspc5   hpss_tbspc5_vg   -wi-ao---- 558.41g 
hpss_tbspc6   hpss_tbspc6_vg   -wi-ao---- 558.41g 
hpss_tbspc7   hpss_tbspc7_vg   -wi-ao---- 558.41g 
hpss_tbspc8   hpss_tbspc8_vg   -wi-ao---- 558.41g 
hpss_tbspc9   hpss_tbspc9_vg   -wi-ao---- 558.41g 
hpss_corefile hpss_vg          -wi-ao----  64.00g 
hpss_src      hpss_vg          -wi-ao----  64.00g 
optdb2        hpss_vg          -wi-ao----  64.00g 
varhpss       hpss_vg          -wi-ao----  64.00g 
varhpssdb     hpss_vg          -wi-ao----  64.00g  
                                               

2.2.3. On HPSS Core 02

[root@hpsscr02 ~]# lvs
LV            VG               Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
db2_backup1   db2_backup1_vg   -wi-------   9.09t 
db2_backup2   db2_backup2_vg   -wi-------   9.09t 
db2_log       db2_log_vg       -wi-------  48.00g 
db2_logarch1  db2_logarch1_vg  -wi------- 931.01g 
db2_logarch2  db2_logarch2_vg  -wi------- 931.01g 
db2_logmirror db2_logmirror_vg -wi-------  48.00g 
hpss_tbspc10  hpss_tbspc10_vg  -wi------- 558.41g 
hpss_tbspc11  hpss_tbspc11_vg  -wi------- 558.41g 
hpss_tbspc12  hpss_tbspc12_vg  -wi------- 558.41g 
hpss_tbspc13  hpss_tbspc13_vg  -wi------- 558.41g 
hpss_tbspc14  hpss_tbspc14_vg  -wi------- 558.41g 
hpss_tbspc15  hpss_tbspc15_vg  -wi------- 558.41g 
hpss_tbspc16  hpss_tbspc16_vg  -wi------- 558.41g 
hpss_tbspc17  hpss_tbspc17_vg  -wi------- 558.41g 
hpss_tbspc18  hpss_tbspc18_vg  -wi------- 558.41g 
hpss_tbspc19  hpss_tbspc19_vg  -wi------- 558.41g 
hpss_tbspc1   hpss_tbspc1_vg   -wi------- 558.41g 
hpss_tbspc20  hpss_tbspc20_vg  -wi------- 558.41g 
hpss_tbspc21  hpss_tbspc21_vg  -wi------- 558.41g 
hpss_tbspc22  hpss_tbspc22_vg  -wi------- 558.41g 
hpss_tbspc23  hpss_tbspc23_vg  -wi------- 558.41g 
hpss_tbspc24  hpss_tbspc24_vg  -wi------- 558.41g 
hpss_tbspc2   hpss_tbspc2_vg   -wi------- 558.41g 
hpss_tbspc3   hpss_tbspc3_vg   -wi------- 558.41g 
hpss_tbspc4   hpss_tbspc4_vg   -wi------- 558.41g 
hpss_tbspc5   hpss_tbspc5_vg   -wi------- 558.41g 
hpss_tbspc6   hpss_tbspc6_vg   -wi------- 558.41g 
hpss_tbspc7   hpss_tbspc7_vg   -wi------- 558.41g 
hpss_tbspc8   hpss_tbspc8_vg   -wi------- 558.41g 
hpss_tbspc9   hpss_tbspc9_vg   -wi------- 558.41g 
hpss_corefile hpss_vg          -wi-------  64.00g 
hpss_src      hpss_vg          -wi-------  64.00g 
optdb2        hpss_vg          -wi-------  64.00g 
varhpss       hpss_vg          -wi-------  64.00g 
varhpssdb     hpss_vg          -wi-------  64.00g 
                      

2.3. check the mount points of LV

2.3.1. On HPSS Test Core

[root@hpsstcr03 ~]# mount
/dev/sda3 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda1 on /boot type ext4 (rw)
/dev/sda2 on /localhome type ext4 (rw)
/dev/sda6 on /kdumps type ext4 (rw)
/dev/mapper/db2_backup1_vg-db2_backup on /db2_backup type ext4 (rw)
/dev/mapper/db2_logarch1_vg-db2_logarch1 on /db2_logarchived1 type ext4 (rw)
/dev/mapper/db2_logarch2_vg-db2_logarch2 on /db2_logarchived2 type ext4 (rw)
/dev/mapper/db2_logmirror_vg-db2_logmirror on /db2_logmirror type ext4 (rw)
/dev/mapper/db2_log_vg-db2_log on /db2_log type ext4 (rw)
/dev/mapper/hpss1_tbspc1_vg-hpss1_tbspc1 on /hpss1_tbspc1 type ext4 (rw)
/dev/mapper/hpss1_tbspc2_vg-hpss1_tbspc2 on /hpss1_tbspc2 type ext4 (rw)
/dev/mapper/hpss1_tbspc3_vg-hpss1_tbspc3 on /hpss1_tbspc3 type ext4 (rw)
/dev/mapper/hpss1_tbspc4_vg-hpss1_tbspc4 on /hpss1_tbspc4 type ext4 (rw)
/dev/mapper/hpss1_tbspc5_vg-hpss1_tbspc5 on /hpss1_tbspc5 type ext4 (rw)
/dev/mapper/hpss_vg-hpss_corefile on /hpss_corefiles type ext4 (rw)
/dev/mapper/hpss_vg-hpss_src on /hpss_src type ext4 (rw)
/dev/mapper/hpss_vg-optdb2 on /optdb2 type ext4 (rw)
/dev/mapper/hpss_vg-varhpss on /varhpss type ext4 (rw)
/dev/mapper/hpss_vg-varhpssdb on /varhpssdb type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)


2.3.2. On HPSS Active Core

[root@hpsscr ~]# mount
/dev/sda3 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda1 on /boot type ext4 (rw)
/dev/sda2 on /localhome type ext4 (rw)
/dev/sda6 on /kdumps type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/mapper/db2_backup1_vg-db2_backup1 on /db2_backup1 type ext4 (rw)
/dev/mapper/db2_backup2_vg-db2_backup2 on /db2_backup2 type ext4 (rw)
/dev/mapper/db2_logarch1_vg-db2_logarch1 on /db2_logarchived1 type ext4 (rw)
/dev/mapper/db2_logarch2_vg-db2_logarch2 on /db2_logarchived2 type ext4 (rw)
/dev/mapper/db2_logmirror_vg-db2_logmirror on /db2_logmirror type ext4 (rw)
/dev/mapper/db2_log_vg-db2_log on /db2_log type ext4 (rw)
/dev/mapper/hpss_vg-hpss_corefile on /hpss_corefile type ext4 (rw)
/dev/mapper/hpss_vg-hpss_src on /hpss_src type ext4 (rw)
/dev/mapper/hpss_vg-optdb2 on /optdb2 type ext4 (rw)
/dev/mapper/hpss_vg-varhpss on /varhpss type ext4 (rw)
/dev/mapper/hpss_vg-varhpssdb on /varhpssdb type ext4 (rw)
/dev/mapper/hpss_tbspc1_vg-hpss_tbspc1 on /hpss_tbspc1 type ext4 (rw)
/dev/mapper/hpss_tbspc2_vg-hpss_tbspc2 on /hpss_tbspc2 type ext4 (rw)
/dev/mapper/hpss_tbspc3_vg-hpss_tbspc3 on /hpss_tbspc3 type ext4 (rw)
/dev/mapper/hpss_tbspc4_vg-hpss_tbspc4 on /hpss_tbspc4 type ext4 (rw)
/dev/mapper/hpss_tbspc5_vg-hpss_tbspc5 on /hpss_tbspc5 type ext4 (rw)
/dev/mapper/hpss_tbspc6_vg-hpss_tbspc6 on /hpss_tbspc6 type ext4 (rw)
/dev/mapper/hpss_tbspc7_vg-hpss_tbspc7 on /hpss_tbspc7 type ext4 (rw)
/dev/mapper/hpss_tbspc8_vg-hpss_tbspc8 on /hpss_tbspc8 type ext4 (rw)
/dev/mapper/hpss_tbspc9_vg-hpss_tbspc9 on /hpss_tbspc9 type ext4 (rw)
/dev/mapper/hpss_tbspc10_vg-hpss_tbspc10 on /hpss_tbspc10 type ext4 (rw)
/dev/mapper/hpss_tbspc11_vg-hpss_tbspc11 on /hpss_tbspc11 type ext4 (rw)
/dev/mapper/hpss_tbspc12_vg-hpss_tbspc12 on /hpss_tbspc12 type ext4 (rw)
/dev/mapper/hpss_tbspc13_vg-hpss_tbspc13 on /hpss_tbspc13 type ext4 (rw)
/dev/mapper/hpss_tbspc14_vg-hpss_tbspc14 on /hpss_tbspc14 type ext4 (rw)
/dev/mapper/hpss_tbspc15_vg-hpss_tbspc15 on /hpss_tbspc15 type ext4 (rw)
/dev/mapper/hpss_tbspc16_vg-hpss_tbspc16 on /hpss_tbspc16 type ext4 (rw)
/dev/mapper/hpss_tbspc17_vg-hpss_tbspc17 on /hpss_tbspc17 type ext4 (rw)
/dev/mapper/hpss_tbspc18_vg-hpss_tbspc18 on /hpss_tbspc18 type ext4 (rw)
/dev/mapper/hpss_tbspc19_vg-hpss_tbspc19 on /hpss_tbspc19 type ext4 (rw)
/dev/mapper/hpss_tbspc20_vg-hpss_tbspc20 on /hpss_tbspc20 type ext4 (rw)
/dev/mapper/hpss_tbspc21_vg-hpss_tbspc21 on /hpss_tbspc21 type ext4 (rw)
/dev/mapper/hpss_tbspc22_vg-hpss_tbspc22 on /hpss_tbspc22 type ext4 (rw)
/dev/mapper/hpss_tbspc23_vg-hpss_tbspc23 on /hpss_tbspc23 type ext4 (rw)
/dev/mapper/hpss_tbspc24_vg-hpss_tbspc24 on /hpss_tbspc24 type ext4 (rw)
gvfs-fuse-daemon on /root/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev)


2.3.3. On HPSS Core 02

[root@hpsscr02 ~]# mount
/dev/sda3 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda1 on /boot type ext4 (rw)
/dev/sda2 on /localhome type ext4 (rw)
/dev/sda6 on /kdumps type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)


2.4. edit /etc/rear/local.conf

2.4.1. On HPSS Test Core [root@hpsstcr03 ~]# cat /etc/rear/local.conf

# Default is to create Relax-and-Recover rescue media as ISO image
# set OUTPUT to change that
# set BACKUP to activate an automated (backup and) restore of your data
# Possible configuration values can be found in /usr/share/rear/conf/default.conf
#
# This file (local.conf) is intended for manual configuration. For configuration
# through packages and other automated means we recommend creating a new
# file named site.conf next to this file and to leave the local.conf as it is.
# Our packages will never ship with a site.conf.
OUTPUT=ISO
BACKUP=NETFS
#BACKUP_URL="nfs://bwfilestorage.lsdf.kit.edu/ibm/gpfs3/lsdf/hpss/rear/"
#BACKUP_URL="nfs://lsmb02.lsdf.kit.edu/gpfs/nfsshares/scc/hpss/rear/"
BACKUP_URL="nfs://hpa.lsdf.kit.edu/export/hpa/ReaR_Backups/"
EXCLUDE_MOUNTPOINTS=(
'/optdb2' '/db2_backup' '/db2_log' '/db2_logarchived1' '/db2_logarchived2' '/db2_logmirror'
'/hpss_corefiles' '/hpss_src' '/varhpss' '/varhpssdb' '/hpss1_tbspc1' '/hpss1_tbspc2' '/hpss1_tbspc3' '/hpss1_tbspc4' '/hpss1_tbspc5'
) EXCLUDE_VG=(
'db2_logarch2_vg' 'hpss_vg' 'db2_logarch1_vg' 'db2_backup1_vg' 'db2_logmirror_vg' 'db2_log_vg' ' '
'hpss1_tbspc5_vg' 'hpss1_tbspc4_vg' 'hpss1_tbspc3_vg' 'hpss1_tbspc2_vg' 'hpss1_tbspc1_vg'
)


2.4.2. On HPSS Active Core

[root@hpsscr ~]# cat /etc/rear/local.conf
# Default is to create Relax-and-Recover rescue media as ISO image
# set OUTPUT to change that
# set BACKUP to activate an automated (backup and) restore of your data
# Possible configuration values can be found in /usr/share/rear/conf/default.conf
#
# This file (local.conf) is intended for manual configuration. For configuration
# through packages and other automated means we recommend creating a new
# file named site.conf next to this file and to leave the local.conf as it is.
# Our packages will never ship with a site.conf.
#BACKUP_URL="nfs://lsmb02.lsdf.kit.edu/gpfs/nfsshares/scc/hpss/rear/"
BACKUP_URL="nfs://hpa.lsdf.kit.edu/export/hpa/ReaR_Backups/"EXCLUDE_MOUNTPOINTS=(' 
/db2_backup1' '/db2_backup2' '/db2_logarchived1' '/db2_logarchived2' '/db2_logmirror'
'/db2_log' '/hpss_corefile' '/hpss_src' '/optdb2' '/varhpss'
'/varhpssdb' '/hpss_tbspc1' '/hpss_tbspc2' '/hpss_tbspc3' '/hpss_tbspc4' '/hpss_tbspc5'
'/hpss_tbspc6' '/hpss_tbspc7' '/hpss_tbspc8' '/hpss_tbspc9' '/hpss_tbspc10'
'/hpss_tbspc11' '/hpss_tbspc12' '/hpss_tbspc13' '/hpss_tbspc14' '/hpss_tbspc15'
'/hpss_tbspc16' '/hpss_tbspc17' '/hpss_tbspc18' '/hpss_tbspc19' '/hpss_tbspc20' '/hpss_tbspc21'
'/hpss_tbspc22' '/hpss_tbspc23 ' '/hpss_tbspc24'
) EXCLUDE_VG=(
'db2_backup1_vg' 'db2_backup2_vg' 'db2_log_vg' 'db2_logarch1_vg' 'db2_logarch2_vg' 'db2_logmirror_vg'
'hpss_tbspc10_vg' 'hpss_tbspc11_vg' 'hpss_tbspc12_vg' 'hpss_tbspc13_vg' 'hpss_tbspc14_vg' 'hpss_tbspc15_vg'
'hpss_tbspc16_vg' 'hpss_tbspc17_vg' 'hpss_tbspc18_vg' 'hpss_tbspc19_vg' 'hpss_tbspc1_vg'
'hpss_tbspc20_vg' 'hpss_tbspc21_vg' 'hpss_tbspc22_vg' 'hpss_tbspc23_vg' 'hpss_tbspc24_vg' 'hpss_tbspc2_vg'
'hpss_tbspc3_vg' 'hpss_tbspc4_vg' 'hpss_tbspc5_vg'
'hpss_tbspc6_vg' 'hpss_tbspc7_vg' 'hpss_tbspc8_vg' 'hpss_tbspc9_vg' 'hpss_vg'
)

2.4.3. On HPSS Core 02