Solaris 8 Backup
Hi , I'm quite new to Solaris 8. Recently I just found out that the NOC never do backup for our servers. Frankly speaking I do not know how to setup a backup configuration and schedule for the backups. Which program does Solaris use to do backups and how do I go about installing the tape driver and program, I'm desperate sirs. If anyone know, please enlighten.
Configuring the Device Drivers - Solaris 2.x
Under Solaris 2.x, it is necessary to configure the devices directory using the following steps:
Shutdown the computer.
Connect and power-up the DAT-Link with the chosen SCSI ID set on its switch.
Boot the workstation using the boot -r command. This will reconfigure the machine for all connected devices.
After the computer has booted the system will have created a new device file for the DAT-Link. If there are no tape devices or other DAT-Links connected to the machine this will be named /dev/rmt/0. If other tape devices also exist, the tape unit number in the above path may be a higher number. These files are actually symbolic links to filenames which identify the SCSI ID of the device. For
example, if the DAT-Link is connected with SCSI ID 5 and is the only tape device on the system, then /dev/rmt/0 will be a symbolic link to /sbus@f,e0001000/esp@1,200000/st@5,0:. The ``@5'' at the end of this path shows that the device is at SCSI ID 5.
Create a symbolic link from the above file to /dev/datlink0. For example,
ln -s /dev/rmt/0 /dev/datlink0
The DAT-Link should now be ready to use.
For more information about solaris 8 backup and restore commands, refer this URL: http://docs.sun.com
1. solaris 8 systems administration volume 1 (chapter number 41)
Thanks.
revert back.
regards,
Senthilkumar
SUN - DTS
Similar Messages
-
How to fix pam config with solaris-backup-1
Hi,
I do an error on pam.d and i don't connect to my solaris.
I succeed in solaris-backup-1 but it's an archive.
So how to fix my pam.d config with solaris-backup-1
Thanks for your helpI do "beadm activate solaris-backup-1"
and i obtain with "beadm list" :
solaris-backup-1 NR / 5.43G static 2014-09-22 11:21
solaris-backup-1 is a back-up of the installation
I didn't find my files in /opt
So i activated/mounted solaris
beadm activate solaris
beadm mount solaris /mnt/solaris
I succeed in modify pam.d
Thanks -
New to Solaris administration - Need some help with some issues
Hello all,
I am a new to Solaris administration and need some assistance with a few things. I was going to make separate posts but decided it would be easy to keep track of in one. I really do not know much about the OS but I do have a little Linux background so that might help me out. I am going to number my problems to keep them sorted, so here we go.
The machine:
Sunfire V880
4x 73GB HDs
PCI dual fiber channel host adapter
Attached RAID array:
Sun StorEdge T3 Array with 9x 73GB HDs
Sun DDS4 Tape Drive in a Unipack
OS: Solaris 5.10
Updates: Updated everything except 2 patches (Updating is a real pain isn't it? At least it seems that way to me.)
1. So I might as well start with the update issues! These 2 updates will not install:
-PostgreSQL 8.2 source code, (137004-02)
Utility used to install the update failed with exit code {0}.
-Patch for mediaLib in solaris, (121620-03)
Install of update failed. Utility used to install the update is not able to save files. Utility used to install the update failed with exit code 4.
No idea why the PostgreSQL update is not working, but the medialib patch seems to not have enough hard drive space.
2. Where are all the drives? I don't know how to find the RAID box or the other 3 internal hard drives. When I installed the OS, I think I installed it on only one hard drive and that might be part of the reason why the medialibe update above says that I don't have enough space.
3. I probably need more space for the OS and updates, is there a way to "add" space onto the hard drive that currently is running the OS?
3. Once I see the other hard drives I wish to combine them to make a RAID 0 and RAID 5 array, how do I go about doing that?
4. How can I find/see the tape drive?
5. Does my swap space really need to be 64GB? I know the book I have read suggests it, but I only made it 5GB because it didn't seem to make sense to make it 64GB.
Thank you in advance for the help. I know these are a lot of questions to ask but please go easy on me :)
rjbanker
Edited by: rjbanker on Mar 7, 2008 8:21 AMSolarisSAinPA*
1.
-PostgreSQL 8.2 source code, (137004-02)
Utility used to install the update failed with exit code {0}.
Exit code 0 means there were no errors. When you run showrev -p 137004-02, does your system show that the patch is installed? You can check the log for a particular patch add attempt in /var/sadm/patch/+patch_num_rev+1- A bunch of stuff shows up, here is a portion (I am not entirely sure what it means, there must be a least a page of stuff like this):
Patch: 121081-08 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWc cccrr, SUNWccccr, SUNWccfw, SUNWccsign, SUNWcctpx, SUNWccinv, SUNWccccfg, SUNWcc fwctrl
Patch: 122231-01 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWc ctpx
Patch: 120932-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcctpx
Patch: 123123-02 Obsoletes: Requires: Incompatibles: Packages: SUNWccinv
Patch: 121118-12 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWc smauth, SUNWppror, SUNWpprou, SUNWupdatemgru, SUNWupdatemgrr, SUNWppro-plugin-su nos-base
2.
Where are all the drives? I don't know how to find the RAID box or the other 3 internal hard drives. When I >installed the OS, I think I installed it on only one hard drive and that might be part of the reason why the >medialibe update above says that I don't have enough space.
When you run format command, how many drives are listed? Identify your root drive (compare with output of df command you ran earlier) Please post here.2. Output of df-hk, looks like I ran out of room. Should I just go ahead and reinstall the OS?
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 5.9G 5.4G 378M 94% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 42G 1.3M 42G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
5.9G 5.4G 378M 94% /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
5.9G 5.4G 378M 94% /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /dev/fd
swap 42G 1.1M 42G 1% /tmp
swap 42G 32K 42G 1% /var/run
/dev/dsk/c1t0d0s7 46G 47M 46G 1% /export/home
3. So I guess the general consensus is to reinstall the OS, is that correct?
4. There is nothing in \dev\rmt, and unfortunately I don't have a tape to test it with!
5. I guess 5GB will be ok for what we do.
Alan.pae*
1. I think the above text might explain why it failed, although I don't know how to correct it.
2. Output of format:
# mount
/ on /dev/dsk/c1t0d0s0 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1d80008 on Mon Mar 10 10:56:51 2008
/devices on /devices read/write/setuid/devices/dev=4dc0000 on Mon Mar 10 10:56:19 2008
/system/contract on ctfs read/write/setuid/devices/dev=4e00001 on Mon Mar 10 10:56:19 2008
/proc on proc read/write/setuid/devices/dev=4e40000 on Mon Mar 10 10:56:19 2008
/etc/mnttab on mnttab read/write/setuid/devices/dev=4e80001 on Mon Mar 10 10:56:19 2008
/etc/svc/volatile on swap read/write/setuid/devices/xattr/dev=4ec0001 on Mon Mar 10 10:56:19 2008
/system/object on objfs read/write/setuid/devices/dev=4f00001 on Mon Mar 10 10:56:19 2008
/platform/sun4u-us3/lib/libc_psr.so.1 on /platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1 read/write/setuid/devices/dev=1d80008 on Mon Mar 10 10:56:50 2008
/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1 on /platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1 read/write/setuid/devices/dev=1d80008 on Mon Mar 10 10:56:50 2008
/dev/fd on fd read/write/setuid/devices/dev=50c0001 on Mon Mar 10 10:56:51 2008
/tmp on swap read/write/setuid/devices/xattr/dev=4ec0002 on Mon Mar 10 10:56:52 2008
/var/run on swap read/write/setuid/devices/xattr/dev=4ec0003 on Mon Mar 10 10:56:52 2008
/export/home on /dev/dsk/c1t0d0s7 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1d8000f on Mon Mar 10 10:56:57 2008
3. Judging by the above text I will be doing a reinstall huh?
4. Actually I am not familiar with tape backups let alone solaris backup apps! Any suggestions? (Preferably free, have to cut down on costs.)
5. No comment
Thanks for the help, hope to hear from you again!
rjbanker -
Hi,
I have the problem with OSB 10.2. I can not get the file system backup and
I get following error.
admin/1.1
Type backup solaris
Level full
Family (null)
Encryption off
Scheduled time 06/19.18:06
Introduction time 2008/06/19.18:06
Earliest exec time 06/19.18:06
Last update time 2008/06/19.18:21
Expire time never
State pending resource availability
Priority 100
Privileged op no
Run on host solaris
Requires host solaris and null family and any device
Deferred because a required device is not available
Attempts 2
Log
2008/06/19.18:06:11 Job created.
2008/06/19.18:06:11 Dispatching job to run on administrative server.
2008/06/19.18:06:34 Drive or volume on which mount attempted is unusable.
- My Tape Device is SONY-SDX 550V and it is not in oracle tape drive support list.
- OSB 10.2.0.2
- Windows 2003 Operatin System
- I went through the ob_drives file under ORACLE BACKUP HOME/device and added SDX 550V entry n this file and
- I restarted Oracle_Secure_Backup service. But it does not work again.
Your comment will be appreciated.Thank you for your help and negotiating to solve this problem.
I am deploying your suggestion with two different type of tape drives
1. Hp DAT 72 7438A existing in Oracle Tape Device Certified List
2. SONY SDX-550V which is not exist in Oracle Tape Device Certified List
Right now I am working on # 2 (SONY SDX-550V)
the only modification in my configuration was using of new volume instead of
old one and try to mount this new volume in write mount in
Webtool --> Manage --> Drives.
ob> lsjob --log admin/2.1
Job ID Sched time Contents State
admin/2.1 06/26.12:54 backup solaris completed with warni
ngs at 2008/06/26.12:56 - one or more warnings or non-critical errors reported
2008/06/26.12:54:35 Job created.
2008/06/26.12:54:35 Dispatching job to run on administrative server.
2008/06/26.12:56:41 Backup completed with status "one or more warnings or no
n-critical errors reported".
2008/06/26.12:56:41 (Diagnostic data: 0x20008F06/114, dev_delay 0, data_
delay -1.)
2008/06/26.12:56:41 Job completed with warnings.
12:55:33 OBTR: record storage set to internal memory
12:55:33 ATAL: reserved drive obt, cookie 0x8D246811
12:55:34 OBTR: obsd=1, is_job=1, is_priv=0, os=7
12:55:34 OBTR: rights established for user admin, class admin
12:55:34 SUUI: user info root/root, enbank.ir/a.rahmani
12:55:34 PBDF: +d:/test
12:55:34 MAIN: using blocking factor 128 from media defaults/policies
12:55:34 STTY: background terminal I/O or is a tty
12:55:34 MAIN: interactive
12:55:34 SET: volume has no expiration time
12:55:34 CNPC: data host reports this butype_info:
12:55:34 CNPC: tar (attr 0x57587D7A: B_FL, B_DIRECT, R_DIRECT, B_INCR, R_INC
R, R_UTF8, B_FH_DIR)
12:55:34 CNPC: DIRECT = y
12:55:34 CNPC: HISTORY = y
12:55:34 CNPC: LEVEL = 0
12:55:34 A_O: from qlm__open: drive not configured in library (OB library m
gr)
12:55:35 RLE: connecting to volume/archive database host
12:55:35 RLE: device obt (raw device "//./obt0")
12:55:35 RLE: mount_info is valid
12:55:35 RLE: qdb__device_spec_se reports vol_oid 0, arch_oid 0
12:55:35 A_O: using max blocking factor 128 from media defaults/policies
12:55:35 A_O: tape device is local
Warning: unknown device type. This device is not supported by Oracle Secure Back
up
Warning: and is therefore not guaranteed to work with Oracle's driver.
12:55:35 A_O: Devname: SONY,SDX-550V,0100
12:55:35 Info version: 11
12:55:35 WS version: 10.2
12:55:35 Driver version: 10.2
12:55:35 Max DMA: 2097152
12:55:35 Blocksize in use: 65536
12:55:35 Query frequency: 1048576
12:55:35 Rewind on close: false
12:55:35 Can compress: true
12:55:35 Compression enabled: false
12:55:35 8200 media: false
12:55:35 Error threshold: 8%
12:55:35 Remaining tape: 0
12:55:35 A_GB: ar_block at 0x15F2000, size=2097152
12:55:35 A_GB: ar_block_enc at 0x1802000, size=2097152
12:55:35 GLMT: returning "", code = 0x0
12:55:35 VLBR: from chk_lm_tag: "", code = 0x0
12:55:43 VLBR: tag on label just read: ""
12:55:43 VLBR: master tag now ""
12:55:43 RLE: noticed volume VOL000003, file 1, section 1, vltime 121447119
7, vowner SYSTEM, voltag
12:55:43 RLE: qdb__noticed_se reports vol_oid 102, arch_oid 102
(alv) backup image label is valid, file 1, section 1
(ial) invalidate backup image label (was valid)
12:55:43 ULVI: set mh db volume id "VOL000003" (retid ""), volume oid 102, c
ode 0
12:55:43 ULTG: set mh db tag "" (retid ""), volume oid 102, code 0
12:55:43 CALE: created backup section oid list entry for oid 102
12:55:43 ARVI: resetting volume id from nil to VOL000003
Warning: unable to set compression on: bad parameter (OB scsi device driver)
12:55:47 ACFD: positioning (SCSI LOCATE) is available for this device
12:55:47 ARVI: resetting volume id from VOL000003 to VOL000004
Warning: unable to set compression on: bad parameter (OB scsi device driver)
12:55:47 ACFD: positioning (SCSI LOCATE) is available for this device
12:55:47 RCVW: volume "VOL000003" / vuuid b3d66f47-720f-4de5-87cc-f569100617
3b reserved for writing
12:55:47 CREA: tape position after open_archive() is 000000000000
12:55:47 GLMT: returning "", code = 0x0
12:55:47 IDXC: local index file is D:/OSB/admin/history/host/solaris/08.06.2
6.$raw.0
12:55:47 CREA: history has null volume tag because none found on volume or l
abel
Backup started on Thu Jun 26 2008 at 12:55:33
12:55:47 RLE: overwrite volume VOL000003, file 1, section 1, vltime 1214471
197, vowner SYSTEM, voltag
12:55:47 RLE: qdb__overwrite_se reports vol_oid 0, arch_oid 0
12:55:47 VLBW: on entry, l->tag = "", master tag = "", bot = 1
12:55:47 VLBW: setting voltag from "" to ""
12:55:47 VLBW: volume is not content-managed
12:55:47 RLE: write volume VOL000004, file 1, section 1, vltime 1214472333,
vowner SYSTEM, voltag
12:55:47 RLE: qdb__write_se reports vol_oid 103, arch_oid 0
12:55:47 VSLW: reading volume record for oid 103
12:55:47 VSLW: set last write time for volume oid 103
(alv) backup image label is not valid
(ial) invalidate backup image label (was valid)
12:55:47 ULVI: set mh db volume id "VOL000004" (retid ""), volume oid 103, c
ode 0
12:55:47 ULTG: set mh db tag "" (retid ""), volume oid 103, code 0
12:55:47 RLE: set vol size to 0
12:55:47 RLE: qdb__set_vol_size_se reports vol_oid 0, arch_oid 0
12:55:47 RLE: set kb remaining to "invalid or unknown"
12:55:47 RLE: qdb__set_kb_rem_se reports vol_oid 0, arch_oid 0
Volume label:
Intro time: Thu Jun 26 12:02:39 2008
Volume UUID: d1c16c42-cd5c-414f-9a9a-03d419ad5944
Volume ID: VOL000004
Volume sequence: 1
Volume set owner: SYSTEM
Volume set created: Thu Jun 26 12:55:33 2008
Original UUID: d1c16c42-cd5c-414f-9a9a-03d419ad5944
Archive label:
File number: 1
File section: 1
Owner: SYSTEM
Client host: solaris
Backup level: 0
S/w compression: no
Archive created: Thu Jun 26 12:55:33 2008
Archive owner UUID: 7d4ca79e-914f-493d-b6f3-83978ed4ca5b
Owner class UUID: e96f2753-3165-4069-a531-30f88c69862d
Encryption: off
12:55:47 RCVW: volume "VOL000004" / vuuid d1c16c42-cd5c-414f-9a9a-03d419ad59
44 reserved for writing
12:55:47 SNP: using NDMP protocol version 4
12:55:47 FLDB: flush drive-buffered data to medium
12:56:06 FLDB: flush complete
12:56:06 BNPC: volume position "00000001" added to s_vol_start_pos
12:56:06 BNPC: initial volume label "VOL000004" added to s_vids, s_last_sect
ion 1
12:56:06 BNPC: initial volume tag "" added to s_vtags, s_last_section 1
12:56:06 BNPC: data service doesn't implement restartable backup for d:/test
12:56:06 BNPC: environment variable BEGINTREE = 1
12:56:06 BNPC: environment variable NAME = d:/test
12:56:06 BNPC: environment variable BLEVEL = 0
12:56:06 BNPC: environment variable STARTED = 1
12:56:06 BNPC: environment variable IS_LAST = 1
12:56:06 BNPC: environment variable EX2KTYPE =
12:56:06 BNPC: environment variable VOLI = VOL000004
12:56:06 BNPC: environment variable VOLI =
12:56:06 BNPC: environment variable DATA_BLOCK_SIZE = 64
12:56:06 MGS: ms.record_size 65536, ms.record_num 0x0, ms.bytes_moved 0x0
12:56:06 SMWB: setting mover window to infinity for backup
12:56:11 MLIS: mover listen ok for local connection
12:56:11 APNI: a preferred network interface does not apply to this connecti
on
12:56:11 BNPC: directing data service to connect to mover
12:56:11 PPVL: obtar option OB_RB = 10.2
12:56:11 PPVL: obtar option OB_STAT = 1
12:56:11 PPVL: obtar option OB_BDF = 1
12:56:11 PPVL: obtar option OB_DEBUG = 1
12:56:11 PPVL: obtar option OB_DEBUG = 1
12:56:11 PPVL: obtar option OB_DEBUG = 1
12:56:11 PPVL: obtar option OB_DEBUG = 1
12:56:11 PPVL: obtar option OB_VERBOSE = 1
12:56:11 PPVL: obtar option OB_CLIENT = solaris
12:56:11 PPVL: obtar option OB_LEVEL = 0
12:56:11 PPVL: obtar option OB_BE_ROOT = 1
12:56:11 PPVL: obtar option OB_STAT = 1
12:56:11 PPVL: obtar option OB_INDEX = 1
12:56:11 PPVL: obtar option OB_WRITE_HISTORY_FILE = 1
12:56:11 PPVL: obtar option OB_VOLUME_LABEL = 1
12:56:11 PPVL: obtar option OB_SKIP_CDFS = 1
12:56:11 PPVL: obtar option OB_DEVICE = obt
12:56:11 PPVL: obtar option OB_BLOCKING_FACTOR = 128
12:56:11 PPVL: obtar option OB_VERIFY_ARCHIVE = no
12:56:11 PPVL: obtar option OB_PQT = 1048576
12:56:11 DSIN: 2GB+ files are supported, 2GB+ directories are supported
12:56:11 SETC: successfully changed identity to enbank.ir/a.rahmani
12:56:11 BNPC: issuing NDMP_DATA_START_BACKUP
12:56:11 NTEV: Caching event log pathnames.
12:56:11 BNPC: started OSB NDMP backup of solaris to obt
12:56:11 NTEV: Application event log at C:\WINDOWS\system32\config\AppEvent.
Evt
12:56:11 NTEV: Internet Explorer event log at C:\WINDOWS\System32\Config\Int
ernet Explorer.evt
12:56:11 NTEV: ODiag event log at C:\WINDOWS\system32\config\ODiag.evt
12:56:11 NTEV: OSession event log at C:\WINDOWS\system32\config\OSession.evt
12:56:11 NTEV: Security event log at C:\WINDOWS\System32\config\SecEvent.Evt
12:56:11 NTEV: System event log at C:\WINDOWS\system32\config\SysEvent.Evt
12:56:11 NTRG: Caching registry hive data.
12:56:11 SIFI: don't change index filtering state (it's off)
Dumping all files in D:/TEST
D:/TEST/
D:/TEST/burtscript-1.6.tar.gz
D:/TEST/config.batch
D:/TEST/config.batch.org
D:/TEST/ft
D:/TEST/ft.org
D:/TEST/glibc-32bit-2.4-31.1.x86_64.rpm
D:/TEST/osb-10.2.0.2_linux32_cdrom.zip
D:/TEST/osb.10.1.0.3_Express.linux32.zip
D:/TEST/sonytape_linux_v2.6.tar.tar
12:56:19 TRWK: as a result of this backup, exit value changed from -1 to 0
12:56:19 MNPO: data service halted with reason=successful
12:56:19 SNPD: Data Service reported bytes processed 0x4C60000
12:56:19 SNPD: stopping NDMP data service (to transition to idle state)
12:56:19 MNPO: mover halted with reason=connection closed
12:56:19 MGS: ms.record_size 65536, ms.record_num 0x4C6, ms.bytes_moved 0x4
C60000
12:56:19 MNPO: operation successful
12:56:19 BNPC: finished OSB NDMP backup with status 0
12:56:19 BNPC: end of backup; bytes written 0x4C60000
12:56:19 CREA: as a result of this backup, exit value changed from -1 to 0
12:56:21 A_T: suppressing filemark output due to NDMP having written one
12:56:21 A_T: writing marker label; here it is:
Volume label:
Intro time: Thu Jun 26 12:02:39 2008
Volume UUID: d1c16c42-cd5c-414f-9a9a-03d419ad5944
Volume ID: VOL000004
Volume sequence: 1
Volume set owner: SYSTEM
Volume set created: Thu Jun 26 12:55:33 2008
Original UUID: d1c16c42-cd5c-414f-9a9a-03d419ad5944
Archive label:
File number: 2
File section: 1
Owner: SYSTEM
Client host: solaris
Backup level: 0
S/w compression: no
Archive created: Thu Jun 26 12:55:33 2008
Encryption: off
Marker: End of data
12:56:21 VLBW: on entry, l->tag = "", master tag = "", bot = 0
12:56:22 VLBW: setting voltag from "" to ""
12:56:22 VLBW: volume is not content-managed
12:56:22 RLE: set kb remaining to 0
12:56:22 RLE: qdb__set_kb_rem_se reports vol_oid 0, arch_oid 0
12:56:22 RLE: commit write, no next volume id specified
12:56:22 RLE: qdb__commit_write_se reports vol_oid 103, arch_oid 103
12:56:22 VLBW: first backup section OID set to 103
12:56:22 CALE: created backup section oid list entry for oid 103
12:56:22 RLE: set kb remaining to 0
12:56:22 RLE: qdb__set_kb_rem_se reports vol_oid 0, arch_oid 0
12:56:22 A_T: writing two more FMs
(alv) backup image label is not valid
12:56:40 CREA: setting last section flag for oid 103
Backup complete on Thu Jun 26 2008 at 12:56:21
12:56:40 QREX: exit status upon entry is 0
12:56:40 QREX: released reservation on tape drive obt
12:56:40 QREX: reading section record for oid 103
12:56:40 QREX: set last section flag for oid 103
12:56:40 RDB: reading volume record for oid 103
12:56:40 RDB: reading section record for oid 103
12:56:40 RDB: adding record for oid 103 (file 1, section 1) to section list
12:56:40 RDB: file 1 has all 1 required sections; clearing incomplete backu
p flags
12:56:41 RDB: reading section record for oid 103
12:56:41 RDB: cleared incomplete backup flag for oid 103
12:56:41 RDB: 1 volumes in volume list
12:56:41 RDB: volume oid 103 reports first:last files of 1:1
12:56:41 RDB: marking volume oid 103 as authoritative
12:56:41 VMA: reading volume record for oid 103
12:56:41 VMA: set authoritative flag for oid 103
12:56:41 QREX: released writable volume reservation on b3d66f47-720f-4de5-87
cc-f5691006173b
12:56:41 QREX: released writable volume reservation on d1c16c42-cd5c-414f-9a
9a-03d419ad5944
12:56:41 QREX: [1836] connecting to solaris to import and/or delete ascii in
dex file for client solaris
Backup statistics:
status 0
devices obt
devices 1
volumes VOL000004
voltags (null)
file 1
host solaris
encryption off
start_time Thu Jun 26 2008 at 12:55:33 (1214472333)
end_time Thu Jun 26 2008 at 12:56:21 (1214472381)
backup_time Thu Jun 26 2008 at 12:55:33 (1214472333)
entries_scanned 10
kbytes_scanned 0
entries_excluded 0
entries_skipped 0
mount_points_skipped 0
files 19
directories 1
hardlinks 0
symlinks 0
sparse_files 0
filesys_errors 0
unknown_type 0
file_kbytes 0
dev_kbytes 78217
dev_iosecs 48
dev_iorate 1.7 MB/S
wrt_iosecs 34
wrt_iorate 2.4 MB/S
physical_blks_written 78208
write_errors 0
physical_blks_read 0
read_errors 0
error_rate 0%
path d:/test completed, status 0
12:56:41 RLYX: exit status 0; checking allocs...
12:56:41 RLYX: from mm__check_all: 1
12:56:41 RLYX: exit status changed to 114
ob> -
How to use this backup command
I am learning about solaris backup, I found three useful backup command, I am confusing about them, can not find
explanation on the man page
ufsdump 0f - / | ( cd /cop/0 ; ufsrestore -rf - )
ufsdump 0f - /export/home | ( cd /cop/7 ; ufsrestore -rf - )
installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c0t3d0s0
I try first two commands, they are works, my questions are,
1 The hyphen dumps the data to standard output, what is the standard output?
2 why use the ufsrestore -rf -
3 when I finish the first command, there is nothing record in the /etc/dumpdates, why?
4 it seems they are useful to copy from disk to disk, but , when I restore data,
will I use the command ufsrestore as usual?
5 currently, in the real world, what kind of backup command do you use in your
company? Because many books give me command of backuping data to tape,
are you still using tape nowadays? or do you backup data to hard disk instead of
tape?
appreciated for any help, thanks
Edited by: user8117130 on Jul 2, 2011 9:14 PMWhere to begin..
Well, question 1 and 2:
The commands you found are commands which were used to copy the entire root disk, as well as the partition /export/home to a new disk.
Apparently the person who first used them had a new harddrive, which he (or she) partitioned and mounted under /cop/ . He (or she) then copied all the data from the / and /export/home partitions to the new disk.
Hence the use of ufsrestore.
There are two outputs, standard output (also referred to as - or STDOUT) and standard error.
Any normal output from any command (such as 'ls') is sent to STDOUT . You can redirect data from STDOUT to a file by using >, i.e:
ls > /tmp/output.ls
STDERR is where error messages go.
Apart from STDOUT and STDERR you also have something called STDIN (or Standard Input), which is used to feed data to a command.
Just as you can use > to send STDOUT, you can use < to send STDIN, i.e:
cat < /tmp/output.ls
In the example you posted with ufsdump/ufsrestore the use read the content of a partition with ufsdump, then send it through a pipe to ufsrestore, which writes it down at a different place. The result is that the user gets a copy of the / disk under /cop/0 .
As such thats not a backup command, its a way of copying a disk.
Question 3:
Because there is no 'u' option, to update /etc/dumpdates you need to use the u argument to ufsdump, in your example:
ufsdump 0fu - /
Question 4:
Well. There are two ways to do a ufsdump to a disk, one way is to do it the way you did it, by piping it to ufsrestore. In that case you can't restore your files using ufsrestore, since they are already copied to the disk.
The second way to use ufsdump to a disk is to write the entire dump to a file, i.e.:
ufsdump 0fu /path/to/ufsdump_of_root.dmp /
Then you can restore a file using ufsrestore, to use an interactive restorer:
ufsrestore fi /path/to/ufsdump_of_root.dmp
Question 5:
Most companies i have worked at uses a mix, some backups are written to disks and some to tape. In particular the short term backups (in the time frame one week to one month) are disk based and everything else (one month to ten years) are tape-based.
But it really depends on what kind of data it is and what legal requirements you have. If you have to store data for a few years disk backups are not really an option. The benefits of tape backups are that they are quite fast (in particular LTO5), they don't really consume any electricity and you can easily enlarge your archive by buying more tapes.
I once calculated how many harddrives i would need to store 10 years of backups online. I don't remember how many harddrive i needed (but it was 100TB +), but it would require about 10-15kW of electricity...
Harddisk backups was popular a while ago, but i think tape is coming back, at least thats my impression.
.7/M. -
Hi,
Is it possible to restore a backup taken on a Solaris box to a Linux box?
Have attempted this but when try to run sqlplus, svrmgrl etc, message received was cannot execute binary file.
Any help appreciated,
ThanksWhich type of backup? Oracle backup or a Solaris backup?
If it is an oracle export, then the answer should be yes since data is data UNLESS your O/S is 64bit and the linux box is 32bit. Also, sparc and intel are not compatible archeticures (try moving shadow files sometime). Otherwise, if it was a dump (file system) then no.
Have a better day than I,
dp -
"Forbidden" message when trying to access LMS 4.0
I have installed LMS 4.0, installed the 2008 R2 patch as well. Everything worked with SSL until I did an import from our 3.2 Solaris version. After that, now when I access the application I get a message:
"Forbidden
You don't have permission to access /
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request"
I have recreated the certs, reset the casuser, verified the correct prvilieges were set for casuser.
Any other ideas?
Thanks.
KimberlySorry to bring the bad news
In fact, you can't do that because AFAIK the solaris backup has several hardcoded paths in it that don't match the windows 2008 R2 paths.
I figured that the restore would get aborted or simply fail but apperently there is no detection of the 'other' unix type backup.
You can use the clean_system.exe to erase the existing LMS install and reinstall
I would export the DCR from the LMS3.2 to a file and import that.
Cheers,
Michel -
ZFS-Zpool shows 100% ful
I'm new to ZFS and I have a situation where one of the filesystem is ecc6quality shows 100%.full
It is configures in a ZFS pool, which is 1.2TB in total
root@solarisparent2:/# df -h
Filesystem Size Used Available Capacity Mounted on
rpool/ROOT/solaris 547G 3.8G 443G 1% /
/devices 0K 0K 0K 0% /devices
/dev 0K 0K 0K 0% /dev
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 4.1G 2.6M 4.1G 1% /system/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
fd 0K 0K 0K 0% /dev/fd
rpool/ROOT/solaris/var
547G 18G 443G 4% /var
swap 4.1G 184K 4.1G 1% /tmp
rpool/VARSHARE 547G 495K 443G 1% /var/share
bidev 1.2T 31K 8.3G 1% /bidev
ecc6dev 1.2T 31K 29G 1% /ecc6dev
rpool/export 547G 32K 443G 1% /export
rpool/export/home 547G 14G 443G 4% /export/home
rpool 547G 73K 443G 1% /rpool
ecc6quality 1.2T 31K 0K 100% /ecc6quality
root@solarisparent2:/# zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
bidev 1.20T 1014G 210G 82% 1.00x DEGRADED -
ecc6dev 1.20T 1.01T 192G 84% 1.00x ONLINE -
ecc6quality 1.20T 1.04T 155G 87% 1.00x ONLINE -
rpool 556G 103G 453G 18% 1.00x ONLINE -
root@solarisparent2:/# zfs list -r ecc6quality
NAME USED AVAIL REFER MOUNTPOINT
ecc6quality 1.18T 0 31K /ecc6quality
ecc6quality/oracle 1.03T 28.5G 1.00T -
ecc6quality/rootfilesystem 51.6G 43.1G 8.50G -
ecc6quality/sapmntmqs 15.5G 5.07G 10.4G -
ecc6quality/swap 66.0G 59.1G 6.89G -
ecc6quality/usrsapmqs 15.5G 535M 15.0G -
root@solarisparent2:/#
we have istalled one ldom server in this pool but that ldom is working fine, But customer ask why it's showing 100%,kindly help me..
Thanks
Thorana Murugan AThanks for update Cindy,
ecc6qualiy is phycial volume, this lun came from storage end and it's configured by RIAD5 in storage level,
oot@solarisparent2:~# zpool status -v ecc6quality
pool: ecc6quality
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
ecc6quality ONLINE 0 0 0
c0t600C0FF000000000098E5429E0390400d0 ONLINE 0 0 0
errors: No known data errors
root@solarisparent2:~# zpool history ecc6quality
History for 'ecc6quality':
2013-10-04.15:17:36 zpool create ecc6quality c0t600C0FF000000000098E5429E0390400d0
2013-10-04.16:56:49 zfs create -V 50gb ecc6quality/rootfilesystem
2013-10-05.11:56:30 zfs create -V 64gb ecc6quality/swap
2013-10-05.12:08:23 zfs create -V 1024gb ecc6quality/oracle
2013-10-05.12:11:43 zfs create -V 15gb ecc6quality/sapmntmqs
2013-10-05.12:17:12 zfs create -V 15gb ecc6quality/usrsapmqs
LDOM constarints
root@solarisparent2:~# ldm list-constraints ecc6quality
DOMAIN
ecc6quality
UUID
dabaf66b-8d71-6213-8c45-a6f2de7f7ca3
CONTROL
failure-policy=ignore
extended-mapin-space=off
cpu-arch=native
CORE
COUNT: 2
VCPU
COUNT: 16
MEMORY
SIZE: 25G
CONSTRAINT
threading=max-throughput
VARIABLES
auto-boot?=true
boot-device=rootqecc6
NETWORK
NAME SERVICE ID DEVICE MAC MODE PVID VID MTU LINKPROP
vnet2 primary-vsw0 0 network@0 1
DISK
NAME VOLUME TOUT ID
rootqecc6 rootqecc6@primary-vds0 0
swapqecc6 swapqecc6@primary-vds0 2
oracleqecc6 oracleqecc6@primary-vds0 3
sapmntqmqs sapmntqmqs@primary-vds0 4
qusrsaptrans qusrsaptrans@primary-vds0 5 (***** this VDISK connect form rpool )
qusrsapmqs qusrsapmqs@primary-vds0 6
VCONS
NAME SERVICE PORT
and ecc6quality LDOM O/P
-bash-4.1$ df -h
Filesystem Size Used Available Capacity Mounted on
\rpool/ROOT/solaris 49G 4.9G 35G 13% /
/devices 0K 0K 0K 0% /devices
/dev 0K 0K 0K 0% /dev
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 68G 2.5M 68G 1% /system/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
fd 0K 0K 0K 0% /dev/fd
rpool/ROOT/solaris/var
49G 198M 35G 1% /var
swap 68G 0K 68G 0% /tmp
rpool/VARSHARE 49G 900K 35G 1% /var/share
/dev/dsk/c2d4s0 15G 9.4G 5.1G 65% /sapmnt/MQS
/dev/dsk/c2d6s0 15G 5.0G 9.5G 35% /usr/sap/MQS
rpool/export 49G 32K 35G 1% /export
rpool/export/home 49G 57K 35G 1% /export/home
rpool/export/home/daaadm 49G 105K 35G 1% /export/home/daaadm
rpool/export/home/mqsadm 49G 326K 35G 1% /export/home/mqsadm
rpool/export/home/sapadm 49G 35K 35G 1% /export/home/sapadm
oracle 1000G 163G 187G 47% /oracle
oracle/oramqs 1000G 611G 187G 77% /oracle/MQS
rpool 49G 73K 35G 1% /rpool
oracle/trans 52G 39G 13G 75% /usr/sap/trans
root@ecc6quality:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
oracle 813G 187G 163G /oracle
oracle/oramqs 611G 187G 611G /oracle/MQS
oracle/trans 38.9G 13.1G 38.9G /usr/sap/trans
rpool 13.6G 35.4G 73.5K /rpool
rpool/ROOT 5.35G 35.4G 31K legacy
rpool/ROOT/solaris 5.35G 35.4G 4.91G /
rpool/ROOT/solaris-backup-1 153K 35.4G 2.12G /
rpool/ROOT/solaris-backup-1/var 76K 35.4G 153M /var
rpool/ROOT/solaris/var 318M 35.4G 198M /var
rpool/VARSHARE 900K 35.4G 900K /var/share
rpool/dump 6.19G 35.6G 6.00G -
rpool/export 556K 35.4G 32K /export
rpool/export/home 524K 35.4G 57.5K /export/home
rpool/export/home/daaadm 106K 35.4G 106K /export/home/daaadm
rpool/export/home/mqsadm 326K 35.4G 326K /export/home/mqsadm
rpool/export/home/sapadm 35K 35.4G 35K /export/home/sapadm
rpool/swap 2.06G 37.4G 16K -
root@ecc6quality:~# zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
oracle 1016G 813G 203G 80% 1.00x ONLINE -
rpool 49.8G 11.4G 38.4G 22% 1.00x ONLINE -
root@ecc6quality:~# echo | format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c2d0 <SUN-DiskImage-50GB cyl 1420 alt 2 hd 96 sec 768>
/virtual-devices@100/channel-devices@200/disk@0
1. c2d2 <SUN-DiskImage-64GB cyl 1818 alt 2 hd 96 sec 768>
/virtual-devices@100/channel-devices@200/disk@2
2. c2d3 <Unknown-Unknown-0001-1.00TB>
/virtual-devices@100/channel-devices@200/disk@3
3. c2d4 <SUN-DiskImage-15GB cyl 424 alt 2 hd 96 sec 768>
/virtual-devices@100/channel-devices@200/disk@4
4. c2d5 <SUN-DiskImage-30GB cyl 851 alt 2 hd 96 sec 768>
/virtual-devices@100/channel-devices@200/disk@5
5. c2d6 <SUN-DiskImage-15GB cyl 424 alt 2 hd 96 sec 768>
/virtual-devices@100/channel-devices@200/disk@6
Specify disk (enter its number): Specify disk (enter its number):
root@ecc6quality:~#
Thanks
Thoranam -
Backup problem with LMS 3.0 on Solaris
Hi All,
I'm encountering problems with LMS 3.0 when I try to do a backup. After you hit OK on the window that says "Do you want to backup now?", an error would pop up saying: "Enter a new directory name or ask the system administrator of the Ciscoworks Common Services server to make the directory accessible to user casuser", thus I cannot proceed with the backup process. When I do backup, my login privilege is admin. Even tried to do backup on the same partition as my CSCOpx directory but to no avail.
Appreciate your help on this guys. Our LMS 3.0 runs on Solaris platform. Thanks in advance.Hi Joe,
Thanks for your prompt response. By the way, what is a casuser? Is he also one of the user that can be found on the Local User Setup on Common Services? The scenario here is that, I am not the one who installed the Ciscoworks LMS 3.0 on the client side, so I am not aware on how they did the installation procedure for the application. I remember assigning casuser password during installation on our other clients that has LMS 3.0.
Will the write access on the backup directory for the casuser be done by the Solaris root administrator?
Thanks for your help. -
How can I create a system backup in Solaris 10?
Hello,
sorry about my English.
I need to create a image of entire disk or a system backup. I think use "ufsdump" but I'm not sure. Can I create a backup of whole disk with "ufsdump" command? Are there any application to do it.?
I've got a Solaris 10.
Thank.
Alejandro.If you want to create an image of the entire disk, then `dd' is an option. But you can also use ufsdump to create an image of a filesystem running on that disk, but you need to do that for every filesystem on the disk and please keep a copy of you vtoc for the future if you need to restore everything.
On the other hand you make me thing about someone who wants to clone machines and then a Flash Archive can also be an option. Please keep in mind to ask the question in the future instead of conformation of your answer ;-) -
What are the various ways to take backup on solaris 10
What are the various ways to take backup on solaris 10.
Kindly tell in detail
Thanks in advanceufsdump - used for ufs backup. you can perform full (0), incremental and differential backups.
example1. ufsdump 0cfu /dev/rmt/0 /dev/rdsk/c0t3d0s0 - back-up root filesystem to tape device
example2. ufsdump 5fuv /dev/rmt/1 /dev/rdsk/c0t3d0s6 - back-up filesystem on partition 6 to tape device
tar - used to bundle set of files and directories. No hidden files will be backed-up
example - tar cvf /dev/rmt/0 / /usr /var /home - back-up / (root), /usr, /var and /home filesystems to tape device.
dd - convert and copy file
example 1. dd if=/dev/rmt/0h of=/dev/rmt/1h
example 2. tar cvf - . | compress | dd obs=1024k of=/dev/rmt/0 conv=sync
cpio - good for restoring image from one system to the other.
see man pages for in-depth details -
Backup to disk storage, from ASM enabled DB, Solaris 10,11gRel1. RAC
Hi,
I am struggling with completing backup of database within appropriate time. It keeps running for days. I have tried with 07 channels and now trying with 03 channels.
Database is 2 node RAC cluster, each running "Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production" on Solaris 10, SPARC-Enterprise-T5220 with 6 CPU and 32GB RAM. The ASM is running on LUNs taken from IBM XIV.
RMAN> SHOW ALL;
RMAN configuration parameters for database with db_unique_name EPMPRD are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 10 DAYS;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u998/backups/epmprd/rman_backup/ora_cf%F';
CONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO COPY;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 2;
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/u998/backups/oepmprd/rman_backup/%d_%u_%p_%N_fileno:%f.dbf';
CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT '/u998/backups/epmprd/rman_backup/ora_df_%d_%T_%s_%c_%p' CONNECT '*';
CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT '/u998/backups/epmprd/rman_backup/ora_df_%d_%T_%s_%c_%p' CONNECT '*';
CONFIGURE CHANNEL 3 DEVICE TYPE DISK FORMAT '/u998/backups/epmprd/rman_backup/ora_df_%d_%T_%s_%c_%p' CONNECT '*';
CONFIGURE MAXSETSIZE TO 4296 M;
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'ZLIB';
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
SQL> SELECT filename, status, bytes FROM v$block_change_tracking;
FILENAME STATUS BYTES
+DGA1/epmprd/block_change.dbf ENABLED 22085632
RMAN script running under crontab has:
CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT '$DATA_FILE_DIR/ora_df_%d_%T_%s_%c_%p' connect = '$CONNECT_TARGET1';
CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT '$DATA_FILE_DIR/ora_df_%d_%T_%s_%c_%p' connect = '$CONNECT_TARGET1';
CONFIGURE CHANNEL 3 DEVICE TYPE DISK FORMAT '$DATA_FILE_DIR/ora_df_%d_%T_%s_%c_%p' connect = '$CONNECT_TARGET1';
BACKUP AS COMPRESSED BACKUPSET INCREMENTAL LEVEL 0 DATABASE FILESPERSET 1;
BACKUP ARCHIVELOG ALL not backed up FORMAT '$DATA_FILE_DIR/ora_arch_%d_%s_%T_%c_%p';
DELETE FORCE NOPROMPT ARCHIVELOG UNTIL TIME 'SYSDATE-7' backed up 2 times to disk;
BACKUP SPFILE format '$DATA_FILE_DIR/spfile_%d_%T_%s_%p';
where TARGET1=epmprd1 (instance 1 of RAC i.e. using instance 1 as backup node)
SQL> @tbs_usage.sql
TABLESPACE_NAME SUM_SPACE(M) SUM_BLOCKS USED_SPACE(M) USED_RATE(%) FREE_SPACE(M)
SYSTEM 2000 256000 1074.94 53.75 925.06
CALC 250 32000 5.5 2.2 244.5
FDMCOMMA2D 250 32000 .06 .02 249.94
FDMXCHANGING1I 250 32000 .06 .02 249.94
FDMXCHANGING1D 250 32000 .06 .02 249.94
FDMXCHANGING3I 250 32000 .06 .02 249.94
FDMXCHANGING4D 451.56 57800 421.06 93.25 30.5
USERS 2000 256000 381.37 19.07 1618.63
BIPLUS 250 32000 81.44 32.58 168.56
FDMCOMMAI 250 32000 .06 .02 249.94
FDMXCHANGING2I 250 32000 .06 .02 249.94
UNDOTBS2 4279 547712 18.44 .43 4260.56
EPMA 250 32000 57.81 23.12 192.19
EPMAINT 250 32000 .06 .02 249.94
HFM 50000 6400000 18566.75 37.13 31433.25
HSS 250 32000 25.06 10.02 224.94
FDMSTAT 250 32000 .06 .02 249.94
FDMCOMMAD 250 32000 .06 .02 249.94
FDMCOMMA2I 250 32000 .06 .02 249.94
FDMXCHANGING2D 250 32000 .06 .02 249.94
FDMXCHANGING3D 250 32000 .06 .02 249.94
SYSAUX 2000 256000 1208.37 60.42 791.63
FDMXCHANGING4I 250 32000 .06 .02 249.94
UNDOTBS1 2000 256000 26.56 1.33 1973.44
TEMP 10284 1316352 10284 100 0
25 rows selected.
SQL>select sum(bytes/1024)/1024/1024 from dba_segments;
SUM(BYTES/1024)/1024/1024
40.0876465
Please share what i can do to optimize the backups. Your suggestions are highly appreciated.
regards,
AnjumHi,
/998 is SAN mountpoint taken from IBM XIV.
oepmprd@basfisprddatg01$ cat /etc/vfstab | grep -i u998
/dev/md/dsk/d200 /dev/md/rdsk/d200 /u998 ufs 2 yes logging
I have done some testing and following are results.
1.
ASMCMD> cp hfm22.dbf /u998/backups/epmprd/rman_backup
copying +DGA1/epmprd/hfm22.dbf -> /u998/backups/epmprd/rman_backup/hfm22.dbf
oepmprd@basfisprddatg01$ du -sh hfm22.dbf
2.0G hfm22.dbf
Time taken: 29 seconds
================================================
2.
ASMCMD> cp group_5.600.766282841 /u998/backups/epmprd/rman_backup
copying +FRA/epmprd/ONLINELOG/group_5.600.766282841 -> /u998/backups/epmprd/rman_backup/group_5.600.766282841
oepmprd@basfisprddatg01$ du -sh group_5.600.766282841
500M group_5.600.766282841
Time taken: 11 seconds
================================================
3.
ASMCMD> cp temp01.dbf /u998/backups/epmprd/rman_backup
copying +DGA1/epmprd/temp01.dbf -> /u998/backups/epmprd/rman_backup/temp01.dbf
oepmprd@basfisprddatg01$ du -sh temp01.dbf
10.0G temp01.dbf
Time taken: 03 mins, 16 seconds
=================================================
Moreover, i copied a file from /u998 to /tmp and it was quick:
grid@basfisprddatg01$ pwd
/u998/backups/epmprd/rman_backup
grid@basfisprddatg01$ du -sh ora_df_EPMPRD_20111210_7783_1_1
266M ora_df_EPMPRD_20111210_7783_1_1
grid@basfisprddatg01$ cp ora_df_EPMPRD_20111210_7783_1_1 /tmp/
It took 2-3 seconds.
regards,
Anjum
Edited by: Anjum Shehzad on Dec 12, 2011 11:18 AM -
How to restore a Oracle 9i Backup from Sun Solaris to Linux
Dear all,
I am using Oracle 9.0.1.
I make a Hot Backup which made by Rman in the Sun Solaris
and now, I want to restore this backup to the Linux machine.
But in the Linux machine,
the database name & path is different from that in Sun Solaris.
Does Oracle backup can restore across different platforms?
Does anyone know how to do write ryman statement to do this?
Thank for your kindly help.
WilsonYou cant resore backup in different platform.
/Jonas -
Solstice Backup and Solaris 8 Upgrade
I currently have Solstice Backup v5.0.1, patched with 105658-05 on Solaris 2.6. When I upgrade to Solaris 8, do I reinstall Solstice Backup v5.0.1 or will I have to upgrade it too?
ThanksMinimum release of Solstice Backup for Solaris 8 is 5.5.1. Latest is 6.1.
-
Upgrade to Solaris 8 - Solstice Backup
Hi,
I currently have Solstice Backup v5.0.1, patched with 105658-05 on Solaris 2.6. When I upgrade to Solaris 8 can I reinstall Solstice Backup v5.0.1 or will I have to upgrade it too?
Thanks
DMinimum release of Solstice Backup for Solaris 8 is 5.5.1. Latest is 6.1.
-
LMS 3.2 (Solaris) db/backup problem
Hi team!
I have a LMS 3.2 on Solaris 10, and I have some problems after trying to install the last few DevicePackage:
1) several processes are not up, then I tried to restart DaemonManager from the console:
bash-3.00 # /etc/init.d/dmgtd stop
Daemon Management is not running.
INFO: Stopping DBEngine processes registered to Daemon Manager
WARNING: Daemon Manager could not stop DBEngine processes.
WARNING: Please run the command "/opt/CSCOpx/bin/dbstop.pl all"
WARNING: to stop DBEngine processes manually.
bash-3.00 # /opt/CSCOpx/bin/dbstop.pl all
Error retrieving dsns Can not open directory /opt/CSCOpx/backup/manifest;
bash-3.00 #
bash-3.00 # ps-ef | grep CSCOpx
casuser 28450 1 0 14:02:43? 3:04 /opt/CSCOpx/objects/db/bin64/dbsrv10-x tcpip (HOST = localhost; DOBROADCAST = NO; Ser
casuser 28587 1 0 14:05:51? 13:38 /opt/CSCOpx/objects/db/bin64/dbsrv10-x tcpip (HOST = localhost; DOBROADCAST = NO; Ser
casuser 28465 1 0 14:02:51? 1:27 /opt/CSCOpx/objects/db/bin64/dbsrv10-x tcpip (HOST = localhost; DOBROADCAST = NO; Ser
casuser 28298 1 0 14:01:59? 30:15 /opt/CSCOpx/objects/db/bin64/dbsrv10-x tcpip (HOST = localhost; DOBROADCAST = NO; Ser
root 605 21740 0 17:37:32 pts / 1 0:00 grep CSCOpx
casuser 28319 1 0 14:02:23? 0:29 /opt/CSCOpx/objects/db/bin64/dbsrv10-x tcpip (HOST = localhost; DOBROADCAST = NO; Ser
casuser 28439 1 0 14:02:35? 1:06 /opt/CSCOpx/objects/db/bin64/dbsrv10-x tcpip (HOST = localhost; DOBROADCAST = NO; Ser
casuser 28309 1 0 14:02:19? 29:07 /opt/CSCOpx/objects/db/bin64/dbsrv10-x tcpip (HOST = localhost; DOBROADCAST = NO; Ser
casuser 28361 1 0 14:02:31? 2:25 /opt/CSCOpx/objects/db/bin64/dbsrv10-x tcpip (HOST = localhost; DOBROADCAST = NO; Ser
casuser 28480 1 0 14:02:59? 0:38 /opt/CSCOpx/objects/db/bin64/dbsrv10-x tcpip (HOST = localhost; DOBROADCAST = NO; Ser
bash-3.00 # kill -9 28450 28587 28465 28298 28319 28439 28309 28361 28480
bash-3.00 # ps-ef | grep CSCOpx
root 607 21740 0 17:38:29 pts / 1 0:00 grep CSCOpx
bash-3.00 # /etc/init.d/dmgtd start
INFO: backed up /var/adm/CSCOpx/log/daemons.log to /var/adm/CSCOpx/log/daemonsbackup.log
Daemon Management 3.9 starting. Log = (syslog) /var/adm/CSCOpx/log/dmgtd.log
bash-3.00 #
2) SelfTest Information:
database.pl
WARN No Data Source Found, No Database Self Test is performed
3) Directory "manifest" - not exist (/opt/CSCOpx/backup/manifest).
How to fix the database?
How to rebuild the directory "manifest" (/opt/CSCOpx/backup/manifest)?
Can some one help me?The result is negative:
bash-3.00#
bash-3.00# ls -la
total 10
drwxrwxr-x 5 casuser casusers 512 Oct 11 10:12 .
drwxrwxr-x 33 casuser casusers 1024 Oct 10 21:00 ..
drwxr-xr-x 11 casuser casusers 512 Oct 11 10:19 0
drwxr-xr-x 11 casuser casusers 512 Aug 27 02:33 11
drwxr-xr-x 11 casuser casusers 512 Sep 10 02:32 13
bash-3.00# /opt/CSCOpx/bin/perl /opt/CSCOpx/bin/restorebackup.pl -h -d /opt/CSCOpx/backup/
Restore Program Help
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To run the restore command, the command syntax is:
/opt/CSCOpx/bin/perl /opt/CSCOpx/bin/restorebackup.pl <-d BackupDirectory> [-gen GenerationNumber] [-t TempDirectory] [-help]
BackupDirectory : Directory where the backup archive is present
GenerationNumber: Generation to be restored
TempDirectory : Temporary directory for the restore program
Default TempDirectory for this restore program:
/opt/CSCOpx/tempBackupData
Use -t TempDirectory to define your own temp directory
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Number of B/U generations kept are set on the 'Schedule Backup' HTML page.
The most recent scheduled B/U generation will be that with the highest number.
To restore a particular generation, use the command line option '-gen #'
where # is a generation number from the list below.
Generation 0 holds the most recent B/U executed from the 'Backup Data Now' page.
To restore generation 0, use the '-gen now' parameter.
bash-3.00#
bash-3.00# /opt/CSCOpx/bin/perl /opt/CSCOpx/bin/restorebackup.pl -d /opt/CSCOpx/backup/ -gen 11
Restore started at : 2010/10/11 10:38:57
Please see '/var/adm/CSCOpx/log/restorebackup.log' for status.
ERROR: Cannot find the generation in the backup directory [/opt/CSCOpx/backup/].
Verify the backup directory and the generation
bash-3.00# /opt/CSCOpx/bin/perl /opt/CSCOpx/bin/restorebackup.pl -d /opt/CSCOpx/backup/ -gen now
Restore started at : 2010/10/11 10:39:02
Please see '/var/adm/CSCOpx/log/restorebackup.log' for status.
ERROR: Cannot find the generation in the backup directory [/opt/CSCOpx/backup/].
Verify the backup directory and the generation
bash-3.00# /opt/CSCOpx/bin/perl /opt/CSCOpx/bin/restorebackup.pl -d /opt/CSCOpx/backup/ -gen 13
Restore started at : 2010/10/11 10:39:10
Please see '/var/adm/CSCOpx/log/restorebackup.log' for status.
ERROR: Cannot find the generation in the backup directory [/opt/CSCOpx/backup/].
Verify the backup directory and the generation
bash-3.00#
I found directory "manifest" on the old server, it has been installed LMS 3.0 - can I use it? (current version of LMS 3.2)
There are still some methods or need to do to reinstall?
Maybe you are looking for
-
Safari 5.1.2 crashes on startup, all extensions removed (Snow Leopard)
I have reset safari completely. Have also deleted the Webicons db file. And done a few more things mentioned in the forums. However, the problem is I am not able to find the exact problems after reading through the error report. Any help would be ap
-
Oracle 9 feature not available in Oracle 10
The following query does work in Oracle 9.2.0.4 (and 9.2.0.5), but does not work in Oracle 10.1.0.2 (Linux) SELECT * FROM MEDIA_CONTENT WHERE EXISTSNODE (MCON_XML, '/rdf:RDF/rdf:Description[ora:contains(dc:title,"Whale")>0]', 'xmlns:rdf="http://www.w
-
Revised --Image Upload--- Problem??
Hi again, I'm posting a revised question, maybe that clarifies better. We have a running Portal 3.0.7 with the default settings. We may upload any image (checked in WWDOC_DOCUMENT table), but the image files may not be shown in the portal(banner imag
-
Locating my printer setup utility
I dont seem to have a printer setup utility how do i get one to add my new printer to? did it go the way of my virex when i loaded leopard? cause im getting this error msg to list the new printer in the setup utility and my search provides no printer
-
Hello. I need load data to LiveCache using report /SAPAPO/OM_DWNUPL_UPLOAD, but get error. "Selected plng versions have already been loaded. If you want to reload the planning versions again, you must first initialize the liveCache and repeat all of