Re: script regarding ssh (230 Views)
Reply
Acclaimed Contributor
Dennis Handly
Posts: 24,774
Registered: ‎03-06-2006
Message 51 of 56 (242 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?

 

Please use plain text.
Frequent Advisor
rahul_rtns
Posts: 43
Registered: ‎11-23-2011
Message 52 of 56 (241 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.
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,774
Registered: ‎03-06-2006
Message 53 of 56 (236 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.

Please use plain text.
Frequent Advisor
rahul_rtns
Posts: 43
Registered: ‎11-23-2011
Message 54 of 56 (233 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.

 

 

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,774
Registered: ‎03-06-2006
Message 55 of 56 (231 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?

Please use plain text.
Frequent Advisor
rahul_rtns
Posts: 43
Registered: ‎11-23-2011
Message 56 of 56 (230 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. :(

Please use plain text.
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