![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Back-to-Back Connection using HBAs | aldowsary | IP Networking | 3 | 11-28-2008 10:21 PM |
| back to back printing in UNIX | amirthraj_12 | AIX | 3 | 05-06-2008 07:42 AM |
| back up | bkan77 | Shell Programming and Scripting | 0 | 07-30-2007 09:30 AM |
| Back up's | macdonto | UNIX for Dummies Questions & Answers | 3 | 08-01-2002 10:59 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
|||||
|
The problem is that I can not shut down the database,
needs to be up 24/7. I know there are some other utilities for that, but I would like to know if it's a full system back up (0 level) why when I try to ufsrestore interactivily I only see the / (root)level ? Thanks |
|
||||
|
So you have to run the database in archive mode.
See oracle manuels for online backup(backup controlfile, tablespaces, archive files). If you need more information send me an email ::email removed:: regards Last edited by oombera; 02-20-2004 at 11:45 AM.. |
|
|||||
|
Re: help with back up please
Quote:
Then the next command backs up root. When it finishes, the tape is left positioned after the root backup. Then you backup the /usr filesystem. And so on. So you have several backups on one tape. When you put the tape on and do a ufsrestore, you see only the first backup. Want to see the second backup? Do: mt -f /dev/rmt/0cn fsf 1 first. This will skip the first backup and leave you positioned at the second. |
|
|||||
|
Thanks Perderabo,
To make things a bit more clear, I use: <pre> mt -f /dev/rmt/0cn rewind // no rewind, so I have everything in the same dat tape ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t0d0s0 //mounted on / ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t0d0s3 //mounted on /var ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t0d0s4 //mounted on /home ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t0d0s5 //mounted on /u01 ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t1d0s0 //mounted on /u02 ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t1d0s1 //mounted on /u03 ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t1d0s3 //mounted on /u04 </pre> So the above commands back up the root filesystem. When it finishes, the tape is left positioned after the root backup. How do I backup the rest (inside files). I mean when for instance I backup /var/ does this mean that I back up everything inside the /var directory including all the sub-directories? So I have several backups on the same tape. When I put the tape on and do a ufsrestore, you see only the first backup.(I suppose I have to rewind the tape before the restore , correct? "Want to see the second backup? Do: <pre> mt -f /dev/rmt/0cn fsf 1 </pre> first. This will skip the first backup and leave you positioned at the second." what happens when I do a ufsrestore -i Am I able to choose ?? Thank you for your help |
|
||||
|
backup
Hi if you,re using ufsrestore -ivf you got into the first filesystem backed up if you want to see the next one you just type "q" wait for a while and automatically the rmt device got forward the next filesystem.
Information about what filesystem you are step in is displayed at the begining of the next rmt reading so you can read if it is /usr or /var etc if you're using the same tape for variuos backups then you do not need to rewind the tape if not, rewind it at all and run your script. Your script is ok BUT if you cant stop DB runing for God's (and you) sake you Must be sure that nobody is logged in even in a telnet session this will avoid garbage in your backup. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|