目录
1、SSH进入NBU服务器系统
用户名:172.18.1.9
密码:P@ssw0rd***&^%***
2、处理步骤
(1)第一步查看
YCZBJTBACKUP.Main_Menu> support
Entering NetBackup support view... Checkpoint Appliance Checkpoint Management. Cleanup Clean or reset specific appliance monitoring data. Collect Collect appliance details and transmit to Veritas. DataCollect Gather device logs. Disk Gather disk information. Errors Display NetBackup errors. Exit Log out and exit from the current shell. FactoryReset Reset this system to factory install image FibreTransport Advanced settings. InfraServices Show/control infrastructure services. iostat Execute the iostat command. IPMI Remote management port configuration. KillRemoteCall Terminate running or hung remote calls on peer compute nodes. Logs Set level, share, unshare, view, and upload debug logs. Maintenance Launch maintenance shell. Messages Display the messages file. NBDNA Network traces with NBDNA tool (Select Create or Remove). Nbperfchk Execute the disk IO or network bandwidth check. NBSU Manage NetBackup support data files (Select Create or Remove). Processes Show/control NetBackup and Admin Console processes. Reboot Reboot the system. RecoverStorage View or delete directories backed up during appliance re-image. Return Return to the previous menu. Service Service management. Shell Shell operations. Show Display information. Shutdown Power off the system. Storage Storage data and configuration Test Test the current status of various appliance components.
(2)第二步Maintenance,输入密码
YCZBJTBACKUP.Support> Maintenance
<!-- Maintenance Mode --!> maintenance's password: P@ssw0rd***&^%*** maintenance-!> /opt/Symantec/sdcssagent/IPS/sisipsoverride.sh Symantec Data Center Security Server Policy Override Agent Version: 6.7.3 (build 1473) Current Policy: NetBackup Appliance Prevention Policy, r142 Policy Prevention: Enabled Policy Override: Allowed Override State: Not overridden To override the policy and disable protection, enter your login password. Password:P@ssw0rd***&^%***
(3)选择保护模式
Choose the type of override that you wish to perform: 1. Override Prevention except for Self-Protection 2. Override Prevention Completely Choice? [1] 1 Choose the amount of time after which to automatically re-enable: 1. 15 minutes 2. 30 minutes 3. 1 hour 4. 2 hours 5. 4 hours 6. 8 hours Choice? [1] 6
Enter a comment. Press Enter to continue. Please wait while the policy is being overridden. ................. The policy was successfully overridden.
(4)输入elevate,进入标准linux系统
maintenance-!> elevate
YCZBJTBACKUP:/home/maintenance # df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/system-root 90G 36G 50G 42% / devtmpfs 59G 0 59G 0% /dev tmpfs 59G 2.1M 59G 1% /dev/shm tmpfs 59G 22G 38G 36% /run tmpfs 59G 0 59G 0% /sys/fs/cgroup /dev/sdc1 477M 100M 348M 23% /boot /dev/mapper/systemlog-log 512G 78G 409G 16% /log /dev/mapper/system-rep 244G 19G 214G 8% /repository /dev/mapper/system-inst 49G 1.6G 45G 4% /inst tmpfs 4.0K 0 4.0K 0% /dev/vx tmpfs 12G 0 12G 0% /run/user/888 /dev/vx/dsk/nbuapp/catvol 250G 29G 221G 12% /cat /dev/vx/dsk/nbuapp/pdcatvol 120G 514M 119G 1% /msdp/cat /dev/vx/dsk/nbuapp/pdvol 27T 22T 5.1T 81% /msdp/data/dp1/pdvol /dev/vx/dsk/nbuapp/cfgvol 100G 861M 99G 1% /config tmpfs 12G 0 12G 0% /run/user/0
(5)找到其中任意备份的ID号,可以在目录库中查看
YCZBJTBACKUP:/home/maintenance # bpimagelist -backupid ERP-DEV-SUSE11_172.18.1.22_1630184414 -U Backed UP Expires Files KB C Sched Type On Hold Policy ---------------- ---------- -------- -------- - --------------- ------- ------------ 08/29/2021 05:00 10/30/2021 397152 117865255 N Full Backup 0 VM_EPR_DEV_172.18.1.22_Monday_5
(6)执行延期操作
YCZBJTBACKUP:/home/maintenance # bpexpdate -backupid ERP-DEV-SUSE11_172.18.1.22_1630184414 -d 11/29/2021
Are you SURE you want to change ERP-DEV-SUSE11_172.18.1.22_1630184414 to expire on Mon 29 Nov 2021 12:00:00 AM CS y/n (n)? y