Notices
Non Scooby Related Anything Non-Scooby related

Help Needed Digital Unix 4.0d Script For VDUMP

Thread Tools
 
Search this Thread
 
Old 20 September 2001, 12:29 AM
  #1  
druddle
Scooby Regular
Thread Starter
 
druddle's Avatar
 
Join Date: Mar 2001
Location: Berkshire
Posts: 5,528
Likes: 0
Received 0 Likes on 0 Posts
Post

Dont know Digital UNIX, I am a Solaris man, but it is basically SVR4 with a few tweaks.

I assume vdump is similar to ufsdump, so the vdump command looks ok. Not sure if you need to back up /temp.

Other than that, i cant see any problems

Dave
Old 20 September 2001, 11:59 AM
  #2  
jase555
Scooby Regular
 
jase555's Avatar
 
Join Date: Apr 2000
Posts: 1,209
Likes: 0
Received 0 Likes on 0 Posts
Unhappy

anybody help on this please, have to do a vdump backup of my system. Unix knowledge very poor.

This is the script I have written etc

Need to get it right as I only have one slot of time over weekend to perform

thanks in advance

Jase

# cat /archive/full_backup
# this script will perform a full backup
# to the DLT drive which is identified as /dev/rmt1h
#

TMPDIR=/archive
BACKUPDIR="."
TAPEDEVICE=/dev/rmt1h
USER=root

cp /archive/full_backup.log /archive/full_backup.log.prev
cp /dev/null /archive/full_backup.log

/bin/mt -f /dev/rmt1h rewind

su oracle7 /oracle/v734/bin/dbshut_immediate >/dev/null 2>&1
date
/sbin/vdump 0uf /dev/nrmt1h /
sleep 20
date
/sbin/vdump 0uf /dev/nrmt1h /usr
sleep 20
date
/sbin/vdump 0uf /dev/nrmt1h /oracle
sleep 20
date
/sbin/vdump 0uf /dev/nrmt1h /glovia
sleep 20
date
/sbin/vdump 0uf /dev/nrmt1h /rollback
sleep 20
date
/sbin/vdump 0uf /dev/nrmt1h /archice
sleep 20
date
/sbin/vdump 0uf /dev/nrmt1h /datademo
sleep 20
date
/sbin/vdump 0uf /dev/nrmt1h /redo1
sleep 20
date
/sbin/vdump 0uf /dev/nrmt1h /data
sleep 20
date
/sbin/vdump 0uf /dev/nrmt1h /datacl
sleep 20
date
/sbin/vdump 0uf /dev/nrmt1h /indexes
sleep 20
date
/sbin/vdump 0uf /dev/nrmt1h /indexescl
sleep 20
date/sbin/vdump 0uf /dev/nrmt1h /redo2
sleep 20
date
/sbin/vdump 0uf /dev/nrmt1h /temp
sleep 20
date

/bin/mt -f /dev/rmt1h rewind
su oracle7 /oracle/v734/bin/dbstart >/dev/null 2>&1 | tee -a /archive/full_backup.log

[This message has been edited by jase555 (edited 20 September 2001).]

[This message has been edited by jase555 (edited 20 September 2001).]
Old 20 September 2001, 01:41 PM
  #3  
stevencotton
Scooby Regular
 
stevencotton's Avatar
 
Join Date: Jan 2001
Location: behind twin turbos
Posts: 2,710
Likes: 0
Received 1 Like on 1 Post
Post

You would be better off with something like Amanda for that, but it looks ok to me. Is /temp your swap partition? Check with `mount | grep temp', you won't want to back that up if it is.

Steve.
Old 20 September 2001, 05:11 PM
  #4  
gregh
Scooby Regular
 
gregh's Avatar
 
Join Date: Dec 1999
Posts: 3,360
Likes: 0
Received 0 Likes on 0 Posts
Post

try checking around here:
Old 20 September 2001, 10:37 PM
  #5  
orbv
Scooby Regular
 
orbv's Avatar
 
Join Date: Apr 2001
Location: Hants
Posts: 1,103
Likes: 0
Received 0 Likes on 0 Posts
Post

Looks good to me. Assuming that /temp is where Oracles temporary table space is, would you be better of just recreating it?

Should you take the machine to single user to backup / and /usr? Do not forget to test the backups

Is Oracle 7.3.4 still supported? Live in the now!


Edited because I forget stuff!

[This message has been edited by orbv (edited 20 September 2001).]
Old 21 September 2001, 09:47 AM
  #6  
stevencotton
Scooby Regular
 
stevencotton's Avatar
 
Join Date: Jan 2001
Location: behind twin turbos
Posts: 2,710
Likes: 0
Received 1 Like on 1 Post
Post

You don't need to be in single user mode to back up anything, all it does is read from the disk. Upgrading Oracle isn't quite as simple as it sounds, not for technical but for business reasons.

Steve.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
MH-Racing
Subaru Parts
18
18 October 2015 04:49 PM
taylor85
Wanted
2
13 September 2015 04:57 PM
AzzDSM
Engine Management and ECU Remapping
4
13 September 2015 03:59 PM
robbie1988
Wanted
2
13 September 2015 09:25 AM
Scooby-Doo 2
Wheels And Tyres For Sale
1
09 September 2015 06:51 PM



Quick Reply: Help Needed Digital Unix 4.0d Script For VDUMP



All times are GMT +1. The time now is 08:07 PM.