Showing posts with label Backup Management. Show all posts
Showing posts with label Backup Management. Show all posts

Backup Netbackup How to share tape drive on Master server/Media server on AIX for mksysb to tape with NBU

** Myself
Before backup
1./usr/openv/netbackup/bin/admincmd/bp.kill_all
2.Insert LTO catridge to Library
3.Load LTO catridge to LTO DRIVE via Library Front Panel
4.smit tape -> change/show characteristic -> rmt0
  change block size to 1024 -> enter
5.smit mksysb -> choose rmt0 -> change expand /tmp to yes –> enter
After Backup
1.Unload tape from LTO Drive to Library Slot
2.Remove LTO catridge from the Library
3.Wait until The Library finished inventory itself
4./usr/openv/netbackuo/bin/admincmd/netbackup
5.At NBU Console go to MEDIA -> right click and inventory -> update volume config -> start -> yes
6.Test catalog backup by , go to catalog -> right click and backup netbackup catalog
7.Look at Activity to ensure that Catalig backup is complete

Netbackup MS SQL backup Client hold (parent killed) and can’t new backup. (spawn Application-Backup jobs after the parent job was canceled by the administrator) NBU 6.5.3

** Myself
From Task manager
dbbackex.exe (child process from bp process of netbackup)
clip_image002
clip_image004
Cant’ killed
clip_image006
Can’t change template backup file
From Enterprise Manager See SQL process mapping one to one with Netbackup child process.
clip_image008
Select process -> kill process
Refresh view
clip_image002[5]

Backup Dataprotector restore windows for disaster machine with relocate disk

a** Myself
Backup window by DP
- Install sw & license open file for win to client machine
- Backup C: and Configuration
Restore window by DP
- Find another machine has same machine type which is install sw DP client for restore
- Create RAID config same as disaster machine (ex 1+0) and create partition & drive
- Restore tab from DP --> task --> disaster recovery --> disaster recovery with disk delivery --> c: --> configuration --> c:\ mapped to new drive
- Move Raid disk (if 1+0 then move 1 disk to another machine ) to disaster machine
# Move Raid disk is importance because Raid disk must be hold position if lost disk array group will be Raid can’t see disk device

Unix OS AIX Backup command

** Myself
Backup AIX
-System backup = rootvg
-Volume group backup = vg(data)
-File system Backup = /mount point
-File & directory backup
Backup rootvg
edit file /image.data /bosinst.data
mksysb image= kernel + /image.data,/bosinstdata + dummy toc + rootvg
smit sysbackup --or-- smit mksysb
mksysb

Restore rootvg
70 Gb --> shrinkfile opton 36 Gb
allocate used allocate used
/ 10 G 1G /1G /1Gb
Restoring a mksysb
boot cd --> 3 start maintenance mode -->4 install from a system backup --> choose device-->2 change/show -->choose disk,shrink
Backup vg
smit savevg

Unix General Command for backup

** Myself
Command
Gzip
gzip –d file = gunzip
gunzip –c file = zcat
gzip –dc file =gunzip –c file = zcat
Tar
compress
--> tar -cvf /dev/rmt/0mn X1 X2 X3
--> tar –cvf file.tar X1 X2 X3|
Extract
--> tar -xvf /dev/rmt/0mn
--> tar –xvf file.tar
Read
--> tar -tvf /dev/rmt/0mn
--> tar –tvf file.tar
Tar to another machine
--> remsh <name> “(cd /dir; tar cf - ./.passwd )” | tar xf -
Tar&gzip
compress
--> tar cvf – file|gzip > file.tar.gz
--> tar –cvf file.tar X1 X2 X3|gzip file.tar.gz
Extract
--> gunzip –q < file.tar.gz | tar xvf –

Backup Concept Netbackup

** Myself
Stop   /usr/openv/netbackup/bin/goodies/bp.kill_all
Start  /usr/openv/netbackup/bin/goodies/netbackup
Stucture (command access lan,all media server sea robot)
-Master/media (Master server control robot,share drive ,and command access lan,data access lan to tape)
  - 1 master with media (and client)
  - 1 client
-Master,media (Media server control robot,share drive ,and command access lan,data access lan to tape)
  - Master
  - media
  - client
-Master,Media,SAN Media(sso) /LAN free(Master server control robot,share drive ,and command access lan,data access san to tape)
  - Master
  - any SAN Media
  - client
Loading