Solved

backup in linux

Posted on 2012-03-31
6
230 Views
Last Modified: 2012-06-27
we have linux production server where it has got oracle apps and oracle db installed as single node. the os is oel 5.5.  it has got a script which will take the backup of database folders (the script itself will shutdown the database) and once the backup is completed the database will start automatically.

the cold backup is stored in the same server in a sepatate location, everyday it will replace the backup files. the backup is stored as .tar.gz

presently in case if we need to restore the backup and test it we need to copy the same to another server and once the copying is done we need to tar separately. the time taken to copy and tar takes longer time.

is there a way that we can copy (which can copy faster) the tar file to another server (with same permission) and tar it simultaneously which takes lesser time.

i have got a test server as well with same os (oel 5.5)
0
Comment
Question by:kurajesh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 37790901
copying performance depends on your bandwidth, either to the disk or network
hence you need to tweak the bandwidth there and not tar
however, you can use j or z option to compress the tar file which then will be copied faster (hopefully)

does this help?
0
 
LVL 78

Expert Comment

by:arnold
ID: 37791685
I'm not sure why you are insisting on a quick transfer?
Once you have the production restored in the test, you could keep it up-to-date using the incremental backups?
What is your current existing backup strategy for the production db? Could you use that to restore the db on the test server?
http://docs.oracle.com/cd/B19306_01/backup.102/b14191/rcmrecov.htm#i1007814
0
 
LVL 13

Assisted Solution

by:Sandy
Sandy earned 250 total points
ID: 37793192
rsync is always good solution for data backup or replication.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 23

Expert Comment

by:David
ID: 37793489
The fact being overlooked, perhaps, is that this backup method requires a production outage; which may or may not be a financial incentive to switch to a hot method.  Is this a concern?  

If your compression is already at the max, another common sense step is to schedule the file transfer whenever it would have minimal impact on the users.  For example, if your naming convention permits, copy the prior backup set during the current backup outage.

Is there a business reason not to be running in archivelog mode?  My preferred solution would be to use the remote as a standby database, as it's very easy to set up a remote logfile destination -- which would lighten the bandwidth issue considerably.

Let me know if you want specific references on any of these ideas.

dvz
0
 
LVL 1

Author Comment

by:kurajesh
ID: 37802263
hi dvz, could you please let me know about the remote logfile destination / standby database
0
 
LVL 23

Accepted Solution

by:
David earned 250 total points
ID: 37802577
BTW, I recommend you extend the zones to include Oracle database, and the zone for the specific Oracle version.  Listing in three zones tends to draw more experts, and triples the impact of my awarded points.

Query E-E and docs.oracle.com for (many) existing sources such as https://forums.oracle.com/forums/thread.jspa?threadID=2365283 and
http://www.orafaq.com/node/957; also http://www.databasejournal.com/features/oracle/article.php/3816751/Oracle-11g-Data-Guard-Building-a-Physical-Standby-Database.htm.

Do some reading and ping me again when you have more specific questions, ok?

dvz
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question