Sponsored Content
Full Discussion: AIX backup and restore
Operating Systems AIX AIX backup and restore Post 49761 by Optimus_P on Friday 9th of April 2004 03:46:11 PM
Old 04-09-2004
if your looking just for a copy of all the files then just tar it all up and put it on another vg.

but if you render the rootvg inoperable in your testing your going to want a mksysb tape to boot from and restore to the contents on tape.

you could always use the backup command and direct the contents to the remote drive. but again have a mksysb avaliable incase you destroy the rootvg.

Code:
man backup

-f Device Specifies the output device. To send output to a named device, specify
the Device variable as a path name (such as /dev/rmt0). To send output to the
standard output device, specify a - (minus sign). The - (minus) feature enables
you to pipe the output of the backup command to the dd command.

You can also specify a range of archive devices. The range specification must be
in the following format:
/dev/deviceXXX-YYY

where XXX and YYY are whole numbers, and XXX must always be less than YYY; for
example, /dev/rfd0-3.

All devices in the specified range must be of the same type. For example, you
can use a set of 8mm, 2.3GB tapes or a set of 1.44MB diskettes. All tape devices
must be set to the same physical tape block size.

If the Device variable specifies a range, the backup command automatically goes
from one device in the range to the next. After exhausting all of the specified
devices, the backup command halts and requests that new volumes be mounted on
the range of devices.

/usr/sbin/backup -f <DEVICE> -0 -u <FS>
 

10 More Discussions You Might Find Interesting

1. Solaris

Backup / restore

Hi.... everyone could help me to understand how to do a backup of my servers .. operating systems is sun solaris 8 . I have some question about .... 1) Is better backup phisical disk or partition ??? i sow the command is ufsdump 0cfu /expbck/bcksunver/c0t0d0s5 dev/dsk/c0t0d0s5 to... (4 Replies)
Discussion started by: tt155
4 Replies

2. AIX

Backup and restore

I have several H80 machines, all with AIX 4.3.3. On these machines I have mksysb running for rootvg backups and savevg for non-rootvg backups. I'm trying to get a list of files on the tapes, but I can't seem to do it with tar for the mksysb images. I keep getting the directory checksum errors?... (3 Replies)
Discussion started by: uXion
3 Replies

3. HP-UX

F-Backup restore

Hello! i have a blank harddrive and a complete tape backup of the workstation. the backup is made with F-Backup. Now my question is: how can i restore my workstation? thanks for every idea! paul tittel hup-si (3 Replies)
Discussion started by: paultittel
3 Replies

4. AIX

AIX backup --> Linux Restore

Hi all, I have a large number of backup tapes which were originally written with the AIX "backup" command. I now need to convert these to "tar" format, but unfortunately I no longer have access to an AIX machine. I have been able to connect the old tape drive (3590) to a Linux box and it works... (2 Replies)
Discussion started by: jauru
2 Replies

5. AIX

AIX 5.2 Maksysb Image backup/restore

Hello, I am new to AIX, as I was primarily working on HP-UX servers. We have some production servers and a couple of lab servers. We have upgraded over 40 servers from 5.2 to 5.3 running a particular application(1) using the golden 5.3 upgraded servers copy of makesysb. We have only two... (3 Replies)
Discussion started by: dayinthelife
3 Replies

6. Shell Programming and Scripting

Backup and restore in unix

Hello everybody, i am trying to make a script in UNIX to backup some compressed files to a tape drive. The thing is that i cannot use cpio command because some of these files are greater than 2GB. so i think the only solution left is backup command. to restore the files i should use the... (6 Replies)
Discussion started by: omonoiatis9
6 Replies

7. AIX

Backup and restore

Hi experts, i got a question. i have a production server with two Volume Group(VG) which are rootvg and datavg. Both of these VGs are 256 PP SIZE. On Disaster Recovery Server (DR server) contains two empty hardisks for restoring rootvg and datavg from production server. This two hardisks are... (7 Replies)
Discussion started by: polar
7 Replies

8. Red Hat

Backup / Restore

Hi, I need to back up a RH file system (96G). The files are oracle .dbf format some of which are 5G in size. I know that tar has got a size restriction of 2G so I cannot use this. Can anyone recommend an alternative way of backuping up this FS? I have been looking at dump but this... (6 Replies)
Discussion started by: Duffs22
6 Replies

