Backup testing
I want to test our RMAN backup's. We really cannot test it by restoring to a test machine, as we dont have any test servers available.
All we want is know that the backups taken to tape are intact and if at any point we need to restore, RMAN can read it from there.
We have a retention period of 7 days and we need to Validate all the backups taken in the last 7 days.
Is there any work around ? something like a fake restore.
we are on oracle 11.1.0.7 on Linux.
You must use validate command.
Validate specific tablespace
RMAN>validate tablespace users;
Validate specific datafile
RMAN>validate datafile 5;
Validate all archivelogs
RMAN>validate archivelog all;
Validate specific archivelogs
RMAN>validate archivelog sequence between 150 and 180;
Validate specific backupset
RMAN>validate backupset 3;
Validate all recovery related files
RMAN>validate recovery files;
Validate blocks
RMAN>validate datafile 5 block 1 to 10;
Validate everything
RMAN>backup validate database archivelog all;
And there is restore..preview command to chack the availability of files.It does not actually restore but checks the availability of files.
RMAN>restore tablespace users preview;
Similar Messages
-
RMAN backup testing using networker and NMO
I want to do some RMAN backup testing using networker 7.5 and NMO 5.0. I am doing these testing on VMware. I am not sure whether I need to buy some tape drive for my home PC to do backup testing or I can mimic hard drive as tape drive in VMWARE.
Do you have any idea? any suggestion please?
Thanks..I think this is not a RMAN/Oracle issue, as soon as you configure networker MML it's up to networker to define the real backup destination behind. Maybe networker has also a 'fake' tape destination,but I don't know this. There's a networker forum:
http://www.tek-tips.com/threadminder.cfm?pid=480
Werner -
Will RMAN remove invalid backup pieces from Backup tests?
DB Version: 10.2.0.4.0
Thinking that Level1 backups don't take much time, In production, I was testing a Level 1 bkp (I took a level 0 bkp of our 700gb only yesterday).
But, the end users were complaining that system has become very slow. So, i've cancelled the LEVEL 1 backup.
Now i can see 5 backup pieces wasting some space.
I know that RMAN removes expired backup like
delete expired backup;But, how do i script RMAN to remove files mentioned above ie.files from a backup that was aborted halfway through ?Hi Insignificant
But, how do i script RMAN to remove files mentioned above ie.files from a backup that was aborted halfway through ?If you can locate them on the OS level you could remove them with OS commands.
For backup pieces containg datafiles use <crosscheck backup;> followed by <delete expired backup;> with rman client.
Tycho -
Backup test fails...
Hello all, i am on hp-ux itanium 11.31...trying to test tape backup
DB having issue is 10.2.0.4
one thing to note...i have other DB on this server with different Oracle home and backup are running fine..they are 11g...
i have create the link as we did for other db's for libobk.so file
$ pwd
/oracle/ORCL/102_64/bin
$
$
$ ./sbttest test
The sbt function pointers are loaded from oracle.static library.
libobk.sl could not be loaded. Check that it is installed
$
$ cd ../lib
$
$ ls -ltr *bob*
lrwxr-xr-x 1 oraorcl dba 34 Mar 7 15:29 libobk.so -> /usr/openv/netbackup/bin/libobk.so
$i ran the sbttest on other DB which has the same link and test came back fine...but for this it fails...one thing to note is libobk.sl file...i tried searching on google but didnt find anything with regards to .sl file...saw other files...
what am i doing wrong here?please go the directory /usr/openv/netbackup/bin and there you will see one file called oracle_link, just run that file as oracle user and on request prompt Y.
It will link your backup binaries with the oracle binaries.
$ pwd
/export/home/oracle
$ cd /usr/openv/netbackup/bin
$ pwd
/usr/openv/netbackup/bin
$ ls -lrt ora*
-r-xr-xr-x 1 root bin 34972 Apr 24 2010 oracle_link
$ ./oracle_link
Tuesday, 18 December 2012 10:26:24 GMT
All Oracle instances should be shutdown before running this script.
Please log into the Unix system as the Oracle owner for running this script
Do you want to continue? (y/n) [n] y
LIBOBK path: /usr/openv/netbackup/bin
ORACLE_HOME: /u01/app/oracle/product/11.2.0/dbhome_1
Oracle version: 11.2.0.2.0
Platform type: sparc
Linking LIBOBK:
Moving 64-bit libobk.so to libobk.so.back
ln -s /usr/openv/netbackup/bin/libobk.so64.1 /u01/app/oracle/product/11.2.0/dbhome_1/lib/libobk.so
Done
Please check the trace file located in /tmp/make_trace.22611
to make sure the linking process was successful.
$ sbttest test2
The sbt function pointers are loaded from libobk.so library.
-- sbtinit succeeded
-- sbtinit (2nd time) succeeded
sbtinit: Media manager supports SBT API version 2.0
sbtinit: Media manager is version 5.0.0.0
sbtinit: vendor description string=Veritas NetBackup for Oracle - Release 6.5 (2010042405)
sbtinit: allocated sbt context area of 8 bytes
sbtinit: proxy copy is supported
-- sbtinit2 succeeded
-- regular_backup_restore starts ................................
-- sbtbackup succeeded
write 100 blocks
-- sbtwrite2 succeeded
-- sbtclose2 succeeded
sbtinfo2: SBTBFINFO_NAME=test2
sbtinfo2: SBTBFINFO_SHARE=multiple users
sbtinfo2: SBTBFINFO_ORDER=sequential access
sbtinfo2: SBTBFINFO_LABEL=SG1674
sbtinfo2: SBTBFINFO_CRETIME=Tue Dec 18 10:27:28 2012
sbtinfo2: SBTBFINFO_EXPTIME=Fri Jan 18 10:27:28 2013
sbtinfo2: SBTBFINFO_COMMENT=Backup ID : cnsdc-t5220-03-bsn_1355826448
sbtinfo2: SBTBFINFO_METHOD=stream
-- sbtinfo2 succeeded
-- sbtrestore succeeded
file was created by this program:
seed=112655096, blk_size=16384, blk_count=100
read 100 buffers
-- sbtread2 succeeded
-- sbtclose2 succeeded
-- sbtremove2 succeeded
-- regular_backup_restore ends ................................
Edited by: diptiranjanb on Dec 18, 2012 2:29 AM -
hi experts
i have backup of PRD server in a tape. now i want to test it on QAS .whether the backup is working r not.
kindly guide me. if posible provide the steps.Dear,
Refer SAP Note : 151603 u2013 Copying an SQL Server database.
Restore Database files ( datafile + log file) into there respective folder.
Follow Attach method and change SID names.
Regards,
Nikunj Thaker. -
License for backup testing server
I'd like to set up a system to test all our database backups. My plan is a dedicated server that would cycle through our backups and test them by restoring and running dbcc checkdb etc. It would raise an email alert if there was a problem. The server would
not be serving up data to anyone.
We have several spare SQL licenses from our developers' MSDN subscriptions. Would an MSDN license cover this server or does this count as a production server? (I thought of the Express edition but some of our databases are too big.) Please advise. Thanks.Hello,
Since the question is a license issue, you can call 1-800-426-9400, Monday through Friday, 6:00 A.M. to 6:00 P.M. (Pacific
Time) to speak directly to a Microsoft licensing specialist. You can also visit the following site for more information and support on licensing issues:
http://www.microsoft.com/licensing/mla/default.aspx
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Hi,
Daily I am taking the RMAN Full Hot Backup into the Disk and later to tape....so we need to test the whether backups are occuring correctly or not....means..we need to test full RMAN restore and recovery to some other machine.......
How can we acheive this...can anybody sched some light on this....Please it is urgent.....Hi,
thank you....
I got the following procedure...to test it and restore to some other machine and recover there....and check the production and restored one data...I got the material from RMAN Documents regarding restore and reocover to some other machine with same INSTANCE_NAME and ORACLE_SID and DB_NAME.......
can we do the RMAN clone to some other machine with different oracle_sid,db_name,instance_name using PRODUCTION RMAN FULL HOT BACKUP..... -
1 AirDisk, 1 Computer, 2 Users Backup to Disk... 1 Problem
I have an iMac with 802.11n and an AirPort Extreme (N) with a USB harddrive plugged into the back. My iMac has two users, myself and my wife. I have .Mac Backup doing daily backups to the AirDisk for both users. (I just backup small stuff like documents, addressbook, mail, and calendar stuff. Nothing too heavy.) Well, the Backup plan for my wife's user is no longer working. My side works still. On my wife's side, Backup is giving me this error message:
An internal application error has occurred. The destination directory /Volumes/AirDisk/Backups/test - 2007.08.09-21.04.53.017.backXX/Contents/Contents could not be created.
End backup at 2007-08-09 21:04:54.263 -0500
Lovely. The AirDisk is formatted in OS X Extended, we can both still access and edit other files which we keep there. All software is up to date. It's just a matter of Backup apparently not wanting to save my wife's stuff. The weird thing is that everything on my user account is all fine and dandy. Any help would be greatly appreciated.
~rickI'm having this issue too. It has to do with fast user switching. When you log in, an alias to the AirDisk is placed in /Volumes. When your wife logs in via fast user switching, a second alias is created, named something like "AirDisk-1". This altered alias name causes confusion for Backup. I wish it didn't.
If you log out of your account, and then your wife logs in to hers, her backup should work. Sometimes I have to reboot to clear out all the various aliases. Plus, after time the AEBS stops sharing the AirDisk and I have to reboot it, but that's a separate issue (I think). -
Is my test suite configured properly?
I am building db-4.6.19 from source on Novell SuSE Linux 9.2 on ia64 (Intel Itanium2) hardware, then running the test suite with tclsh 8.4. Here’s my configuration line:
cd build_unix
../dist/configure prefix=/home/mark/WORKAREAS/webplatform/build/dev/20070924 with-test --with-tcl=/usr/lib
I run make and that goes well, then I run the standard test in tclsh via:
echo 'info tclversion; source ../test/test.tcl; run_std; exit' | tclsh; tail ALL.OUT
Most of the tests pass, but the tail of ALL.OUT is at db-4.6.19/build_unix/ALL.OUT (below) produces many error messages for a few tests. They seem to be variations on the same issue, and I’m not sure how to fix it at this point – can someone point me to help? It appears that a command isn't parsing properly.
I'm not sure how to troubleshoot further, it seems to be a syntax error.
Thanks!
eval test119 -hash "119" ; verify_dir ./TESTDIR "" 1
FAIL:14:29:10 (00:00:00) run_method: -hash test119: bad command "handles": must be dbremove, dbrename, env, envremove, open, sequence, version, rand, random_int, srand, or debug_check
eval test120 -hash "120" ; verify_dir ./TESTDIR "" 1
FAIL:14:29:10 (00:00:00) run_method: -hash test120: bad command "handles": must be dbremove, dbrename, env, envremove, open, sequence, version, rand, random_int, srand, or debug_check
eval test121 -hash "121" ; verify_dir ./TESTDIR "" 1
FAIL:14:29:10 (00:00:00) run_method: -hash test121: bad command "handles": must be dbremove, dbrename, env, envremove, open, sequence, version, rand, random_int, srand, or debug_check
eval test122 -hash "122" ; verify_dir ./TESTDIR "" 1
FAIL:14:29:10 (00:00:00) run_method: -hash test122: bad command "handles": must be dbremove, dbrename, env, envremove, open, sequence, version, rand, random_int, srand, or debug_check
Regression Tests Failed
Test suite run completed at: 14:29 09/24/07Thanks, I have built in a new directory and ammended my configuration line to:
../dist/configure prefix=/home/mark/WORKAREAS/webplatform/build/dev/20070926 with-test enable-tcl with-tcl=/usr/lib
Results in:
checking build system type... ia64-unknown-linux-gnu
checking host system type... ia64-unknown-linux-gnu
checking if building in the top-level or dist directories... no
checking if --disable-cryptography option specified... no
checking if --disable-hash option specified... no
checking if --disable-mutexsupport option specified... no
checking if --disable-queue option specified... no
checking if --disable-replication option specified... no
checking if --disable-statistics option specified... no
checking if --disable-verify option specified... no
checking if --enable-compat185 option specified... no
checking if --enable-cxx option specified... no
checking if --enable-debug option specified... no
checking if --enable-debug_rop option specified... no
checking if --enable-debug_wop option specified... no
checking if --enable-diagnostic option specified... no
checking if --enable-dump185 option specified... no
checking if --enable-java option specified... no
checking if --enable-mingw option specified... no
checking if --enable-fine_grained_lock_manager option specified... no
checking if --enable-o_direct option specified... no
checking if --enable-posixmutexes option specified... no
checking if --enable-pthread_api option specified... no
checking if --enable-rpc option specified... no
checking if --enable-smallbuild option specified... no
checking if --enable-tcl option specified... yes
checking if --enable-test option specified... no
checking if --enable-uimutexes option specified... no
checking if --enable-umrw option specified... no
checking if --with-mutex=MUTEX option specified... no
checking if --with-tcl=DIR option specified... /usr/lib
checking if --with-uniquename=NAME option specified... no
checking for chmod... chmod
checking for cp... cp
checking for ln... ln
checking for mkdir... mkdir
checking for rm... rm
checking for sh... /bin/sh
checking for a BSD-compatible install... /usr/bin/install -c
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether we are using gcc version 2.96... no
checking whether g++ requires -fhandle-exceptions... no
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by cc... /usr/ia64-suse-linux/bin/ld
checking if the linker (/usr/ia64-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/ia64-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 131072
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/ia64-suse-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking SOSUFFIX from libtool... .so
checking MODSUFFIX from libtool... .so
checking JMODSUFFIX from libtool... .so
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for struct stat.st_blksize... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for unistd.h... (cached) yes
checking for char... yes
checking size of char... 1
checking for unsigned char... yes
checking size of unsigned char... 1
checking for short... yes
checking size of short... 2
checking for unsigned short... yes
checking size of unsigned short... 2
checking for int... yes
checking size of int... 4
checking for unsigned int... yes
checking size of unsigned int... 4
checking for long... yes
checking size of long... 8
checking for unsigned long... yes
checking size of unsigned long... 8
checking for long long... yes
checking size of long long... 8
checking for unsigned long long... yes
checking size of unsigned long long... 8
checking for char *... yes
checking size of char *... 8
checking for u_char... yes
checking for u_short... yes
checking for u_int... yes
checking for u_long... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for int16_t... yes
checking for u_int32_t... yes
checking for int32_t... yes
checking for u_int64_t... yes
checking for int64_t... yes
checking for FILE... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for time_t... yes
checking for size_t... (cached) yes
checking size of size_t... 8
checking for ssize_t... yes
checking for uintmax_t... yes
checking for uintptr_t... yes
checking for socklen_t... yes
checking for ANSI C exit success/failure values... yes
checking for mutexes... POSIX/pthreads/library
checking for main in -lpthread... yes
checking for library containing sched_yield... none required
checking for library containing fdatasync... none required
checking for library containing getaddrinfo... none required
checking for library containing hstrerror... none required
checking for main in -lm... yes
checking for main in -lnsl... yes
checking for main in -lpthread... (cached) yes
checking for main in -lsocket... no
checking for abort... yes
checking for atoi... yes
checking for atol... yes
checking for getcwd... yes
checking for getenv... yes
checking for getopt... yes
checking for isalpha... yes
checking for isdigit... yes
checking for isprint... yes
checking for isspace... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for printf... yes
checking for qsort... yes
checking for raise... yes
checking for rand... yes
checking for strcasecmp... yes
checking for strcat... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strncat... yes
checking for strncmp... yes
checking for strrchr... yes
checking for strsep... yes
checking for strtol... yes
checking for strtoul... yes
checking for _fstati64... no
checking for directio... no
checking for fchmod... yes
checking for fclose... yes
checking for fcntl... yes
checking for fdatasync... yes
checking for fgetc... yes
checking for fgets... yes
checking for fopen... yes
checking for fwrite... yes
checking for getaddrinfo... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for getuid... yes
checking for hstrerror... yes
checking for localtime... yes
checking for mprotect... yes
checking for pstat_getdynamic... no
checking for pthread_yield... yes
checking for sched_yield... yes
checking for select... yes
checking for sigaction... yes
checking for snprintf... yes
checking for stat... yes
checking for strftime... yes
checking for sysconf... yes
checking for time... yes
checking for vsnprintf... yes
checking for yield... no
checking for ftruncate... yes
checking for clock_gettime... no
checking for ctime_r... yes
checking for 2 or 3 argument version of ctime_r... 2-argument
checking for pread... yes
checking for pwrite... yes
checking for fcntl/F_SETFD... yes
checking for special C compiler options needed for large files... no
checking for FILEOFFSET_BITS value needed for large files... no
checking for mlock... yes
checking for munlock... yes
checking for mmap... yes
checking for munmap... yes
checking for shmget... yes
checking for existence of /usr/lib/tclConfig.sh... loading
checking for 64-bit integral type support for sequences... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating db_cxx.h
config.status: creating db_int.h
config.status: creating clib_port.h
config.status: creating include.tcl
config.status: creating db.h
config.status: creating db_config.h
So I believe configuration is fine. Make also completes fine.
~/WORKAREAS/webplatform/build/dev/20070926/db-4.6.19/build_unix> tclsh
% source ../test/test.tcl
% run_std
Test suite run started at: 09:51 09/26/07
Berkeley DB 4.6.19: (August 10, 2007)
Running environment tests
Running archive tests
Running backup tests
Running file operations tests
Running locking tests
Running logging tests
Running memory pool tests
Running transaction tests
Running deadlock detection tests
Running subdatabase tests
Running byte-order tests
Running recno backing file tests
Running DBM interface tests
Running NDBM interface tests
Running Hsearch interface tests
Running secondary index tests
Running replication tests
Running security tests
Running recovery tests
FAIL:09:51:09 (00:00:00) r: recd: bad command "handles": must be dbremove, dbrename, env, envremove, open, sequence, version, rand, random_int, srand, or debug_check
Running join test
Running btree tests
Running rbtree tests
Running queue tests
Running queueext tests
Running recno tests
Running frecno tests
Running rrecno tests
Running hash tests
UNEXPECTED OUTPUT: Berkeley DB 4.6.19: (August 10, 2007)
UNEXPECTED OUTPUT: FAIL:09:51:06 (00:00:00) r: env: bad command "handles": must be dbremove, dbrename, env, envremove, open, sequence, version, rand, random_int, srand, or debug_check
UNEXPECTED OUTPUT: FAIL:09:51:06 (00:00:00) r: archive: bad command "handles": must be dbremove, dbrename, env, envremove, open, sequence, version, rand, random_int, srand, or debug_check
UNEXPECTED OUTPUT: FAIL:09:51:06 (00:00:00) r: backup: bad command "handles": must be dbremove, dbrename, env, envremove, open, sequence, version, rand, random_int, srand, or debug_check
UNEXPECTED OUTPUT: FAIL:09:51:06 (00:00:00) r: fop: bad command "handles": must be dbremove, dbrename, env, envremove, open, sequence, version, rand, random_int, srand, or debug_check
UNEXPECTED OUTPUT: FAIL:09:51:06 (00:00:00) r: lock: bad command "handles": must be dbremove, dbrename, env, envremove, open, sequence, version, rand, random_int, srand, or debug_check
...and so on to the end. This seems to be the same issue I'd originally reported in this thread. Is there anything else I can do to troubleshoot this? I'm not a tcl expert, unfortunately.
Thanks again for your help or pointers!
--Mark -
7.5 Standby apply log issue - Cold backup of standby
We are in the process of migrating to 7.8 from 7.5 and have a 7.5 standby. Needed to test the time is takes to backup from the standby once we go-live on the 7.8 64bit server. Logs have been applied to the 7.5 standby for more than a month just fine prior to doing a "cold" backup test on the standby. Now the logs will not apply to the standby.
ERR 20039 Log
Logrecovery is not allowed, because state of log volume is 'HistoryLost' (log must be cleared)
2014-05-04 10:02:16
0xF28 WRN 20026 Admin
Initialization of log for 'restore log' failed with 'LogAndDataIncompatible'
First - backing up the standby in ADMIN mode / cold backup on the standby database, right? The source and target (standby) have different server names.
Is it possible to clear the log area or some other process to fix the issue?Hi Mike,
You may need to restore the database with re-intialization and clear the logs
Refer to the copy steps described in the thread
Error while recover logs
Hope this helps.
Regards,
Deepak Kori -
Should I get iPhone 4 or 4S as backup? Don't need SIRI
I purchased an iPod 4 for gaming and a radio dock for music/alarm and they work great but the iPod is difficult to handle, slipping out of my hand when I try to adjust the volume or hit the power button, and the screen has this annoying silvery sheen that doesn't look good, not even comparable to my Razr. I want to get an iPhone 4 or 4S because it's easier to handle, has a fantastic screen, and would be useful as a backup/test phone. I am with Verizon and after reading the different specs, I'm not still not sure which version would be better for me.
I don't care about Siri (I prefer non-spoken results), I'm not sure I need dual-core or the 3D power, and I'm not sure I need the differences in carrier bands, and I'm not sure the 4S is worth the extra cost. If I'm mostly using it for gaming and music, then possibly a backup phone, which should I get? Specifically I am looking next to run Plants Vs Zombies 2, and I'm not sure if it will run slow.Get the iPhone 4S. It has an A5 processor vs. the iPhone 4 A4 processor, and more memory. I'm not sure if the camera matters to you but it also has 8MP vs. 5MP in the iPhone 4. Plus, that way if you change your mind about using Siri, it will be available to you.
-
Hello friends;
I'm trying to run following script which I copied from somewhere using .sh file but the same is not running and showing errors:
Script:
#!/bin/sh
dy=`date +%D`
bk='/backup/test'
cm_oracle='tar -czhf '$bk'/'$dy'_db_bkp.tar.gz /TEST/oracle'
[oracle@visionerp ]$ sh cold_bkp.sh
: command not found:
: command not found:
: command not found:
OS Linux 5.8.
Regards
Aneel AhmedHi ,
I see this : ^M: bad interpreter. Can you vi your file and see if you have ^M character ?
you may need to remove this. Dont do it manually.
follow any of the links below :
https://www.google.co.in/search?q=remove+%5Em+linux&oq=remove+%5EM+&aqs=chrome.1.69i57j0l5.7360j0j7&sourceid=chrome&espv=210&es_sm=93&ie=UTF-8 -
Hi there!
I am planning to implement an online backup using brtools. When I did the testing, I noticed an error that prevents me from completing the backup. Hope anybody can help me. It seems that there is an error with the compress command but I cant seem to understand why. Below is the entire log of my backup. Btw, Im using ECC6 and Oracle Database 10g.
Thanks in advance.
>>> TNVT - to host 172.16.0.5
su - e6padm
AMC-E6P-DB:e6padm 1> brtools
BR0651I BRTOOLS 7.00 (18)
BR0280I BRTOOLS time stamp: 2008-10-26 00.32.45
BR0656I Choice menu 1 - please make a selection
BR*Tools main menu
1 = Instance management
2 - Space management
3 - Segment management
4 - Backup and database copy
5 - Restore and recovery
6 - Check and verification
7 - Database statistics
8 - Additional functions
9 - Exit program
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR0662I Enter your choice:
4
BR0280I BRTOOLS time stamp: 2008-10-26 00.32.50
BR0663I Your choice: '4'
BR0280I BRTOOLS time stamp: 2008-10-26 00.32.50
BR0656I Choice menu 9 - please make a selection
Backup and database copy
1 = Database backup
2 - Archivelog backup
3 - Database copy
4 - Non-database backup
5 - Backup of database disk backup
6 - Verification of database backup
7 - Verification of archivelog backup
8 - Additional functions
9 - Reset program status
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR0662I Enter your choice:
1
BR0280I BRTOOLS time stamp: 2008-10-26 00.32.51
BR0663I Your choice: '1'
BR0280I BRTOOLS time stamp: 2008-10-26 00.32.51
BR0657I Input menu 15 - please check/enter input values
BRBACKUP main options for backup and database copy
1 - BRBACKUP profile (profile) ....... [initE6P.sap]
2 - Backup device type (device) ...... [disk]
3 # Tape volumes for backup (volume) . []
4 # BACKINT/Mount profile (parfile) .. []
5 - Database user/password (user) .... [/]
6 - Backup type (type) ............... [online]
7 # Disk backup for backup (backup) .. [no]
8 # Delete disk backup (delete) ...... [no]
9 ~ Files for backup (mode) .......... [all]
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR0662I Enter your choice:
c
BR0280I BRTOOLS time stamp: 2008-10-26 00.32.55
BR0663I Your choice: 'c'
BR0259I Program execution will be continued...
BR0280I BRTOOLS time stamp: 2008-10-26 00.32.55
BR0657I Input menu 16 - please check/enter input values
Additional BRBACKUP options for backup and database copy
1 - Confirmation mode (confirm) ....... [yes]
2 - Query mode (query) ................ [no]
3 - Compression mode (compress) ....... [yes]
4 - Verification mode (verify) ........ [no]
5 - Fill-up previous backups (fillup) . [no]
6 - Parallel execution (execute) ...... [0]
7 - Additional output (output) ........ [no]
8 - Message language (language) ....... [E]
9 - BRBACKUP command line (command) ... [-p initE6P.sap -d disk -t online -m all -k yes -e 0 -l E]
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR0662I Enter your choice:
c
BR0280I BRTOOLS time stamp: 2008-10-26 00.32.59
BR0663I Your choice: 'c'
BR0259I Program execution will be continued...
BR0291I BRBACKUP will be started with options '-p initE6P.sap -d disk -t online -m all -k yes -e 0 -l E'
BR0280I BRTOOLS time stamp: 2008-10-26 00.32.59
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
c
BR0280I BRTOOLS time stamp: 2008-10-26 00.33.00
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0051I BRBACKUP 7.00 (18)
BR0055I Start of database backup: bdzcoptc.and 2008-10-26 00.33.00
BR0477I Oracle pfile /oracle/E6P/102_64/dbs/initE6P.ora created from spfile /oracle/E6P/102_64/dbs/spfileE6P.ora
BR0280I BRBACKUP time stamp: 2008-10-26 00.33.01
BR0319I Control file copy created: /oracle/E6P/sapbackup/cntrlE6P.dbf 18268160
BR0280I BRBACKUP time stamp: 2008-10-26 00.33.02
BR0057I Backup of database: E6P
BR0058I BRBACKUP action ID: bdzcoptc
BR0059I BRBACKUP function ID: and
BR0110I Backup mode: ALL
BR0077I Database file for backup: /oracle/E6P/sapbackup/cntrlE6P.dbf
BR0061I 44 files found for backup, total size 178457.758 MB
BR0143I Backup type: online
BR0111I Files will be compressed
BR0130I Backup device type: disk
BR0106I Files will be saved on disk in directory: /installer/backup/E6P/bdzcoptc
BR0280I BRBACKUP time stamp: 2008-10-26 00.33.02
BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRBACKUP:
c
BR0280I BRBACKUP time stamp: 2008-10-26 00.33.03
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0370I Directory /installer/backup/E6P/bdzcoptc created
BR0370I Directory /installer/backup/E6P/E6P created
BR0202I Saving init_ora
BR0203I to /installer/backup/E6P/E6P ...
BR0202I Saving /oracle/E6P/102_64/dbs/initE6P.sap
BR0203I to /installer/backup/E6P/E6P ...
BR0280I BRBACKUP time stamp: 2008-10-26 00.33.03
BR0198I Profiles saved successfully
BR0280I BRBACKUP time stamp: 2008-10-26 00.33.04
BR0315I 'Alter tablespace PSAPSR3 begin backup' successful
BR0201I Compressing /oracle/E6P/sapdata1/sr3_1/sr3.data1
BR0203I to /installer/backup/E6P/bdzcoptc/sr3.data1.Z ...
BR0278E Command output of 'LANG=C compress -c /oracle/E6P/sapdata1/sr3_1/sr3.data1 > /installer/backup/E6P/bdzcoptc/sr3.data1.Z':
/oracle/E6P/sapdata1/sr3_1/sr3.data1: Invalid argument
BR0280I BRBACKUP time stamp: 2008-10-26 00.33.04
BR0279E Return code from 'LANG=C compress -c /oracle/E6P/sapdata1/sr3_1/sr3.data1 > /installer/backup/E6P/bdzcoptc/sr3.data1.Z': 1
BR0224E Compressing /oracle/E6P/sapdata1/sr3_1/sr3.data1 to /installer/backup/E6P/bdzcoptc/sr3.data1.Z failed due to previous errors
BR0280I BRBACKUP time stamp: 2008-10-26 00.33.07
BR0317I 'Alter tablespace PSAPSR3 end backup' successful
BR0056I End of database backup: bdzcoptc.and 2008-10-26 00.33.04
BR0280I BRBACKUP time stamp: 2008-10-26 00.33.08
BR0054I BRBACKUP terminated with errors
BR0292I Execution of BRBACKUP finished with return code 5
BR0668I Warnings or errors occurred - you can continue to ignore them or go back to repeat the last action
BR0280I BRTOOLS time stamp: 2008-10-26 00.33.08
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
s
BR0280I BRTOOLS time stamp: 2008-10-26 00.33.12
BR0257I Your reply: 's'
BR0679I Do you really want to cancel BRTOOLS? Enter y[es]/n[o]:
y
BR0280I BRTOOLS time stamp: 2008-10-26 00.33.13
BR0257I Your reply: 'y'
BR0260E BRTOOLS cancelled by user
BR0280I BRTOOLS time stamp: 2008-10-26 00.33.13
BR0654I BRTOOLS terminated with errors
AMC-E6P-DB:e6padm 2> exit
AMC-E6P-DB:e6padm 3> logout
>>>Closing capture file.Hi Scott,
Thank you for the quick reply. However, I have another thing to bring up. I created an exact replica of this instance to a separate server for my online backup testing. I used mksysb for my rootvg and created a backup of my datavg and restored it to the new server. To my surprise, my online backup worked. Im currently running it so that I can upload the log in this thread. I checked on the version of the brtools and they are both of the same level. Also, I forgot to mention that I've been using offline backup via brtools since last year. It was only now that Im trying to implement an online backup. Would this problem still be caused by brarchive patch 18?
Thanks in advance! -
Oracle Database Backup Service - delete orphaned backups
Hello
I made some backup tests into the cloud. Now the database is deleted, but there are still backups in the cloud. How can I remove these backups? I see them via REST client in my browser:
Is there client available or a REST command to do it?
Regards, MartinHave you checked out this part of the storage documentation? You can use curl to easily access these commands and the docs have great examples.
https://docs.oracle.com/cloud/latest/storagecs_common/CSSTO/GUID-47A892FA-7C3D-4FF6-BBE0-D4B7362E9F7D.htm#CSSTO-GUID-47A… -
Does Vista Home Premium 64 allow Digital Linear Tape (DLT) backup?
I am trying to create a master encore css encrypted project on a DLT drive. However Encore does not see any device. The device manager shows the tape drive and it has no errors. I tried a simple file backup test in windows and had no option to choose anything other than a cd/DVD or dard drive for backup options. This made me wonder if Vista Home Premium or any of the Vista versions support DLT. I can't find any info on this subject. Any ideas?
Yes, the driver is up to date. Not only does it show up in device manager but you can check the hours on the device plus it shows the tape and it's status whether it present in the drive or has been written to and available space. So I can remove it and it refreshes showing no tape present or install and it refreshes showing it present. So it seems to function in that respect.
Maybe you are looking for
-
How do i duplicate a file that is on acrobat. com?
The duplicate file function is there if the document is in my documents. But it is not there if the file is saved on acrobat.com
-
How to see the wait events info. after excute a select query
Hi How to see the wait events info. after execute a select query. Are there any parameter to set for this option? And also wanna see the follwing info. in trace file. For this what are the parameters I have to set right? SELECT * FROM emp, dept WHERE
-
Automatic payment F110 advice notes
Hi Sap Gurus, my client requires that with automatic payment there should be the choise to sent to vendors email, fax or letter. Does anybody know where can I choose? Which part of customizing should I activate? 10x all Alberto
-
If I have set up a document with pages numbers (markers) as special characters is there anyway to delete them from random pages, i.e. under a full page photo, and still have them run sequentially through the book? Thank you
-
In reaction to an annoying toolbar I downloaded accidentally, I unchecked the google search bar, the address bar, and the dropboxes at the top of my browser (file, tools, etc.). I having difficulty re-activating these because I can't access my option