How to automate the backup?

Dear friends,

I have a bunch of scripts that are used by the Windows Scheduler to run the backup during the night. It is a bat file, a SQL file and a file of Rsv.

Is there a way just to use the only DBMS Scheduler?

Advice me please.

Thank you in advance.

With Cheers!

Nith

For example

SQL > start
(2 dbms_scheduler.create_job)
job_name 3-online "BACKUP_job."
job_type 4-online "EXECUTABLE."
5 job_action => ' / rental/abc.bat '.
' start_date 6-online 11-May-2010 06:00.
8 comments => "Backup database");
9 end;
10.

Tags: Database

Similar Questions

  • Automate the backup of Config

    I'm looking to install a way to backup the configuration of my C370.  Currently, I know how to do it manually via the GUI.  Is it possible to automate this process and it backs up through the CLI?  I was searching through the CLI yesterday, but I couldn't find what would save the config on the command.  I guess if I could find the command that I could set up a job through our Kiwi CatTools to do.  I would like to know if anyone knows how to do this, or if you have found another way to do this effectively.

    Thank you

    Mike

    Hi Mike,.

    There are actually two ways to do this.

    You can save the configuration of the CLI by using the saveconfig command. You can load a configuration file using the loadconfig command. I would like to run these commands first, just so that you can see the process. Basically, you can script something around these commands that could do the job.

    We also have a section of Nice knowledge base that covers this topic as well. The approach is a little differnet but the results are the same.

    How can I schedule or automate the backup of the file of configuration XML from my device?  Where he lives?  How to do a scheduled backup of the configuration of a Windows system file?

    Environment:

    -ESA with AsyncOS 6.x or later.
    -A designated host for the introduction and the storage of backups.

    NOTES:

    Familiarity with the BONES of script and forecasts of the tasks is necessary to understand and implement these tasks safely.  Please understand that many of these concepts are beyond the scope of the IronPort customer support and these sample scripts are certainly not taken in charge.  Although these steps have been successfully tested, this article is mainly for purposes of demonstration and illustration.

    The configuration file dynamically generated during the use of the recording or email of the CLI or GUI configuration tools.  To have an effective backup, it is best to "unmask" passwords, which allows you to place a ground form of passwords for local administrative accounts in the device configuration file.  For this reason, we can not simply copy a flat file "running Setup" of the device.  This method allows us to access the device first, issue a command to dynamically build the current configuration, and either save or mail a copy of this file somewhere remotely, without any intervention from the user.  Once this is done, we can then repeat or schedule this task to occur on a regular basis.

    Quickly and automatically save the configuration with the passwords exposed files:

    (1) generate a SSH key pair to use.  Verify that you can access your device via SSH without having to enter a password.  Details on this operation is provided in article #283.

    (2) create script to connect to the device, save the config and copy (or by mail).  Two simple examples written in BASH:

    Example #1: Saving the configuration to a specific host
    #! / bin/bash
    # This saves the config and then he copies locally via SCP in a directory called backup/config-ironport
    HOSTNAME = test.com
    USER name = admin
    FILENAME = "ssh $USERNAME@$HOSTNAME "saveconfig Yes"|" grep xml | cut f 3 - d "" ' "
    SCP $USERNAME@$HOSTNAME:./configuration/$FILENAME./ironport/config-backups /.

    Example #2: Emailing an email address configuration
    #! / bin/bash
    # This sends the config to MAILDEST
    HOSTNAME = MX.test.com
    USER name = admin
    [email protected] / * /.
    SSH $USERNAME@$HOSTNAME 'mailconfig $MAILDEST Yes.

    NOTE: this similar logic can be applied in any scripting language OS such as VB scripts or batch for Windows.  These scripts are intended as examples only rudimentary.

    (3) use cron or or scheduling tool to start work on a regular basis.  Services like cron or Task Scheduler in Windows are easy tools that can be used to automate simple jobs like that.  For example, the * NIX CRON configuration file follows this format:

    minute (0-59), hour (0-23, 0 = midnight), day (1-31), month (1-12), day of the week (0-6, 0 = Sunday), command

    So a good example to run this script every day at 02:00 would look like:
    00 02 * /location/your_script.sh

    Otherwise, here is another method to automate a backup of the configuration.

    How to do a scheduled backup of the configuration of a Windows system file?

    With the following procedure, you can save the configuration on a regular basis of a Windows system file.

    1 install the emulator of terminal 'PuTTY' under C:\

    2. create a text file with the following line and name it "send_config.txt" and place it under C:\ (Change of [email protected] / * / to the email address you want the configuration file must be sent to)

    mailconfig [email protected] / * /.
    3. create a text file with the following lines and name it "send_config_batch.bat" and place it under C:\
    (Change the "hostname" for the host name can be resolved or IP address of your device and the "password" to your real password for the admin account).

    C:\putty.exe-SSH hostname-l - pw admin and password C:\send_config.txt m
    output

    4. Add "send_config_batch.bat" to the scheduled task window.

    The Configuration file will be sent to the address specified in the "send_config.txt".

    I hope this helps!

    Christopher C Smith

    CSE
    Cisco IronPort customer

  • How to automate the unique fusion of multiple JPEG to PDF files.

    I'm looking for an answer that does not purchase a license, or by downloading a shaded part of software.

    I have a batch of a software suite that creates multiple JPEG files every morning. The final product must be a single PDF, prefer it to order a certain way, but not completely necessary. I tried to do it thanks to Excel, but it was very awkward. I'm trying to implement through Adobe Action Wizard and can create the file I'm looking for, but I can't find how to automate in a batch file that I can task in Task Scheduler.

    Currently, I run a file backup all export to PDF and JPG. I then insert page for each PDF in the order I want to insert Pages using the. I can't understand how to automate the Action once it is implemented.

    These are designed to run early in the morning and the PDF picked up by different software and sent to before the start of the day.

    Any assistance in the automation of an action would help enormously.

    Thank you.

    I think you should forget Acrobat. Batch jobs need under license for this software. Acrobat is not. Software Adobe for the server might cost 100 times more.

  • Re: How to install the backup software?

    I have Toshiba Recovery DVD for Windows XP of origin. But after the installation in backup softare avialble in system tools.
    I tried to install it from adding a program into the Panel control or extarct from the DVD. Also, I tried to download it from the Microsoft Web site, but there is no chance.

    Can someone tell me how to install the backup software?

    Concerning

    Check http://support.microsoft.com/kb/308422
    Maybe this article will help you.

  • How to transfer the backup from pc to ipad

    How to transfer the backup from pc to ipad

    If you want to restore your backup (you have copied something off the coast of the iPad you want to keep tot for example music, movies, pictures, documents?) then connect the iPad to your computer, select it in iTunes and either file > devices > restore from a backup, or the iPad in iTunes Summary tab, click the restore backup button: restore your device from an iCloud or iTunes backup - Apple Support

  • How to disable the backup works when you print an email?

    How to disable the backup works when you print an email.  Whenever I try to print an e-mail, save it as a PDF is displayed.  I then have to save, then open the file to print.

    Hello

    Thanks for posting your query on the Microsoft Community.

    To disable this feature, you need to uninstall Adobe reader and then check if still back you the question quickly.

    Kind regards

    Jesinta Rozario

  • How to automate the cutting through a visual basic 6.0 application tool?

    Original title: Visual basic 6.0

    How to automate the tool to cut through a visual basic 6.0 application. Or my visual basic 6.0 application is to take screenshots and save them as gif images, but the files are too big and take a long time to be sent by e-mail in real time. Please if someone could help, need a code in visual basic 6.0 to make these small files.

    Hello

    You can get support for development on the MSDN Forums tools.

    MSDN forums: Index

    http://social.msdn.Microsoft.com/forums/en-us/categories

    Concerning

  • How to restore the backup of the data on XP home?

    * - Original title - install the program on XP home backup and backup of the file made by XP pro

    My XP Pro Dell crashed and burned it was 12 years old, tho...  I had a Dell with XP home rebilt.  The backup program downloaded will install a backup file to the XP machine at home, if the backup was performed with the XP Pro? Currently, the backup is always on my external hard drive. I don't know how to get to a particular file, that I need it. D. Anna

    Hello

    1. which backup program did you use to back up data?

    2A the successful backup?

    3. What is the size of the data backed up?

    Method 1.

    1. open the backup or Restore Wizard.
    2) click Next , and then select restore files and settings.
    3) click Browse to open the Open the backup file box.
    (4) click on Browse and Select the catalog file to dialog box appears.
    (5) select the backup file, and then click Open. (The name and the path to the backup file are now displayed in the dialog box, Open the backup file .)
    6) click OK in the dialog box, Open the Backup file . It is added to the list of backup files in the backup or Restore Wizard.
    (7) in the list on the left, expand the different backup files, and select the drive or folder to display the details of the backup in the right pane.
    (8) select the files or folders to restore from the list on the right.
    9) click Next to view a summary of the restore operation.
    10) click Finish. The Restore in progress dialog box appears.
    11) click the close button in the Restore in progress dialog box.

    Method 2.

    1 - click on the "Start" button, click on "Accessories", click on "System tools," then "Backup" and then click on the button "next".

    2 - Select "Restore files and settings" and then click on the button "next".

    3 - Access your backup using the pane on the left side, then select the folders you want to restore. Navigate in this pane by clicking on the symbol '+' next to the names of folders until you reach the folder that contains the backup. Click on the button "next".

    4 - Click on 'Finish' button and then click 'close' once the full backup restore.

    Refer.

    How to use the backup utility to back up files and folders in Windows XP Home Edition: http://support.Microsoft.com/kb/320820

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/restore_overview.mspx?mfr=true

    Backing Up and Restoring Data: http://technet.microsoft.com/en-us/library/bb457113.aspx#EBAA

    I hope this helps.

  • automate the backup of the computer while limiting the space used

    Hello
    I would like to help by using the Task Scheduler to automate a "computer backup."  I also use the "back up files" to back up my data files.  I want to use the same destination for two backups drive, but must limit the space used for each utility half the destination drive.  for example, I have a 150 GB C: drive.  the backup destination, F: drive is 500 GB.  I would use 250 for backup of the computer and 250 GB for backup of files.  is there a command in Task Scheduler that will automate the backup of the computer while minimizing space used for 250 GB?  Thank you!

    moved the post to the backup – Windows and Windows Server forum: http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/bbacc0df-3964-40ae-bf98-a3fe2c36314c

  • How to decrypt the backup file

    Hi all

    I need to know how to decipher the backup file (ACS 5.3) on the desktop. Below is relevant for once you import the file to restore. However, my problem is to extract the file to your desktop

    ============================================================

    GBA backup encryption

    Backup of the ACS is now encrypted using a password of dynamic encryption. The user is prompted for an encryption password when executing a backup operation. ACS encrypts only the ACS data by using a dynamic encryption key. CARS and the ACS view data is encrypted using a static key. That is why ACS invites to enter a password for encryption when you perform a backup that contains the data of the ACS. The user is prompted for a password for decryption while restoring a backup that contains the data of the ACS.

    When you run a backup in ACS, ACS uses the static to encrypt key the CARS and the ACS data and actually a file of .gpg while GBA backup data is saved inside this file as file separate .gpg .gpg using the dynamic encryption password. When you restore the full backup, ACS invites for the decryption password decrypt the backup ACS data. ACS decrypts the data from CARS and display ACS data using the static key.

    The encryption password must have:

    • a minimum of 8 characters
    • no more than 32 characters
    • letter at least one capital letter.
    • at least a tiny.

    «Special characters are allowed except "'", "$", "(" et "") "» ACS displays the password strategy if the entered password does not meet password requirements.

    ===========================================================

    for people who would ask "Why I want to do this": it's policies related audit password standards

    Hello

    I can't think about a way to recover your files, it's to restore the file to a temp ACS server can generate a backup that is not encrypted.

    I would say we can decrypt the file on your desktop if we know the method that was used to encrypt it. I think that this information is not provided anywhere in the doc of cisco.

    Kind regards

    Amjad

  • Automate the backup of file

    Hello

    I am trying to automate the backup of files version using process has the configuration of the client/batch file, in the user guide it States it is possible but did not give any details as to what are the parameters to be used to do this, nobody knows the format needed to run this process.

    See you soon

    Chris

    Refer to ScottQ response of the next thread, let me know if you need help.

    Re: Can we use mixture of DRM for copy version? Just for print version

  • How to automate the process of loading data using load file & Task Scheduler

    Hello

    I do the automated processes to load the data into Hyperion Planning application using the file data_Load.bat & Scheduler of tasks.

    I created Data_Load.bat file, but the rest of the process, I cannot complete.

    Could help you me, how to automate the process of loading data using the file Data_load.bat & task Scheduler or what are the rest of the file is require it to achieve.

    Thank you

    In response to your question using the maxl for loading scripts?

    If Yes, I've seen and deliver in the batch (ex: load_data.bat) that is you do not have the path of the maxl script complete with a batch when passing through the event the task scheduler will work, but the log file and / or error will not be created. Which means lots claims it linked task scheduler, although he did not do what you need to.

    If you use maxl use this as the batch

    "essmsh C:\data\DataLoad.mxl" or you can also use the full path for the maxl or work elsewhere. The only reason why I think that the maxl can then not work is if you do not have the updated batch updated to call on all LANE changes maxl or if you need to update your environment variables to correct the command essmsh to work in a command prompt.

  • How to judge the backup set is available (with RMAN)?

    Hi all, after you back up the database, how to judge the backup set is available?

    SQL > SELECT * FROM V$ VERSION;

    BANNER
    ----------------------------------------------------------------
    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
     rman target /
    
    Recovery Manager: Release 11.2.0.1.0 - Production on Mon Jul 9 12:28:51 2012
    
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    
    connected to target database: CATDB (DBID=2328696599)
    
    RMAN> crosscheck backupset;
    
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=24 device type=DISK
    crosschecked backup piece: found to be '*AVAILABLE*'
    backup piece handle=D:\ORACLE\FAST_RECOVERY_AREA\CATDB\BACKUPSET\2012_06_14\O1_MF_NNNDF_TAG201206
    14T153439_7XMHL0JL_.BKP RECID=34 STAMP=785950480
    crosschecked backup piece: found to be '*AVAILABLE*'
    backup piece handle=D:\ORACLE\FAST_RECOVERY_AREA\CATDB\BACKUPSET\2012_06_14\O1_MF_ANNNN_TAG201206
    14T153546_7XMHN2C6_.BKP RECID=35 STAMP=785950546
    crosschecked backup piece: found to be '*AVAILABLE*'
    backup piece handle=D:\ORACLE\FAST_RECOVERY_AREA\CATDB\AUTOBACKUP\2012_06_14\O1_MF_S_785950547_7X
    MHN4MH_.BKP RECID=36 STAMP=785950548
    crosschecked backup piece: found to be '*AVAILABLE*'
    backup piece handle=D:\ORACLE\FAST_RECOVERY_AREA\CATDB\AUTOBACKUP\2012_06_14\O1_MF_S_785953535_7X
    MLKN66_.BKP RECID=37 STAMP=785953539
    crosschecked backup piece: found to be '*AVAILABLE*'
    backup piece handle=D:\ORACLE\FAST_RECOVERY_AREA\CATDB\AUTOBACKUP\2012_06_14\O1_MF_S_785971797_7X
    N4D6YF_.BKP RECID=38 STAMP=785971798
    crosschecked backup piece: found to be '*AVAILABLE*'
    backup piece handle=D:\ORACLE\FAST_RECOVERY_AREA\CATDB\AUTOBACKUP\2012_06_29\O1_MF_S_787249342_7Y
    V4001O_.BKP RECID=39 STAMP=787249359
    Crosschecked 6 objects
    
    RMAN> list backupset;
    
    using target database control file instead of recovery catalog
    
    List of Backup Sets
    ===================
    
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    ------- ---- -- ---------- ----------- ------------ ---------------
    26      Full    320.44M    DISK        00:01:03     14-JUN-12
            BP Key: 34   Status: AVAILABLE  Compressed: YES  Tag: TAG20120614T153439
            Piece Name: D:\ORACLE\FAST_RECOVERY_AREA\CATDB\BACKUPSET\2012_06_14\O1_MF_NNNDF_TAG201206
    14T153439_7XMHL0JL_.BKP
      List of Datafiles in backup set 26
      File LV Type Ckp SCN    Ckp Time  Name
      ---- -- ---- ---------- --------- ----
      1       Full 3712551    14-JUN-12 D:\ORACLE\ORADATA\CATDB\SYSTEM01.DBF
      2       Full 3712551    14-JUN-12 D:\ORACLE\ORADATA\CATDB\SYSAUX01.DBF
      3       Full 3712551    14-JUN-12 D:\ORACLE\ORADATA\CATDB\UNDOTBS01.DBF
      4       Full 3712551    14-JUN-12 D:\ORACLE\ORADATA\CATDB\USERS01.DBF
      5       Full 3712551    14-JUN-12 D:\ORACLE\ORADATA\CATDB\CATMETADATA01.DBF
      6       Full 3712551    14-JUN-12 D:\ORACLE\ORADATA\CATDB\UNDO2.DBF
    
    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    27      99.50K     DISK        00:00:00     14-JUN-12
            BP Key: 35   Status: AVAILABLE  Compressed: YES  Tag: TAG20120614T153546
            Piece Name: D:\ORACLE\FAST_RECOVERY_AREA\CATDB\BACKUPSET\2012_06_14\O1_MF_ANNNN_TAG201206
    14T153546_7XMHN2C6_.BKP
    
      List of Archived Logs in backup set 27
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    47      3712495    14-JUN-12 3712583    14-JUN-12
    
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    ------- ---- -- ---------- ----------- ------------ ---------------
    28      Full    9.45M      DISK        00:00:02     14-JUN-12
            BP Key: 36   Status: AVAILABLE  Compressed: NO  Tag: TAG20120614T153547
            Piece Name: D:\ORACLE\FAST_RECOVERY_AREA\CATDB\AUTOBACKUP\2012_06_14\O1_MF_S_785950547_7X
    MHN4MH_.BKP
      SPFILE Included: Modification time: 14-JUN-12
      SPFILE db_unique_name: CATDB
      Control File Included: Ckp SCN: 3712594      Ckp time: 14-JUN-12
    
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    ------- ---- -- ---------- ----------- ------------ ---------------
    29      Full    9.45M      DISK        00:00:07     14-JUN-12
            BP Key: 37   Status: AVAILABLE  Compressed: NO  Tag: TAG20120614T162535
            Piece Name: D:\ORACLE\FAST_RECOVERY_AREA\CATDB\AUTOBACKUP\2012_06_14\O1_MF_S_785953535_7X
    MLKN66_.BKP
      SPFILE Included: Modification time: 14-JUN-12
      SPFILE db_unique_name: CATDB
      Control File Included: Ckp SCN: 3715284      Ckp time: 14-JUN-12
    
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    ------- ---- -- ---------- ----------- ------------ ---------------
    30      Full    9.45M      DISK        00:00:02     14-JUN-12
            BP Key: 38   Status: AVAILABLE  Compressed: NO  Tag: TAG20120614T212957
            Piece Name: D:\ORACLE\FAST_RECOVERY_AREA\CATDB\AUTOBACKUP\2012_06_14\O1_MF_S_785971797_7X
    N4D6YF_.BKP
      SPFILE Included: Modification time: 14-JUN-12
      SPFILE db_unique_name: CATDB
      Control File Included: Ckp SCN: 3735186      Ckp time: 14-JUN-12
    
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    ------- ---- -- ---------- ----------- ------------ ---------------
    31      Full    9.45M      DISK        00:00:23     29-JUN-12
            BP Key: 39   Status: AVAILABLE  Compressed: NO  Tag: TAG20120629T162221
            Piece Name: D:\ORACLE\FAST_RECOVERY_AREA\CATDB\AUTOBACKUP\2012_06_29\O1_MF_S_787249342_7Y
    V4001O_.BKP
      SPFILE Included: Modification time: 29-JUN-12
      SPFILE db_unique_name: CATDB
      Control File Included: Ckp SCN: 5138750      Ckp time: 29-JUN-12
    

    Please do not forget to change the status thread answer whether it is possible when believe you your thread replied, he pretend to wasting time in other forums users while they are looking outstanding which is not answered, thank you for understanding

    Published by: Julien Hesenov on July 9, 2012 12:42

  • How to automate the process of deploying VM?

    Are there sources where I could find info how to automate the deployment of virtual machines? For example, if I have to deploy 100 VM, how to add script, or maybe there are tools to do?

    Thanks in advance for the answers.

    I have not yet tested, but it should work if you have VI kit installation. If its only 10-20 why not plan tasks to clone vcenter and set the frequency to be repeated every hour and stop once you have done with all of them?

    If you found this information useful, please consider awarding points to 'Correct' or 'useful '. Thank you!!!

    Kind regards

    Stefan Nguyen

    VMware vExpert 2009

    iGeek Systems Inc.

    VMware, Citrix, Microsoft Consultant

  • How to check the backup?

    Hi, we take each backup to hot day and export the backup via scripts?...

    export backup we can check by using the log file, he succeeded...
    But how to check the backup to hot or cold backup is successfully completed?

    Help, please...

    Published by: user10745179 on February 24, 2010 03:39

    Hello

    CHCK the size of the backup in the backup location...

    Kind regards
    Deepak

Maybe you are looking for