Daily Backup

Dear all ,
Today i am first time implementing daily backup for oracle 10g on rehl5.5. I completed RMAN Configuration.
Now I made script for daily backup in which i include RMAN commands and this commands run successfully in RMAN according to my requirement.
The problem is i don 't know how to run this dbackup.sh file using crontab.
So please guide me how i can execute this file on daily basis.
Thanks in advance
Edited by: abdul moyed on Feb 27, 2012 4:35 PM

Hello;
To run daily at 4PM
00 16 * * 0-6 /u01/app/oracle/dba_tool/PRIMARY/db_rman_full.sh > /tmp/PRIMARY_rmanfull.outThe top of my script call an "env" which is needed for the crontab otherwise the script will fail
#!/bin/bash
# Name: db_rman_full.sh
# Purpose: Database rman backup
# Usage : db_rman_full <DBNAME>
. /u01/app/oracle/dba_tool/env/PRIMARY.env
echo "Starting RMAN..."
$ORACLE_HOME/bin/rman target / catalog <user>/<password>@catalogdb <<EOF/u01/app/oracle/dba_tool/env/PRIMARY.env ( looks likes )
ORACLE_BASE=/u01/app/oracle
ULIMIT=unlimited
ORACLE_SID=PRIMARY
ORACLE_HOME=$ORACLE_BASE/product/11.2.0.2
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
LIBPATH=$LD_LIBRARY_PATH:/usr/lib
TNS_ADMIN=$ORACLE_HOME/network/admin
PATH=$ORACLE_HOME/bin:$ORACLE_BASE/dba_tool/bin:/bin:/usr/bin:/usr/ccs/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/usr/lbin:/GNU/bin/make:/u01/app/oracle/dba_tool/bin:/home/oracle/utils/SCRIPTS:/usr/local/bin:.
export TERM=vt100
export ORACLE_BASE ORACLE_SID ORACLE_TERM ULIMIT
export ORACLE_HOME
export LIBPATH LD_LIBRARY_PATH ORA_NLS33
export TNS_ADMIN
export PATHChange as need for your setup.
Please consider closing some of your old questions to keep the forum clean.
Best Regards
mseberg

