#! /bin/ksh
#
# This script is intended to be used on AIX 4.3.3 and 4.3.2 ONLY.
# This will use the backup utility doing a level 0 dump on any filesystem defined for $filesys and update /etc/dumpdates.
# Arguments:
# DEVICE = backup device
# DUMPINFO = file that will collect info to be emailed out
# MARK = possition on the tape
#
DEVICE="/dev/null"
DUMPINFO=/var/adm/dumpinfo
FILESYSTEMS="/ /usr /var /home /cw_d01 /cw_t01"
MARK=1
echo > $DUMPINFO
for filesys in $FILESYSTEMS; do
echo "Date: `date`
Filesystem: $filesys
Position: $MARK
Device: $DEVICE
" >> $DUMPINFO
/usr/sbin/backup -f $DEVICE -0 -u $filesys
MARK=`expr ${MARK} + 1`
done
sleep 20
mt -f $DEVICE rewoffl
Last edited by Optimus_P; 08-08-2001 at 07:17 PM..
Hi All
i have a number of IBM servers with different models, and i want to do a backup for the rootvg using mksysb and that backup will be stored on a 4mm DDS tape.
i have only one machine (p550) which i can use it for testing purposes, so the quesion is that can i test my mksysb backups on... (6 Replies)
hi guys,
i just want to take my server's mksysb backup through dvd-rom.but am having the doubt that, while am taking the mksysb backup in image it shows 8GB. So can i confirm that it takes 2 dvds and after writing in 1st cd it will ask for 2nd cd??????
please help me out. (1 Reply)
hi
we are having one rootvg in that we created one lv named mksysb_backuplv
and normally script will run accordingly to take the backup in the cron,here i just want to know if any rootfilesystem was correpted like /usr or /tmp ,then how could i restore the particular filesystme from the... (1 Reply)
Hi,
Currently we are taking mksysb backup through smitty mksysb command and directing the backup to happen on a tape.We have inbuilt tape drives in the AIX servers. Can we take the mksysb backup through 3rd party software tool (Symantec netbackup of IBm TSM). If yes what is the procedure and... (4 Replies)
i have an AIX server and planning to upgrade the operating system, before that i want to take a system backup which can be used in case of upgrade failure. i dont have NIM server t hold the mksysb backups. so i have the only option of taking the backup on DVD. i have the following optical drive... (5 Replies)
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
LEARN ABOUT REDHAT
ammt
AMMT(8) System Manager's Manual AMMT(8)NAME
ammt - Amanda version of mt
SYNOPSIS
ammt [ -d ] [ -f|-t device ] command [ count ]
DESCRIPTION
Ammt provides just enough of the standard mt command for the needs of Amanda. This is handy when doing a full restore and the standard mt
program has not yet been found.
Ammt also provides access to the Amanda output drivers that support various tape simulations.
See the amanda(8) man page for more details about Amanda. See the OUTPUT DRIVERS section of amanda(8) for more information on the Amanda
output drivers.
OPTIONS -d Turn on debugging output.
-f device
Access tape device device. If not specified, the TAPE environment variable is used.
-t device
Same as -f.
command count
Which command to issue, and an optional count of operations.
COMMANDS
Each command may be abbreviated to whatever length makes it unique.
eof|weof count
Write count (default: 1) end of file marks (tapemarks).
fsf count
Skip forward count (default: 1) files.
bsf count
Skip backward count (default: 1) files.
asf count
Position to file number count (default: 0) where zero is beginning of tape. This is the same as a rewind followed by a fsf count.
rewind Rewind to beginning of tape.
offline|rewoffl
Rewind to beginning of tape and unload the tape from the drive.
status Report status information about the drive. Which data reported, and what it means, depends on the underlying operating system, and
may include:
ONLINE Indicates the drive is online and ready.
OFFLINE
Indicates the drive is offline or not ready.
BOT Indicates the drive is at beginning of tape.
EOT Indicates the drive is at end of tape.
PROTECTED
Indicates the tape is write protected.
ds Device status.
er Error register.
fileno Current tape file number.
blkno Current tape block number file.
NOTE: many systems only report good data when a tape is in the drive and ready.
AUTHOR
Marc Mengel <mengel@fnal.gov>
John R. Jackson <jrj@purdue.edu>
SEE ALSO amanda(8)AMMT(8)