automatic backup for linux server script

HII
We want auto backup script for linux server and after the end of the backup, we want it copy the .dmp file auto
Since the database server machine via ftp.

so please provide daily_bkp.sh as a script
and daily_copy.sh to copy via ftp and to schedule a task

Select * from version $ v

Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
AMT for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production

Thanks in advance
concerning
VIJ...

You've already got the backup here script is script for the dump of FTP file

On source, go to the directory the user oracle home and open the file called .netrc, if its not there, then create it.
and add after the entry
machine login password

then do as shell script

FTP-i - n - v "Serevr address."<>
put "name with the path of the file.
Good bye
EXPRESSIONS OF FOLKLORE

and the timing of this script shell at the time desired.
This will put the dump file in the base directory to the target machine, you can use the cd before order was able to put the file
given a place.

Kind regards
Swastika.

Published by: swastika on February 13, 2010 03:13

Tags: Database

Similar Questions

  • syntax to enable AUTOMATIC backup for file server settings

    According to the document of the oracle's RMAN can be configured to automatically back up the control file and the server settings file every time that metadata from database structure in control of changes in the file and each time a backup folder is added. Automatic backup RMAN can recover data even if the current control file and catalog file server settings are lost. »

    I found the instruction for the control file, like:
    RMAN > CONFIGURE CONTROLFILE AUTOBACKUP ON;

    but, what is the syntax to enable AUTOMATIC backup for file server settings?

    help please, thank you!

    automatic backup will take place of the control file and SPFILE. also whenever you have a backup statement in your RMAN script (e.g. database backup more archive), an automatic backup will be generated.

    To activate the automatic backup of control file:

    rman> CONFIGURE CONTROLFILE AUTOBACKUP ON;
    
  • SSH for Linux server to a Windows Server instance

    Hello
    Is it possible to ssh / linux server to the server of the window-based connect?
    I am able to connect Windows Server 2003 through linux but to ask for the root password. I had used the administrator, the same password I use for connection on the server in the window, but its not accepting.

    I don't think that this has nothing to do with the topic of this forum: Oracle database.

    ----------
    Sybrand Bakker
    Senior Oracle DBA

  • Loading a flat file for Linux server

    Hi all
    I ask that my previous question otherwise. I need to load flat files in a directory on a linux server. ODI is installed on a windows machine. I created the physical components of the architecture of FILES / logic and I test the interface with a small file. I am receiving an error message = "file not found". Questions:
    1. do I need an agent of ODI on the linux server to achieve this?
    2. in the definition of the data to the FILE Server I inclulde host / username / password and it successfully tested. Was it necessary? I only did this for my windows files.
    3 understand #2 above, when defining the physical schema, I have included the host name. Is this correct? Since it is Linux the slashes go in the other direction - Yes? [I know it's a stupid question].

    I am sure that the file exists. All recommendations are much appreciated!

    1.) Yes, you need an agent on linux to achieve this. Or create a samba share that allows you to access files on windows linux
    http://askankit.blogspot.com/2009/02/step-by-step-guide-to-install-Oracle.html
    (2.) no it's not necessary for a base file of dataserver. These details are necessary for a DB according to technology.
    (3.) the host name is not necessary. It is governed by the location of the agent. If the agent is at the ABC's of the machine, then the host is ABC.

    In ODI, the agent is a server and ODI installed on your windows machine is just a client that connects to the server to perform the work.

  • Beginner question the easiest way to create automatic backups for readynas from windows PC

    I just installed a readynas duo v1 to my router and wants to set up an automatic backup (uncompressed file copy) of my windows pc, and I am new to the use of the nas and raid.

    Can I map nas as a disk on my pc and then I don't know how to proceed.

    Any help would be appreciated.

    I was not able to reset password admin I need help there too.

    Thank you

    Thanks to those who tried to help me.

    I decided to buy acronis and use it to back up data on the readynas.

  • Automatic backup for Photoshop CC location?

    I don't know if this is possible or not, but it does not hurt to ask. I had a layered PSD file that I merged temporarily to another PSD file, I was working on that. By mistake I accidentally closed and saved the original PSD file merged; as a result, lose all my layers in the process. I wonder if there is a way to recover a 'recorded' version of this document or not?

    I tried a few different methods that brought no results, such as the research in the automatic record of auto salvage under Photoshop CC/recovery C:/Users/username/Appdata/Roaming/Adobe/Adobe. I also tried searching the .tmp files with no luck.

    I understand that I'm at a loss here, but I wonder if the latest version of this file is possible or not.

    Operating system: Windows 7 Home Premium 64-bit (6.1, Build 7601)

    System manufacturer: Dell Inc..

    System model: XPS 8300

    Processor: Intel (r) CPU Core i7-2600 3.40 GHz

    Memory: 16 GB of RAM

    I don't think that there is a way to recover lost data from Photoshop, except for the restoration of a backup or something like Time Machine instant or history files of Windows 8.  When you save/close your Photoshop document clears the data auto-sauvé.

    Don't feel bad, I did the same mistake before.

    One thing that I find invaluable is a system image backup every night.  This, more than the generation of Restore Points can facilitate the use of the "Previous Versions" feature of Windows 7.  Depending on where you saved the file PSD (crashed), there could be little hope...

    • Open Windows Explorer and navigate to the folder where you saved the crushed. PSD file.
    • Right click and choose Properties.
    • Click the previous Versions along the top.

    All previous versions are included (this may take a few moments to show them)?  If so, you can find them, intended to replace the file with the recovered.  Make sure that you have saved a copy of the current version first, guess you need.

    -Christmas

  • Automatic backup for InDesign documents?

    Is there a way to set InDesign to automatically save a document every 15 minutes (or other period of time) while it is being developed?  When we used Quark we had this possibility, but see nothing similar in InDesign.

    I would like to ask in the forum script to see if it is possible to set up a script that will be run automatically to the file open and save a copy periodically, or maybe better, who would run on file close. Scripting InDesign

  • Behavior of abnormal (Tag Date and place of automatic backup) RMAN script

    Hi all

    I have 11 GR 1 material running on Sun SOLARIS 10.

    The parameter default RMAN for backup of control file is on DISK (format: u02/oracle/backup/rman/control/%F.ctl)


    I have the RMAN script following (L0.rman):
    Run {}
    allocate channels ch1 type SBT_TAPE parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt) ';
    tag backup "${CURRENT_DATETIME}" additional 0 filesperset 3 format 'DB_%T_%U.dbf' database more archivelog;
    output channel ch1.
    }
    host ' cp /oracle/app/oracle/product/11.1.0/db_1/network/admin/tnsnames.ora/u02/oracle/backup/rman/$(echo $CURRENT_DATETIME) /';


    This is called by the following (L0.sh) script:
    #! / bin/bash
    CURRENT_DATETIME = "$(date + 20 %y %m %d %H %M)»;) export CURRENT_DATETIME
    export ORACLE_SID = EDWH
    export ORACLE_HOME=/oracle/app/oracle/product/11.1.0/db_1
    mkdir/u02/oracle/backup/rman/$(echo $CURRENT_DATETIME)
    RMAN nocatalog target / cmdfile = L0.rman log = L0_EDWH_$ CURRENT_DATETIME.log


    The anomalies are as follows:

    1. the backupsets are created with a literal tag "${CURRENT_DATETIME}" instead of "201010051915" - why?
    FYI, the command 'host' at the bottom of L0.rman successfully copies the file in the right directory (/ u02/oracle/backup/rman/201010051915 /).

    2. after the backup finishes, the automatic backup for the control and spfile is taken on SBT_TAPE instead of DISK - why?

    Any help will be appreciated.

    1. well, this $CURRENT_DATETIME is variable shell, RMAN does not interpret it (she can't and doesn't have to.) HOST calls the external commands by spawning the shell in non-interactive mode and when placing the order for her, and since you have exported the variable is available to all processes having engineered and develop properly, then files are copied in the expected location. If you remove the '; CURRENT_DATETIME export"from your shell script, you will see files copied in/u02/oracle/backup rman / / because the variable will not be in the environment of the layed shell (it will be local to the script) and will expand to the empty string. You must pass $CURRENT_DATETIME to the RMAN script as a variable substitution so that the shell expands it before calling RMAN, like this:

    L0. RMAN: {code}
    Run {}
    allocate channels ch1 type SBT_TAPE parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt) ';
    backup format tag & 1 extra strength 0 filesperset 3 'DB_%T_%U.dbf' database archivelog;
    output channel ch1.
    }
    host ' cp /oracle/app/oracle/product/11.1.0/db_1/network/admin/tnsnames.ora/u02/oracle/backup/rman / $ CURRENT_DATETIME /';
    {code}
    L0.sh: {code}
    #! / bin/bash
    CURRENT_DATETIME = "$(date + 20 %y %m %d %H %M)»;) export CURRENT_DATETIME
    export ORACLE_SID = EDWH
    export ORACLE_HOME=/oracle/app/oracle/product/11.1.0/db_1
    mkdir/u02/oracle/backup/rman / $ CURRENT_DATETIME
    RMAN nocatalog target / cmdfile = L0.rman using $CURRENT_DATETIME log = L0_EDWH_$ CURRENT_DATETIME.log
    {code}

    Note the * & 1 * variable substitution in the RMAN script and * using * keyword in the RMAN command line.

    2. control file record is taken to the same media, that the last backup, this is normal. You can't "CONFIGURE CONTROLFILE AUTOBACKUP ON the DISC" or something like that, you can only enable or disable it and specify format for various types of devices. Default device type does not play here, you are precisely the configured default device type substitution tape backup.

  • How can I set up automatic backup on iPhone 6s

    I bought a new iPhone 6s more yesterday. I had been to support my old iPhone 5 up to my computer. I thought that the new phone was set to automatic backups for iCloud, but I just got a notification indicating that the phone had not been saved for many months.

    How we configure it back to iCloud automatically at a certain time of day?

    You cannot set it for a certain time of the day. Once your backup is activated on the phone, backup it once daily when the unit is connected to power, a Wi - Fi connection and the screen is locked. Go to settings > iCloud and make sure active backup, and you can try a manual backup. You can use this document to support to solve the problems of the iCloud backups.  Get help from backup of your device in iCloud - Apple Support

  • I use a server DNS Server 2008 and need to transmit the DNS lookup on a Linux server that only allows you to Port 3128 for DNS.

    Hello

    I use a server DNS Server 2008 and need to transmit the DNS lookup on a Linux server that only allows you to Port 3128 for DNS.

    How can I configure my DNS server to use this port for shipments?

    Thanks for your replies

    Marcus

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.
     
     
    Here are a few Server DNS forwarders. Links for refrence,
     
     
     
    I hope this helps.
  • Application of automatic certificate for local system failed (0x800706ba) the RPC server is unavailable.

    I get these errors on some Windows 7 machine "registration of automatic certificate for local system failed (0x800706ba) the RPC server is unavailable" ID of the 6 event and event ID 13

    "Registration certificate for Local system failed to enroll for a certificate of computer with application ID N/A dc.contoso.com\contoso-DC-CA (the RPC server is unavailable." 0X800706BA (WIN32: 1722)). »

    other windows XP, Windows 8 and windows machine 7 receive the certificate through auto-enrollment.

    Hi Sam,

    Thanks for posting your query in the Microsoft Community Forums.

    Because the issue is limited to with RPC server, it is better suited for the IT Pro TechNet public. Please ask your question in the Forum on TechNet Support. You can follow the link to your question:
    I hope it helps. If you have problems in the future, please let us know. We will be happy to help you.
  • Steps to update of JRE or JDK in Linux Server for EBS 12.1.3

    Hello

    1. Is there a document that I can return to order updated JRE or JDK in Linux Server for EBS 12.1.3 for me?
    2. If it's an environment of multi nodes, do I need to update on every single node?
    3. Here is the output of the command 'java-version'

    Java version "1.6.0_24".

    OpenJDK (IcedTea6 1.11.1) runtime environment (rhel - 1.45.1.11.1.el6 - x86_64)

    OpenJDK 64-bit Server VM (build 20, 0 - b12, mixed mode)

    If I want to update to the latest java which is 1.8.xxx do I need to install the version 1.7.xx first?

    Thank you and best regards,

    Nadhrah

    Hello

    1. Check these documents:
      Using the JDK 7.0 updated with Oracle E-Business Suite version 12.0 and 12.1 (Doc ID 1467892.1)
      Deployment of JRE (Native plug-ins) for Windows customers in Oracle E-Business Suite Release 12 (Doc ID 393931.1)
    2. Yes
    3. It is the Java software that comes with the operating system. It is not used by EBS.
      JDK 7 is the version the most recent can be used by the application and database layers.
      JRE 8 can be used with the client tier.

    Kind regards

    Bashar

  • wcmUrl cannot run the "evaluateScriptEx" of service method. The server script expression evaluates error. No path required for the ssWeblayoutUrl parameter.

    Hi all

    I have a data file where there is a wcm:element like below

    < wcm:element = "linkUrl" name > [!-$wcmUrl ('resource', ")-] < /wcm:element>

    So, I get an exception to content server


    Event generated by the user 'sysadmin' to host 'CIS '. Could not generate the HTML page. Unable to evaluate the function. Error running system. wcmUrl cannot run the "evaluateScriptEx" of service method. The server script expression evaluates error. No path required for the ssWeblayoutUrl parameter. [Details]

    An error has occurred. The stack trace below shows more information.

    !csUserEventMessage,sysadmin,CIS!$!csPageMergerUnableToGenerateHtmlPage!csDynHTMLSystemExecutionError,csDynHTMLReportMsgFunction!$wcmUrl!csUnableToExecMethod,evaluateScriptEx!csDynHTMLServerScriptEvalError!$Missing required path parameter for ssWeblayoutUrl.

    intradoc.common.ServiceException:! csPageMergerUnableToGenerateHtmlPage

    at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)

    at intradoc.server.Service.buildServiceException(Service.java:2271)

    at intradoc.server.Service.createServiceExceptionEx(Service.java:2265)

    at intradoc.server.Service.createServiceException(Service.java:2260)

    at intradoc.server.Service.buildResponsePage(Service.java:1314)

    at intradoc.server.Service.doResponse(Service.java:2076)

    at intradoc.server.FileService.doResponse(FileService.java:1469)

    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:802)

    at intradoc.server.Service.doRequest(Service.java:1890)

    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)

    at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)

    at intradoc.server.IdcServerThread.run(IdcServerThread.java:160)

    to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:528)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    Caused by: java.io.IOException:! csDynHTMLSystemExecutionError, csDynHTMLReportMsgFunction! $wcmUrl

    at intradoc.common.DynamicHtmlMerger.createIOException(DynamicHtmlMerger.java:2588)

    at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:1202)

    at intradoc.common.DynamicHtmlMerger.substituteVariable(DynamicHtmlMerger.java:623)

    at intradoc.common.DynamicHtml.substituteVariable(DynamicHtml.java:1394)

    at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1110)

    at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)

    at intradoc.common.DynamicHtml.outputHtml(DynamicHtml.java:991)

    at intradoc.common.DynamicHtmlMerger.outputDynamicHtmlPage(DynamicHtmlMerger.java:2007)

    at intradoc.server.Service.buildResponsePage(Service.java:1267)

    ... more than 10

    Caused by: intradoc.common.ServiceException:! csUnableToExecMethod, evaluateScriptEx

    * ScriptStack! csDynHTMLStackDumpStart, sysadmin, (datasummary) IdcService is SSXA_GET_DATAFILE\, dDocName = 00151164\, = 209607 dID! $

    ! csDynHTMLNoStack! $

    !csDynHTMLErrorMessage,/oracle/ecm/ucm_domain/ucm/cs/weblayout/groups/public/@global/documents//mdaw/mtux/~edisp/00151164~2.xml.parsed,9,40!csDynHTMLSystemExecutionError,csDynHTMLReportMsgFunction!$wcmUrl!$

    -& #62;      & #60; WCM:element name = "linkUrl" & #62; [(--\!--$wcmUrl('resource'\, '')]; & lt; / span & gt; & #60; / wcm:element & #62;

    in sitestudio. SSClassHelper.invoke (unknown Source)

    in sitestudio. SSScriptExtensions.evaluateIncludeXmlEx (unknown Source)

    in sitestudio. SSWCMScriptExtensions.resolveWcmUrl (unknown Source)

    in sitestudio. SSWCMScriptExtensions.evaluateFunction (unknown Source)

    at intradoc.common.DynamicHtmlMerger.computeFunction(DynamicHtmlMerger.java:1430)

    at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:908)

    ... more than 17

    Caused by: java.io.IOException:! csDynHTMLServerScriptEvalError

    at intradoc.common.DynamicHtmlMerger.createIOException(DynamicHtmlMerger.java:2588)

    at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:1202)

    at intradoc.common.DynamicHtmlMerger.substituteVariable(DynamicHtmlMerger.java:623)

    at intradoc.common.DynamicHtml.substituteVariable(DynamicHtml.java:1394)

    at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1110)

    at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)

    at intradoc.common.DynamicHtml.outputHtml(DynamicHtml.java:991)

    at intradoc.common.DynamicHtmlMerger.executeDynamicHtmlToWriter(DynamicHtmlMerger.java:2060)

    at intradoc.common.DynamicHtmlMerger.evaluateScriptToWriter(DynamicHtmlMerger.java:1872)

    at intradoc.common.DynamicHtmlMerger.evaluateScriptNoErrorHandling(DynamicHtmlMerger.java:1836)

    at intradoc.common.DynamicHtmlMerger.evaluateScriptEx(DynamicHtmlMerger.java:1794)

    at sun.reflect.GeneratedMethodAccessor500.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    in sitestudio. SSClassHelper.invokeRaw (unknown Source)

    ... 23 more

    Caused by: intradoc.common.ServiceException: path of access is required for ssWeblayoutUrl parameter.

    * ScriptStack! csDynHTMLStackDumpStart, sysadmin, (datasummary) IdcService is SSXA_GET_DATAFILE\, dDocName = 00151164\, = 209607 dID! $

    ! csDynHTMLStackElementWithFilename,wcmUrl,/oracle/ecm/ucm_domain/ucm/cs/weblayout/groups/public/@global/documents/generalmodule/mdaw/mtux/~edisp/00151164~2.xml.parsed,9,40!$

    ! csDynHTMLServerScriptEvalError

    in sitestudio. SSScriptExtensions.evaluateFunction (unknown Source)

    at intradoc.common.DynamicHtmlMerger.computeFunction(DynamicHtmlMerger.java:1430)

    at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:908)

    Therefore I don't see the placeholder to correct the link. How can I fix this, or at least manage the display of the placeholder.

    Concerning

    I don't think the resources without the dDocName specification will work (for example [!-$wcmUrl ('resource', ")-]).

    At some point, the code path probably leaves the SiteStudio component and goes back to the core code WebCenter content to fetch the revision. It seems that it is where he meets a problem (impossible to find the last out for review).

    If you turn on additional detailed complete tracking for site *, file * and system * this gives you a clues?

    Jonathan

    https://jonathanhult.com

  • Is it possible for first Pro CC hide the automatic backup window

    Is it possible for first Pro CC hide the automatic backup window, without turning off autosave function?

    When such a device is save you wonder why you wouldn't be able to do everything that is the case in the car.

    I'm guessing you want automatic backup in the background?

  • How to disable automatic backups in Photoshop Mix for Android?

    I just installed Photoshop Mix and was advised that the automatic backups are enabled. I have checked the settings and posted this question in the search bar of the forum with 0 results.

    Thanks for any help

    Hello

    Thanks for the reply. I checked with the engineering team and synchronization can now be disabled. The team is now aware of the issue. Thanks for posting and let me know if you need help with something else!

    See you soon

    -Kathleen

Maybe you are looking for