9. AIX

[Tip] Backup and restore on AIX

Pretty penny's. Just remember that mksysb and savevg are just front-ends for backup. In other words, backups on AIX are organized by volume groups. mksysb is specialized for rootvg and savevg is used for other volume groups. Ignoring that rootvg also creates files needed to boot a system... (1 Reply)
Discussion started by: MichaelFelt
1 Replies

10. AIX

AIX 7.2 MKSYSB Backup and Restore Best Practices?

Hello, Running AIX 7.2 on Power9 bare-metal (no LPAR and no NIM server), in the process of creating a guide on MKSYSB process. I understand that MKSYSB is a backup of the rootvg and we can exclude stuff via exclude.rootvg file, the rest of the data volumes are mapped to the system as LUNs via... (7 Replies)
Discussion started by: c3rb3rus
7 Replies
ndmpstat(1M)						  System Administration Commands					      ndmpstat(1M)

NAME
ndmpstat - show NDMP backup progress statistics SYNOPSIS
ndmpstat [tapes] [interval [count]] DESCRIPTION
The ndmpstat utility reports Network Data Management Protocol (NDMP) statistics, among which are NDMP worker threads, disk IO, tape IO, files operation, performance, and backup activity. ndmpstat reports the aggregate statistics for all tapes and disks. In order to obtain statistics for specific tape devices, the tape device name should be passed as argument to the utility. When invoked, ndmpstat begins its display with a one-line summary of the NDMP daemon activity since the NDMP service was invoked. Display Fields The fields in ndmpstat output are described as follows: wthr Report the number of worker threads in each of the four following states: r the number of worker threads running w the number of blocked worker threads that are waiting for resources such as I/O and paging b the number of backup operations currently running r the number of restore operations currently running file Report on usage of filesystem. rd the number of files being read wr the number of files being written disk Report the number of disk operations per interval. rd the number of disk blocks being read wr the number of disk blocks being written tape Report the number of tape operations per interval. There are slots for up to four tapes, labeled with a single number. The number indi- cates the name of the device under /dev/rmt. rd the number of tape blocks being read wr the number of tape blocks being written bytes Report the number of bytes transferred. This is the aggregate value of both tape and disk devices. The number is in kilobytes. rd the number of kilobytes being read wr the number of kilobytes being written perf Displays a rough estimate of performance of the backup/restore operation in megabytes per second. bk backup performance rs restore performance prcnt Display the comparative usage of resources, in percent. dsk disk I/O time tpe tape I/O time otr other time (memory or idle) See EXAMPLES. OPERANDS
The following operands are supported: count Specifies the number of times that the statistics display is repeated. tape Specifies which tapes are to be given priority in the output. A command line is limited to a maximum of four tape devices. A common tape name is /dev/rmt/n, where n is an integer. interval Specifies the number of seconds over which ndmpstat summarizes activity. The specified interval remains in effect till the com- mand is terminated. EXAMPLES
Example 1 Using ndmpstat The following command displays a summary of NDMP daemon activity at five-second intervals. example% ndmpstat 5 wthr file disk tape bytes perf prcnt r w b r rd wr rd wr rd wr rd wr bk rs dsk tpe otr 1 0 3 6 50 9 1250 0 32544 4455 42335 3234 5 4 20 40 40 1 0 0 1 1 0 128 0 0 128 64 64 1 0 0 80 20 1 0 0 1 2 0 128 0 0 0 64 0 1 0 80 0 20 1 0 0 1 1 0 128 0 0 0 64 0 1 0 80 0 20 1 0 0 1 3 0 128 0 0 0 64 0 0 0 80 0 20 1 0 0 1 1 0 128 0 0 128 64 64 1 0 0 80 20 ^C example% ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWndmpu | +-----------------------------+-----------------------------+ |Interface Stability |See below | +-----------------------------+-----------------------------+ Invocation is evolving. Human readable output is unstable. SEE ALSO
iostat(1M), mpstat(1M), ndmpd(1M), ndmpadm(1M), attributes(5) NOTES
Performance numbers are not accurate and are rounded up at the MB/sec. boundary. SunOS 5.11 21 Jun 2007 ndmpstat(1M)
All times are GMT -4. The time now is 05:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy