Re: script regarding ssh (349 Views)
Reply
Acclaimed Contributor
Dennis Handly
Posts: 25,185
Registered: ‎03-06-2006
Message 51 of 56 (361 Views)

Re: script regarding ssh

>while the backup_archive.sh is running if a new file is generated in serverA, then that file will also get archived by the backup_archive.sh script, so will miss that newly generated file. So is there any way to reduce this risk?

 

Make sure the backup script doesn't backup more than what's in serverA_files?

Or check after it runs and see what's extra?

 

Or make sure the new files are in a separate directory and only move them in place, so they get backed up, by this script?

 

Frequent Advisor
rahul_rtns
Posts: 43
Registered: ‎11-23-2011
Message 52 of 56 (360 Views)

Re: script regarding ssh

>>Make sure the backup script doesn't backup more than what's in serverA_files?

I will schedule the script to run per hour. So it will not be possible to check every time if any extra file getting backedup. Also we will not be able to check the file once it got backed up.

>>Or make sure the new files are in a separate directory and only move them in place, so they get backed up, by this script?

The new files are getting generated in the same directory.
Acclaimed Contributor
Dennis Handly
Posts: 25,185
Registered: ‎03-06-2006
Message 53 of 56 (355 Views)

Re: script regarding ssh

>Also we will not be able to check the file once it got backed up.

 

My suggestion was to look at the list of files by your backup program and do something if there are extras.

Frequent Advisor
rahul_rtns
Posts: 43
Registered: ‎11-23-2011
Message 54 of 56 (352 Views)

Re: script regarding ssh

>> My suggestion was to look at the list of files by your backup program and do something if there are extras.

 

Hi,

We can do anything once the file got backed up because it is getting archived by rman script. We have to do something before the backing of files only.

 

 

Acclaimed Contributor
Dennis Handly
Posts: 25,185
Registered: ‎03-06-2006
Message 55 of 56 (350 Views)

Re: script regarding ssh

>it is getting archived by rman script.

 

Can you modify the script to skip files that you don't have in serverB_files?

Frequent Advisor
rahul_rtns
Posts: 43
Registered: ‎11-23-2011
Message 56 of 56 (349 Views)

Re: script regarding ssh

>> Can you modify the script to skip files that you don't have in serverB_files?

 

The rman script can not be modified for anything. :(

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.