Similar Messages

  • Time Machine making Daily backups of Entire Itunes Library

    Hi There,
    I have searched around the forums and cannot find an answer to my problem.
    I am using time machine over a 1TB time capsule, my laptop is the only computer that is backing up to the drive,
    Originally I noticed that my time machine backups were taking a long time (over 7 hours while connected through Ethernet)
    I have downloaded BackupLoupe and using this utility I have found that daily backups of my entire Itunes music Library are being made (122GB).
    Does anyone have any idea what may be causing this issue? I have followed the Time machine trouble shooting guide and Completely wiped the drive and started again,
    I have performed a disk and permission repair on both the time capsule drive and on the Macbook through the install DVD, however each time I initiate time machine on the freshly reconditioned drives it happens again.
    Any help would be greatly appreciated, I am going slowly insane.
    Cheers
    Josh

    bigjnz wrote:
    I have downloaded BackupLoupe and using this utility I have found that daily backups of my entire Itunes music Library are being made (122GB).
    Is it only the iTunes folder; and the entire contents?
    If so, the iTunes folder itself may be damaged. That happens occasionally; something in a folder object gets corrupted, and Time Machine either doesn't find real changes, or thinks everything changed.
    In those cases, the only solution we've been able to find is to rename the folder, create a new one, move the contents, and delete the old one. The first backup afterwards will back up everything, but thereafter it should be ok.

  • Daily backup on Ms sql server management  studio (MS sql 2005).

    I wander how to perform daily backup on Ms sql server management  studio (MS sql 2005).
    In sql server  Entereprise manager (MS sql 2000) I had no problem to shedule.
    But now I do not find this option

    Hi
    Please follow these steps in SQL Server Management Studio in SQL Server 2005 and <b>award points</b>
    1. Start SQL Server Management Studio.
    2. In the Connect to Server dialog box, click the appropriate values in the Server type list, in the Server name list, and in the Authentication list. 
    3. Click Connect.
    4. In Object Explorer, expand Databases.
    5. Right-click the database that you want to back up, click Tasks, and then click Back Up.
    6. In the Back Up Database - DatabaseName dialog box, type the name of the backup set in the Name box, and then click Add under Destination.
    7. In the Select Backup Destination dialog box, type a path and a file name in the Destinations on disk box, and then click OK.
    8. In the Script list, click Script Action to Job.
    9. In the New Job dialog box, click Steps under Select a page, and then click Edit if you want to change the job parameters.
    Note In the Job Step Properties - 1 dialog box, you can see the backup command.
    10. Under Select a page, click Schedules, and then click New.
    11. In the New Job Schedule dialog box, type the job name in the Name box, specify the job schedule, and then click OK.
    Note If you want to configure alerts or notifications, you can click Alerts or Notifications under Select a page.
    12. Click OK two times.
    You receive the following message:
    The backup of database 'DatabaseName' completed successfully.
    Note To verify the backup job, expand SQL Server Agent, and then expand Jobs. When you do this, the SQL Server Agent service must be running.

  • RMAN MONTHLY/WEEKLY/DAILY backups

    Hi,
    Using RMAN how can I schedule MONTHLY/WEEKLY/DAILY backups.
    We are using TIVOLI for our backups.
    I want to keep the monthly/weekly backups in seperate tapes so that I can use later.
    Thanks in advance.

    Hi,
    You will nedd to create 3 RMAN backups using TAGs and congifure Tivoli to put MONTHLY/WEEKLY/DAILY backup on different tapes using the TAGs that you created.
    Example of backups:
    DAILY
    run{
    allocate channel t1 device type sbt_tape parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo_SID.opt)';
    allocate channel t2 device type sbt_tape parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo_SID.opt)';
    backup
    incremental level 1
    format 'BKP_HOT_DAILY_SID_%U'
    database
    tag 'DAILY_SID';
    backup current controlfile format 'BKP_CTL_DAILY_SID_%U';
    WEEKLY
    run{
    allocate channel t1 device type sbt_tape parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo_SID.opt)';
    allocate channel t2 device type sbt_tape parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo_SID.opt)';
    backup
    incremental level 0
    format 'BKP_HOT_WEEKLY_SID_%U'
    database
    tag 'WEEKLY_SID';
    backup current controlfile format 'BKP_CTL_WEEKLY_SID_%U';
    MONTHLY
    run{
    allocate channel t1 device type sbt_tape parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo_SID.opt)';
    allocate channel t2 device type sbt_tape parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo_SID.opt)';
    backup
    incremental level 0
    format 'BKP_HOT_MONTHLY_SID_%U'
    database
    tag 'MONTHLY_SID' keep forever logs;
    backup current controlfile format 'BKP_CTL_MONTHLY_SID_%U';
    Best Regards,
    Paulo Portugal.

  • MS SQL Server 2008 -- Daily Backup

    Hello,
    My real need is simply to do a daily backup of a database : I have SQL Server 2008
    ( not express ) .
    My user is    sa       and has full control on the database.
    I have searched the web and found many places where they say to do a     Task -> Backup    and then click on "script action to job". This option is greyed out ( and it is NOT express) and I am using the   sa    
    user will FULL privileges.
    I read here ( http://social.msdn.microsoft.com/Forums/sqlserver/en-US/4c5b5ff3-f2cd-4439-b878-de0891a5eedf/sql-server-management-studio-express-script-action-to-job-grayed-out?forum=sqldatabaseengine )  that I may need to    "Install
    Integration Services"   .   
    However, when I go to do this  (
    http://msdn.microsoft.com/en-us/library/ms143731(v=sql.105).aspx ) , I read:
    You can install SQL Server Integration Services on a computer that has no previous instances of SQL Server.
    Well, my server is already installed and running in production. 
    Q: can I "Install Integration Services" even if I have an SQL server installed and running ?
    Q: do I absolutely require to have Integration Services to automate the backups?
    Q: any simple way to just dump the database every night to a folder ?
    Thanks!
    Johnny

    You can use the Database Maintenance Wizard to setup a daily backup job.
    BOL: "Use the Maintenance Plan Wizard
    This topic describes how to create a single server or multiserver maintenance plan using the Maintenance Plan Wizard in SQL Server 2014. The Maintenance Plan Wizard creates a maintenance plan that Microsoft SQL Server Agent can run on a regular basis. This
    allows you to perform various database administration tasks, including backups, database integrity checks, or database statistics updates, at specified intervals."
    LINK: http://msdn.microsoft.com/en-us/library/ms191002.aspx
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Sap offline daily backup

    Hi Experts,
                         I am facing one problem.yesterday i take Full NT Backup at (OS LEVEL).it will be successfully completed. Then i start the production server .the sap is work in good condition. then start sap daily backup schedule.but donot take the backup .
    Log File:   begktxad.aft 
    Return Code:   0005 Error during processing 
    Database Host:   mpc 
       No action log for this action found in the database 
       Check the detail log 
    Log Details :
    BR0216E Wrong volume MPCB29 found in device /dev/nmt0, expected: MPCB05
    BR0218E Checking label on volume in device /dev/nmt0 failed.
    Please check the report and give the details.
    Regards,
    A.Sithanandan

    Wrong volume MPCB29 found in device /dev/nmt0, expected: MPCB05
    You are not using the right tape... as you can see the system is expecting a tape with a different label. You need to fix your tape rotation
    Regards
    Juan

  • Sap daily backup error

    hello experts,
                               in that sap the daily backup of sap production server due to error during initialization for the error.one hour before take os level nt backup.then next take the sap daily base back up.
    profile :initmpc.sap
    return code :0005 Error during processing
    log file :begjqkde.aft
    No action log for this action found in the database 
       Check the detail log 
    Regards,
    A.Sithanandan

    Hi,
    Here is the solution for your issue.
    Check the SAP Note :  Note 17163 - BRARCHIVE/BRBACKUP messages and codes for further details.
    BR0216W Wrong volume %s in device %s, should be %s
    BR0216W Falscher Datentraeger %s in Geraet %s, sollte %s sein.
    BR0216E Wrong volume %s in device %s, should be %s
    BR0216E Falscher Datentraeger %s in Geraet %s, sollte %s sein.
    Explanation:  You inserted an incorrect volume in the backup device. The volume name was determined automatically. The program requires that you accept this proposal.
    Program reaction:  Waits for the user to insert the correct volume (BR0216W) or processing to terminate (BR0216E).
    User action:  Insert the correct volume and continue the operation or repeat the processing.
    Regards,
    Baskar.N

  • Unable to perform daily backup

    Dear all,
    We are running daily backup in the afternoon, but I don't know why the daily backup takes more than 20 minus without any progresss. Here is the log.
    Please advice.
    Daily Backup Database begun on date Tue Mar 31 13:18:45 HKT 2009
    Recovery Manager: Release 9.2.0.3.0 - 64bit Production
    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
    connected to target database: PROD (DBID=1357907388)
    RMAN> Run
    2> {
    3> CONFIGURE CONTROLFILE AUTOBACKUP ON;
    4> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/db/backup/RMAN/%F.bck';
    5> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 1 DAYS;
    6> allocate channel ch1 type disk format '/backup/db/backup/RMAN/backup_%d_%t_%s_%p_%U.bck';
    7> backup incremental level 1 cumulative database plus archivelog delete all input;
    8> backup current controlfile;
    9> backup spfile;
    10> release channel ch1;
    11> }
    12> allocate channel for maintenance type disk;
    13> delete noprompt obsolete;
    14> delete noprompt archivelog all backed up 2 times to disk;
    15>
    16>
    using target database controlfile instead of recovery catalog
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration parameters are successfully stored
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/db/backup/RMAN/%F.bck';
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/db/backup/RMAN/%F.bck';
    new RMAN configuration parameters are successfully stored
    old RMAN configuration parameters:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 1 DAYS;
    new RMAN configuration parameters:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 1 DAYS;
    new RMAN configuration parameters are successfully stored
    allocated channel: ch1
    channel ch1: sid=37 devtype=DISK
    Starting backup at 31-MAR-09*
    current log archived_
    Best Regards,
    Amy

    Yes, enough space.
    I am looking at the alert log and here are some questions:
    Tue Mar 31 12:23:53 2009
    ARC0: Evaluating archive log 2 thread 1 sequence 264871
    ARC0: Beginning to archive log 2 thread 1 sequence 264871
    Creating archive destination LOG_ARCHIVE_DEST_1: '/u02/oracle/prod/proddb/9.2.0/dbs/arch1_264871.dbf'
    ARC0: Completed archiving log 2 thread 1 sequence 264871
    Tue Mar 31 12:42:48 2009
    Beginning log switch checkpoint up to RBA [0x40aa9.2.10], SCN: 0x0000.8ce3c8bd
    Tue Mar 31 12:42:48 2009
    ARCH: Evaluating archive log 3 thread 1 sequence 264872
    Tue Mar 31 12:42:48 2009
    Thread 1 advanced to log sequence 264873
    Current log# 4 seq# 264873 mem# 0: /u01/oracle/proddata/log04a.dbf
    Tue Mar 31 12:42:48 2009
    ARCH: Beginning to archive log 3 thread 1 sequence 264872
    Creating archive destination LOG_ARCHIVE_DEST_1: '/u02/oracle/prod/proddb/9.2.0/dbs/arch1_264872.dbf'
    Tue Mar 31 12:42:48 2009
    ARC1: Evaluating archive log 3 thread 1 sequence 264872
    ARC1: Unable to archive log 3 thread 1 sequence 264872_
    Log actively being archived by another process
    Tue Mar 31 12:42:50 2009
    Completed checkpoint up to RBA [0x40aa8.2.10], SCN: 0x0000.8ce3a4e8
    Tue Mar 31 12:42:50 2009
    ARCH: Completed archiving log 3 thread 1 sequence 264872
    Tue Mar 31 13:03:43 2009
    Completed checkpoint up to RBA [0x40aa9.2.10], SCN: 0x0000.8ce3c8bd
    Tue Mar 31 13:18:59 2009
    Beginning log switch checkpoint up to RBA [0x40aaa.2.10], SCN: 0x0000.8ce40ad0
    Tue Mar 31 13:18:59 2009
    ARCH: Evaluating archive log 4 thread 1 sequence 264873
    Tue Mar 31 13:18:59 2009
    Thread 1 advanced to log sequence 264874
    Current log# 1 seq# 264874 mem# 0: /u01/oracle/proddata/log01a.dbf
    Tue Mar 31 13:18:59 2009
    ARCH: Beginning to archive log 4 thread 1 sequence 264873
    Tue Mar 31 13:18:59 2009
    Creating archive destination LOG_ARCHIVE_DEST_1: '/u02/oracle/prod/proddb/9.2.0/dbs/arch1_264873.dbf'
    Tue Mar 31 13:18:59 2009
    ARC1: Evaluating archive log 4 thread 1 sequence 264873
    Tue Mar 31 13:18:59 2009
    ARC1: Unable to archive log 4 thread 1 sequence 264873_
    Log actively being archived by another process_
    Tue Mar 31 13:18:59 2009
    ARCH: Completed archiving log 4 thread 1 sequence 264873
    Tue Mar 31 13:39:28 2009
    Completed checkpoint up to RBA [0x40aaa.2.10], SCN: 0x0000.8ce40ad0
    Anyone can tell me what it is ?
    Thanks,
    Amy

  • Daily Backup too large

    Hello,
    I ran my Time Machine backups since Saturday (Full Backup) and daily backups (manualy). Today I know that I only made about 300MB of changes on my work files and now Time Machine is backing up since one hour with over 21GB of data.
    Why? When this will go on like this, I can buy a new Drive next week.
    May it be possible that these 21GB are the changes of my Leopard update to 10.5.7? Thats the only thing I can think of. But I did this update yesterday and not today - so why is Time Machine backing it up now?
    Thanks for any hint.
    Ps. I have a Lacie 2big Network drive connected to my router.

    P.C. Haring wrote:
    Pondini wrote:
    Have you tried either the +Time Tracker+ or +Backup Loupe+ apps, per previous posts in this thread, to see what's taking up the space?
    Yeah. Backup Loupe came through for me and for some reason my Thunderbird E-mail system was eating up gigs and gigs at a time.
    Ah, yes, Thunderbird is one of the common causes of big backups. It keeps all your emails in a single file (or database), so when you send or receive a single tiny email, the whole thing is changed and must be backed-up in full again.
    Suffice to say I excluded thunderbird's library. I also ended up wiping the backup volume clean and starting fresh. I've only had two backups since then, but if Backup Loupe's any indication excluding thunderbird along with the other exclusions seems to have done the trick.
    Many folks copy the Tbird file to another, that's not excluded, once a day or so, to be sure it does get backed-up. This can even be automated, via an Applescript or Automator.
    Or you could use CarbonCopyCloner, SuperDuper!, or the like, to back-up the file periodically. Those are most often used to make full "bootable clones" (which many of us do in addition to Time Machine), but can do this sort of thing as well. CCC is donationware, so you can try it before you buy it; and while SD has a free version, I think you need the paid one (about $30) to do this.

  • Co-location for daily backup

    I have created a protection group for file server and taking backup of a share on tape drive.
    under protection method--> I chose I want short-term protection using : tape
    retention range: 1 week
    frequency of backup: daily
    backup mode: full and incremental
    so full backup on Saturday and other days incremental backup.
    I have around 700 GB data size.
    I have shortages of tape. from recovery option: I saw in this month on 12thOct, on Saturday it run full backup. It took one tape [say tape 1]
    on the next 6 days it run incremental backup on another tape.[say tape 2]
    again on Saturday for full backup it took tape 3 [tape 3]
    again to run incremental backup it is asking for free tape. and back up failed.
    in this way I am wasting space on tape. data size is 700 GB, tape size is around 3 TB.
    I can see there is option in 'optimize usage' where I can mention under advanced. write period and expiry tolerance.
    i believe I need to modify these settings.  please suggest if i want daily incremental backup and full backup on Saturday with 1 week retention and reuse the same tape or second tape instead of waiting for more tapes

    Hi,
    It is currently working as designed for tape library.
    See the following TechNet page:
    How DPM Uses Tape Libraries
    http://technet.microsoft.com/en-us/library/hh757885.aspx
    Short-term tape "full and incremental" option
    The full backup will require a free tape for each scheduled job, and the incremental backup for all data sources will be appended to a single separate tape.
    As tapes fill up, new free tapes will be allocated.
    When the next full backup occurs, it will require another free tape, and subsequent incremental backups will be appended to another free tape.
    So basically, you will need three sets of tapes for a 1 week retention range.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Daily backup for a certain folder on my desktop using Ipod - Possible?

    I would like to use my iPod as a memory media to perform a daily backup (at a certain given time, every day) for a folder in my computer. How do I do that?
    Do I need to have some sort of a software that will be directed to the iPod as its media? Is such a thing possible?
    Thanks a lot...
    R.

    Hmmm... I've never done something like that myself... I would imagine you would need a dedicated application for backing up.
    Maybe someone will come along who knows more. Otherwise, you might try Google.
    Cheers!
    -Bryan
    p.s. thanks for the gold star.

  • Schedule Daily backup error

    Dear all,
    Here is the error message in daily backup log file:
    ===================================================================
    Backup Set 302 25-SEP-08
    Backup Piece 302 25-SEP-08 /u02/db/backup/RMAN/backup_UAT_666356697_324_1_a4jrfiup_1_1.bck
    Controlfile Copy 2 18-AUG-08 /home/oracle/rsbackup/UAT/backup_control.ctl
    released channel: ch1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of delete command on default channel at 10/03/2008 11:15:23
    ORA-19569: no device is allocated to this session
    Recovery Manager complete.
    =====================================================================
    Anything wrong? How can I solve this?
    Best Regards,
    Amy

    I get the following error message:
    RMAN> Run
    2> {
    3> CONFIGURE CONTROLFILE AUTOBACKUP ON;
    4> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    5> allocate channel ch1 type disk format '/u02/db/backup/RMAN/backup_%d_%t_%s_%p_%U.bck';
    6> backup incremental level 1 cumulative database plus archivelog delete all input;
    7> backup current controlfile;
    8> backup spfile;
    9> release channel ch1;
    10> allocate channel for
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01005: syntax error: found "for": expecting one of: "channel_id, double-quoted-string, identifier, single-quoted-string"
    RMAN-01007: at line 10 column 18 file: daily_backup_db.rmn
    -------------------- Here is the backup script -------------------------
    Run
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    allocate channel ch1 type disk format '/u02/db/backup/RMAN/backup_%d_%t_%s_%p_%U.bck';
    backup incremental level 1 cumulative database plus archivelog delete all input;
    backup current controlfile;
    backup spfile;
    release channel ch1;
    allocate channel for maintenance type disk;
    delete noprompt obsolete;
    delete noprompt archivelog all backed up 2 times to disk;
    Please advice,
    Amy

  • Daily backup to FireWire drive

    What is the best way to setup daily backup to external FireWire drive connected to Xserve?

    Tom,
    Is it just me or is Automator the most dissapointing thing that Apple have done for a while?
    I've been attempting to do what you tried and I've wasted hours on this to no benefit. I followed a tutorial from maccreative mag and it simply does not work. The suggestion is to create smart folders and have them copied to an archive and then burn a disc. It sounds easy and sensible, but it does not work. I tried it and the disc only has references to the files not copies.
    So, be warned, you can do this and it will appear to work, but if you disconnect your drive and take it away their won't be any data.
    Regards,
    Mark

  • Accessing Time Machine Daily Backups

    I am trying to restore a file a week old. The scale on the right of Time Machine goes back to April 2009, which indeed when I set it up. But the tick marks for daily backups are grayed on the scale and I can't seem to access them. The hourly backups are fine. (BTW, I noticed that daily backups are grayed in one of apple's documentation screenshots, too). I have a 5G Time Capsule, which is only half full, and I have never got any message that early backups are being deleted. I think I am being stupid, but I am stumped.

    First, Time Machine does "thin" current backups:
    Your very first backup, and the first backup of the same day of each week is kept for as long as there's room.
    The first backup of each other day is kept for a month; all others are kept for 24 hours.
    You'll only get a message when TM is deleting the oldest weeklies to make room for new ones.
    Most likely, what you're seeing with the grayed-out backups is, what you see in Time Machine may depend on how you get there. Start with a Finder window pointed to your home folder, and with both a sidebar and toolbar; then +Enter Time Machine+ and see if the other backups are there.
    If, for example, you're starting from Mail, with a fairly new mailbox selected, and +Enter Time Machine,+ only those backups made since that mailbox was created will be shown; earlier backups will be grayed-out.
    If that doesn't help, try #E2 in the Time Machine - Troubleshooting *User Tip* at the top of this forum.

  • Require backup script which deletes the daily backups after weekly backup

    Hi,
    I am new to Oracle administration. I require a backup script which will delete the daily backups (incremental) after weekly backup is taken (full database backup).
    Currently I use Oracle 10g for one of my production server.
    My backup strategy is given below.
    I would like to take full database backup weekly(online). To be precise, on Saturday.
    I need to have daily incremental backup and they should get deleted on Saturday after the weekly full database backup is taken.
    Also I would like to keep 4 weeks full backups. After that one by one we need to delete the backup.
    For example, if I have 4 weeks fullbackup of February, after taking full backup for first week of March, the backup of first week of February should get deleted.
    Kindly help with your suggestions.
    Thanks & Regards,
    Rafnas

    Hi,
    Thank you for pointing to the blog. It was very much useful.
    I was testing the backup strategy using your script. It worked fine for first set of daily backups.
    After weekly backup is taken, the daily backup script fails for taking the backup from next day onwards.
    It gives the following error stack.
    Starting backup at 05-MAR-09
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 03/05/2009 01:47:55
    ORA-01455: converting column overflows integer datatype
    Could you please let me know why integer datatype comes into picture while taking backup?
    Please advice.
    Thanks & Regards,
    Rafnas
    Edited by: user10698483 on Mar 5, 2009 3:38 AM

Maybe you are looking for