New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't recover my Oracle Linux server with Netbackup (NBU) using Rear. #457
Comments
Hi - see issue #454 to get some insight in the problems you have encountered. I believe they are the same. Is there any reason why you added NBU stuff into the |
Hi, |
Hi, the server cannot start all the needed services. But it does boot partially. So there should be a /var/log/messages file containing hints what it is missing. Could you boot the machine from some Live CD and get the messages log file from the servers disk. |
@kichoc You could use the rear iso to boot from to further investigate your |
Hi, |
Tested this again and no .autorelabel file is created under /mnt/local as there is with netfs. |
Hello
I’m having issues recovering an Oracle Linux server with Rear and NBU.
I have no issues recovering this same Oracle Linux server with Rear and Netfs but when I try with NBU the recover process seems to work (see below)
08:36:06 (67385.001) chmod 555 /mnt/local/usr/share/empty to reset permissions.
08:36:07 (67385.001) chmod 511 /mnt/local/var/run/cups/certs to reset permissions.
08:36:07 (67385.001) chmod 600 /mnt/local/var/opt/VRTSsfmh/vea to reset permissions.
08:36:07 (67385.001) chmod 600 /mnt/local/var/opt/VRTSsfmh/veaintf to reset permissions.
08:36:21 (67385.001) INF - TAR EXITING WITH STATUS = 0
08:36:21 (67385.001) INF - TAR RESTORED 139769 OF 139769 FILES SUCCESSFULLY
08:36:21 (67385.001) INF - TAR KEPT 0 EXISTING FILES
08:36:21 (67385.001) INF - TAR PARTIALLY RESTORED 0 FILES
08:36:22 (67385.001) Status of restore from image created 08/26/14 15:34:39 = the requested operation was successfully completed
08:36:24 (67385.xxx) INF - Status = the requested operation was successfully completed.
But when I go to reboot the server it does not boot with the below errors.
There is no console login prompt after the reboot and can’t ping the server so it doesn’t seem to restore networking etc.
Has anyone seen this before?
I’m running
rear-1.16.1-1
Netbackup server 6.5.5
Netbackup client 6.5
Oracle Linux Server release 5.7
Also tried it on:
Netbackup server 7.5
Netbackup client 7.0
using rear-1.16.1-1
and has the same result.
Here is my local.conf
OUTPUT=ISO
BACKUP=NBU
COPY_AS_IS_NBU=( /usr/openv/bin/vnetd /usr/openv/bin/vopied /usr/openv/lib /usr/openv/netbackup /usr/openv/var/auth/[mn].txt )
COPY_AS_IS_EXCLUDE_NBU=( "/usr/openv/netbackup/logs/" "/usr/openv/netbackup/bin/bpjava*" "/usr/openv/netbackup/bin/xbp" )
PROGS_NBU=( )
PROGS=( "${PROGS[@]}"
lsof
ssh-keygen )
I’m trying to recover from a Netbackup full backup including /boot and /.
I have also tried performing the backup using “ALL_LOCAL_DRIVES” and /boot which exhibits the same problem.
I can restore single files onto this client through bprestore so I know netbackup is working as it should.
One thing I have noticed is that there is no relabeling performed when I recover with NBU compared to Netfs which always performs a relabel on initial reboot after the recover.
Not sure if this should be the case or not?
Any help will be appreciated as I don’t think I will get anywhere with Symantec as they will try and push me to use their BMR which is too complicated and cumbersome compared to Rear.
Thanks.
The text was updated successfully, but these errors were encountered: