Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

jfs2 snapshot backup

Status
Not open for further replies.

Gloups

IS-IT--Management
Sep 16, 2003
394
FR
Hi all

does any one of you have some informations about jfs2 snapshot ? Nothing realy interresting in redbooks and very poor man pages.

Needing to backup 1.8 To of oracle DB, i'd like to have some informations like:
- Does the snapshot have the same size as the original FS ?
- Can i locate the LV created for the snapshot in the VG i want ?
....
 
Hi ,
What version of operating system (OS) and Maintenance level (ML) are you running ?

We are running AIX 5.2 ML 5 , and had problems with jfs2 i.e. server kept crashing
IBM were investigating , don't know whether thy have fixed the problem in the latest / specific Maintenance level release. So before implementing I would check with IBM if snapshot can be used with your OS and ML.

The procedures are ( look at man snapshot)

1. query if another snaphot alreadu exists
snapshot -q

2. create snapshot


Make a list
snapshot -o snapfrom=( orig filesystem) -o size=

3. mount snapshot

mount -v jfs2 -o snapshot SNAPLV SNAPMOUNT

4. backup the snap

5. remove snap
umount /SNAPMOUNT
snapshot -d SNAPLV

6. Query snapshot has disappeared
snapshot -q
ALSO NOTE:-

If you want to backup ORACLE , you can do an oracle warm backup without taking down the databases. You'll have to script this

i.e. get list of all tablespaces
take first tablespace , put in backup mode
backup tablespace , using backup command ,or cpio etc..
put table space out of backup mode
do the next and so on...

then create control files
and sync logs and backup the archive logs


So when you come to restore , you restore the tablespaces
and redo logs / archive logs and recover database ( which will use the archive logs)



 
I'm in AIX 5.3 ML2.

For the moment i'm trying to find the fastest way to backup my oracle DB due to the important and growing volume
 
I'm already studying this solution but the price is a real limit
 
I'd look at oracle tool RMAN to do the backup.

Lets say you have a 100Mb filesystem you'll have to have 100Mb of temp space. All it doing is creating a copy of the data mounting it on another filesystem & then backing that up.

backsnap -m /tmp/snapshot -s size=100M -i f/dev/rmt0 /oracle

Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."

 
with my test i've seen than snapshot doesn't have the same size as the original FS. In my case, à have to backup up to 1.8 To and i dont have this space as temporary
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top