About incremental backup/restore

I current have 6 master nodes with about 150G data, and I want to migrate them to a new store with 2 master nodes. My plan is:
(1) take a snapshot online and load the .jdb files to new store, which may takes a really long time.
(2) stop the online application and take another snapshot.
(3) rsync the .jdb files to new server and ONLY load the changed ones (compare with step 1) to the new store instead of loading them all again.
is that ok?

You should not try to change the store topology in this fashion. You should instead migrate from old to new by moving K/V pairs (records).
Charles

Similar Messages

  • About incremental backup

    Dear Friends ,
    We have a ORacle 10g database server which is 24x7 hours running . We take everyday RMAN full backup ,now we want to run "Incremental rman backup" 6 days in a week and "Full Backup" rest of the week . But in oracle article we read that
    "RMAN can only create incremental backups of datafiles, not of archived redo log files or other files."
    (source: http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/bkup001.htm#BRBSC131)
    In this moment I think , archivelog is very important for database recovery and it is necessary to take archivelog backup regularly .Now if we want to run Incremental backup then I think I cannot take "archivelog" backup using following script :
    run
    allocate channel t1 type 'sbt_tape' parms
    'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
    sql "alter system switch logfile";
    backup incremental level 1 database plus archivelog;
    Give me some idea plz ... ...what should I need to ?

    Sorry Hemant ,
    Accroding to ur advice , I run the script following way :
    run
    allocate channel t1 type disk;
    backup incremental level 1 database;
    sql "alter system switch logfile";
    backup archivelog;
    But I got the following ERROR :
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found ";": expecting one of: "all, from, high, like, logseq, low, scn, sequence, time, until"
    RMAN-01007: at line 6 column 18 file: standard input
    RMAN>
    But when I use the following script , it shows no error :
    run
    allocate channel t1 type disk;
    sql "alter system switch logfile";
    backup incremental level 1 database plus archivelog;
    I think here database is backup only using LEVEL 1 , but archivelog is backed up full . Here is the output :
    RMAN> run
    2> {
    3> allocate channel t1 type disk;
    4> sql "alter system switch logfile";
    5> backup incremental level 1 database plus archivelog;
    6> }
    using target database control file instead of recovery catalog
    allocated channel: t1
    channel t1: sid=159 devtype=DISK
    sql statement: alter system switch logfile
    Starting backup at 29-JUL-08
    current log archived
    channel t1: starting archive log backupset
    channel t1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=2 recid=1 stamp=661354070
    input archive log thread=1 sequence=3 recid=2 stamp=661354123
    input archive log thread=1 sequence=4 recid=3 stamp=661354895
    input archive log thread=1 sequence=5 recid=4 stamp=661354935
    input archive log thread=1 sequence=6 recid=5 stamp=661355047
    input archive log thread=1 sequence=7 recid=6 stamp=661355050
    input archive log thread=1 sequence=8 recid=7 stamp=661355072
    input archive log thread=1 sequence=9 recid=8 stamp=661355327
    channel t1: starting piece 1 at 29-JUL-08
    channel t1: finished piece 1 at 29-JUL-08
    piece handle=C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\TESTDB\BACKUPSET\2008_07_29\O1_MF_ANNNN_TAG20080729T143725_48
    channel t1: backup set complete, elapsed time: 00:00:06
    Finished backup at 29-JUL-08
    Starting backup at 29-JUL-08
    channel t1: starting incremental level 1 datafile backupset
    channel t1: specifying datafile(s) in backupset
    input datafile fno=00001 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\TESTDB\SYSTEM01.DBF
    input datafile fno=00003 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\TESTDB\SYSAUX01.DBF
    input datafile fno=00002 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\TESTDB\UNDOTBS01.DBF
    input datafile fno=00004 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\TESTDB\USERS01.DBF
    channel t1: starting piece 1 at 29-JUL-08
    channel t1: finished piece 1 at 29-JUL-08
    piece handle=C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\TESTDB\BACKUPSET\2008_07_29\O1_MF_NNND1_TAG20080729T143732_48
    channel t1: backup set complete, elapsed time: 00:00:15
    Finished backup at 29-JUL-08
    Starting backup at 29-JUL-08
    current log archived
    channel t1: starting archive log backupset
    channel t1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=33 recid=32 stamp=661358270
    channel t1: starting piece 1 at 29-JUL-08
    channel t1: finished piece 1 at 29-JUL-08
    piece handle=C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\TESTDB\BACKUPSET\2008_07_29\O1_MF_ANNNN_TAG20080729T143751_48
    channel t1: backup set complete, elapsed time: 00:00:02
    Finished backup at 29-JUL-08
    Starting Control File and SPFILE Autobackup at 29-JUL-08
    piece handle=D:\RMAN_BACK\CFC-2444681464-20080729-0C comment=NONE
    Finished Control File and SPFILE Autobackup at 29-JUL-08
    released channel: t1
    RMAN>
    what u think , am i right ?

  • What about a backup/restore feature?!?!?!

    Isn´t it weird that by 2008 Apple still hasn´t added a working, comprehensive backup/restore/migrate feature in Mail? It feels like NOTHING has happened for 10yrs...
    There are few things that are as important to most people as their mail-correspondance.
    What´s up Apple!?!

    Muuseec's profile says he is using Tiger (so why posted on this forum I'm not sure). Upgrading to Leopard and using Time Machine could well be the answer.

  • Basic questions about config backup/restore

    I've searched around with limited success. I've just inherited the Ironport devices in our enviornment and need to perform an OS upgrade of our cluster. Prior to doing so, I want to backup each members config file. (also, I want to do this before doing any config changes)
    If I back up each member's config to the device, how I can access/edit these config files so I can replaced the masked password fields with the actual passwords?
    I'm aware of the unmasked/hashed password version of the file, but we'd like to avoid that if we can.

    The config file itself is just a text/xml file and most good text editors (vi/textpad) will handle it easily.
    Even when passwords are not masked, they are always encrypted. The only way to manually insert a password would be to encrypt it and put the result back in the config file.
    As long as you are choosing strong passwords (hint) it is not at all an easy task to force decrypt the hashed password string. Even if you are completely paranoid, just store the config file somewhere in an encrypted format.
    Bottom line: don't mess up your "backup" by manipulating it in a way that could render it useless just when you most need it. Manual editing of config files is tricky and AFAIK not officially supported in any way.

  • Restore Tablespace incremental backup is not work as after reimage oracle

    TheTablespace incremental backup Restore is not work as after reimage the oracle database or restore tablespace in standby machine(another machine) is not working .its working in the same machine without reimage .after reimage not working please clarify me ,
    I need the solution as soon as please reply as soon as .
    Commnads used:
    This is the step is followed but i am getting backup or control file not found error.Its works i the application server is not reimaged ;
    please give your valuable suggestion .
    Product Used:oracle 11g in linux environmnet
    1)Before taking backup get SCN number for restore.
    Command applied: Select current_scn from v$database;
    2)running Full backup of database
    Command applied:
    configure controlfile autobackup on;
    backup database plus archivelog;
    CROSSCHECK BACKUP;
    exit;
    3)Running level 0 incremental backup
    Before taking backup get SCN number for restore.
    Command applied:
    BACKUP AS COMPRESSED BACKUPSET INCREMENTAL LEVEL 0 TAG ='WEEKLY' TABLESPACE TEST;
    exit;
    3) Running level 1 incremental backup
    Before taking backup get SCN number for restore.
    Command applied:
    BACKUP AS COMPRESSED BACKUPSET INCREMENTAL LEVEL 1 TAG ='DAILY' TABLESPACE TEST;
    4)Before Restore(TSPITR) following procedure are applied under sysdba privilege
    Command applied:
    SQL 'exec dbms_backup_restore.manageauxinstance ('TSPITR',1)';
    5)TSPITR Restore command
    Command applied:
    run
    RECOVER TABLESPACE TEST UNTIL SCN 1791053 AUXILIARY DESTINATION '/opt/oracle/base/flash_recovery_area';
    SQL 'ALTER TABLESPACE TEST ONLINE';
    please calrfiy my following question:
    1. After reimage(reinstall oracle database with application ).The aboove scenario is not working
    2. After fullbackup what are the files needs to copy from (opt/oraclle/base/flash_recovery_area/dbname/) to repository because daily cleanup script will keep the data as sysdate -1 .
    For fullbacckup we are currently copying entire (flash_recovery_area/dbname) database folder to repoistory.
    3. after incremental backup what are the files needs to copy from (opt/oraclle/base/flash_recovery_area/dbname/..) to repository because daily cleanup script will keep the data as sysdate -1
    For incremenatl backup currently we are copying (flash_recovery_area/dbname/backupset/<currentdate> and flash_recovery_area/dbname/autobackup/<currentdate>) folder to repoistory.
    4.During restore we are copy entire things from repository to flash_recovery_area finaly apply the above mentioned restore command.
    Tabelspace incremenatl restore is possible after reimage application server(fresh database)/another server with same database(standby machine) ....?
    If we missing something in backup side please clarify me how to retore the tablespace incremental / level 0 tablespacae after reinstallion of server/another standby server.
    Any information please let me know .I need the solution as soon as please reply as soon as .

    Try the Recovery Manager (RMAN) instead. This forum is for feedback about the 11g XE Beta.

  • TimeMachine: Restore incremental backup

    When restoring from a TimeMachine backup to a new hard disk, only "full backups", which are a bit outdated, are shown. Are the incremental backups restored after the "full backup" restore?

    bbonn wrote:
    I'm in the same situation, and to clarify: Time Machine does, in fact, keep full vs. incremental backups, confirmed by the AppleCare support manager I am working with on this problem.
    No.  There's a misunderstanding.
    Time Machine only makes a full backup once; all thereafter are incrementals, of what's new or changed.
    But because of the way they're all linked together, every backup is, in effect, a full one.  Seems odd, but see the tan box in How Time Machine works its Magic for an explanation.
    However, it sounds like you may have been bitten by a bug we recently discovered, and Apple either doesn't recognize yet or hasn't told the Support folks about.  Something (we don't know what yet), is telling Time Machine not to back up several top level system folders.  Without them, of course, those backups aren't complete, so don't appear on the selection window.  See #D10 in Time Machine - Troubleshooting for details.
    if so, you should be able to get most of your stuff back, at least everything from your home folder.  We can help with that if necessary.
    What's definitely confirmed is that any local-only snapshots are lost when the hard drive is lost, which begs the question: Why would Apple choose to do that in the first place when a perfectly-good external backup location is connected?
    Those are made on laptops only, whether the external is connected or not, so you'll have access to them if necessary.   Think of them as temporary, expendable Versions for files that don't have regualar Versions.  See Time Machine - Frequently Asked Question #30 for details.

  • Restore using incremental backup with noarchivelog mode

    Hello experts,
    We are running SAP on Oracle databse(IN NOARCHIVELOG MODE) for which we are having full offline backup on every sunday and post which incremental backups on rest of the days. We have scenario to do restore db to the state till last friday's incremental backup.
    Please let us know the procedure for restoring till that point. If possible using brtools utility(which is SAP specific).
    Thank You
    Regards,
    Venkateshwar

    If you do not want to read the whole doc This is the snippet for you.
    Recovering a NOARCHIVELOG Database with Incremental Backups
    Restoring a database running in NOARCHIVELOG mode is similar to restoring a database in ARCHIVELOG mode. The main differences are:
    Only consistent backups can be used in restoring a database in NOARCHIVELOG mode.
    Media recovery is not possible because no archived redo logs exist.
    You can perform limited recovery of changes to a database running in NOARCHIVELOG mode by applying incremental backups. The incremental backups must be consistent, like all backups of a database run in NOARCHIVELOG mode, so you cannot make backups of the database when it is open.
    When you are recovering a NOARCHIVELOG database, specify the NOREDO option on the RECOVER command to indicate that RMAN should not attempt to apply archived redo logs. Otherwise, RMAN returns an error.
    To recover a NOARCHIVELOG database with incremental backups:
    After connecting to the target database and the recovery catalog, place the database in a mounted state:
    STARTUP FORCE MOUNT
    Restore and recover the database.
    For example, you can perform incomplete recovery with the following commands:
    RESTORE DATABASE
    FROM TAG "consistent_whole_backup";
    RECOVER DATABASE NOREDO;
    Open the database with the RESETLOGS option.
    For example, enter the following command:
    ALTER DATABASE OPEN RESETLOGS;

  • Backup restore Boot Camp partitions by Disk Utilities

    Hello,
    I am new to MAC world and need to know about the backup & restore procedures of Boot Camp Partitions;
    I want to make a disk image of my FAT32 Partition like Acronis Ture Image or similars. ( in case of any problem i would able to restore my system without waisting time in reinstalling windows and other software programs etc on both MAC OS & Windows sides.)
    please guide me if it is possible by using Mac DISK UTILITIES or by some other programs.
    My Curent MAC Config are;
    MACBOOK pro 2.1
    2.33 Ghz core 2 Duo
    O.S. 10.4.9
    Boot Camp : Windows XP pro with SP2
    Thanks in advance
    MAC book   Mac OS X (10.4.9)   Boot camp with FAT32 using Windows XP Pro

    "need to know about the backup & restore procedures of Boot Camp Partitions; "
    Then you should post your question in the Boot Camp discussions:
    http://discussions.apple.com/forum.jspa?forumID=1165

  • Does Time Machine still do incremental backups after a restore?

    Hi --
    We have a 500GB external iomega drive that just died and I have been working to restore it's files from Time Machine onto a new 500 GB drive. I formatted the new drive and gave it the same name as the old one, and it looks like Time Machine was smart enough to do the right thing and restore the files to their original locations.
    However, this morning -- within 24 hours of completing the restore -- we see an error message from TM saying it is out of space and it cannot perform a backup. It claims that about 450 GB are needed, which is about the same size of all the files we restored. Is it possible that once backup files are restored they are not longer considered backed up, and thus Time Machine immediately tries to back up all the files it just restored? I assumed it would still do incremental backups but recognize that restored files do not need to be backed up again unless / until they are edited...
    Thanks,
    Ram on

    felciano wrote:
    Hi --
    We have a 500GB external iomega drive that just died and I have been working to restore it's files from Time Machine onto a new 500 GB drive. I formatted the new drive and gave it the same name as the old one, and it looks like Time Machine was smart enough to do the right thing and restore the files to their original locations.
    That's quite unusual. Normally it does a full backup immediately: http://support.apple.com/kb/TS1338
    See #C4 in [Time Machine - Troubleshooting|http://web.me.com/pondini/Time_Machine/Troubleshooting.html] (or use the link in *User Tips* at the top of this forum).

  • Restoring incremental backup in QAS_ECC6_Ora_10G_Unix

    Dear All,
    We have restored PRD data in QAS about 4 months back upto 2009. Now we wish to restore the production data for the months of Jan to Apri;2010 in QAS. We can not afford restoring PRD whole data in QAS as it is more than 1.5 TB and it will take at least 3 to 4 days. We have the incremental databackup for these months with us (RMAN backup). Even we do have archive logs for this period.
    Is it possible to apply archive logs in QAS (database open state), I believe we can not do this once we open the database.
    How to restore incremental backup in QAS?
    Thanks
    S@pm@n

    Hi,
    Is it possible to apply archive logs in QAS (database open state), I believe we can not do this once we open the database.
    Yes , you are right , you can not apply redo logs once database is open.
    For restoring incremental backup also you need 0 level database restore first(You can not restore incremental backup of PRD directly on QAS)  , so every case you need to restore almost 1.5TB of data.
    Regards,

  • I am trying to restore my catalog having previously done a back up to an external hard drive and subsequently an incremental backup. I am using Photoshop Elements 11 and the only option given in the restore procedure is to open a .tly file.

    I have done this but now the restore function is asking for yet another file, which i assume to be the original back up, but that is the only .tly file since the only other relevant file appears to be called catalog.buc but that is just not visible when using the restore function? How do I continue from here with this restoration of my catalog?

    Martin_Had a écrit:
    Thank you Andaleeb. I appear to have an old backup of a year ago, and a more recent full back up plus an incremental backup.
    Regrettably I don't really understand what is going on because firstly the restore does not complete its cycle so I cannot see what that backup file contains and secondly all I have read would suggest that the .tly file is the full backup and the catalog.buc file is the incremental backup. For the present, the catalog shows the photos for 2014 which makes me think I might have backed from the old back up file.
    I am minded to create another catalog and try again.
    Any views on what I can do?
    A backup (full or incremental) is a folder, not a file. It contains renamed pictures file copies as well a copies of the files and subfolders of the original catalog. The catalog.buc is a renamed copy of the database of your original catalog while the backup.tly. That backup.tly file contains the information to restore the renamed pictures where you decide, the original location or a new custom one. You can't do anything with the backup yourself, only the restore process can do the job if it finds the backup.tly file. In the case of an incremental backup, you have to tell the restore process where to find the incremental backup folder; it finds the backup.tly file in that folder and finds what is to restore there; then it asks you for the previous backup folder (in your case the full backup); you then browse to that full backup folder so that the restore process can find find the backup.tly there; the restore then deals with the rest of the files to restore.

  • Time Machine won't do incremental backups after I restored my computer

    I am using a macbook (2010 version) and operating Lion.  I had a problem with my Macbook where it wouldn't log on, even in safe mode, so I restored it using Timemachine.  Now that everything is back up and running well I want to keep backing up.  But Time Machine now says that there is not eneough space on the backup disk as it wants to back up the whole computer alongside the exisitng back up.  In short it will no longer do incremental backups on top of what has already been backed up.  I don't want to wipe my backup disk for fear that something might go wrong again and I may want to go back to a version earlier than the one I restored.  Is there anyway of getting round this problem?  It seems like a fairly serious problem.
    I would appreciate any help.

    ms364 wrote:
    I am using a macbook (2010 version) and operating Lion.  I had a problem with my Macbook where it wouldn't log on, even in safe mode, so I restored it using Timemachine.
    When you erased the disk, it got a new UUID (Universally Unique IDentifier), which is treated like a different drive, and Time Machine will back it up in it's entirety.
    Did you do a full system restore, starting from the Recovery HD?  If so, that should have left a "trail" so Time Machine should have automatically "associated" the restored disk with the existing backups.
    If you did it "piecemeal," though, via the "Star Wars" display, it won't (that doesn't leave the trail for TM to figure out what happened).
    You might be able to get it to do the association manually.  See #B6 in Time Machine - Troubleshooting.
    But Linc is right;  you apparently need a larger TM drive.  See #1 in Time Machine - Frequently Asked Questions.

  • Restoring a catalog from backup and incremental backups on external Hard drive

    Hello!
    I recently bought a new computer where I installed again Elements 8 (that's the one I'm currently using). From my old computer, I have an initial complete catalog backup which was saved in a folder (I called this folder "Complete catalog backup") on an external hard drive. I also made then subsequent incremental backups which were saved in different folders called "Incremental backup 1", "incremental backup 2" etc. on the same external hard drive. Apparently in Element, I discovered that incremental backups can't be saved in the same folder as initial complete backup!
    How should I proceed now to restore my catalog on my new computer? I know how to do it when one has only a complete initial catalog backup, but now I have also several incremental backups (contained in folders "incremental backup 1", "incremental backup 2" etc.), I just don't know how to proceed.
    Some help would be very much appreciated.
    Thanks a lot

    First and foremost: Forget re-importing. You would loose all your edits. Importing is strictly only for images that have never been imported before.
    The remedy for "missing" photos is to re-link them.
    In Lr / Grid View right-click the top-most folder in the folders panel. By "top-most" I mean the parent folders of all folders. If you have several parent folder right-click one of them.
    Then select <Find Missing Folder>, navigate to the corresponding folder on your new drive E and select it. Do this for every other parent folder. If the folder names and structure haven't changed Lr will find the sub-folders on its own.
    For more see here: http://www.computer-darkroom.com/lr2_find_folder/find-folder.htm

  • How to restore using increment backup after full backup restore in RMAN?

    Hi All,
    We have a files of full backup of database after turning on the Archive log.
    And after that, daily incremental backup is taken.
    Now, i want to restore the the database into a new machine using both files of full and incremental backups. Can anybody give me script for restore of full backup and after that restore of incremental backup?
    Thanks,
    Praveen.

    Praveen,
    >>
    In my case, i have 2 sets of backups. One is full backup and other is incremental backup. In order to keep the restored database upto date, i need to restore the full backup and then restore incremental backup. Now, i got any idea how to restore using full backup. My doubt is how to update the restored database with incremental backup also?
    >>
    Restore always looks for level 0 backup, not the incremental backups.
    Incremental backups comes in picture during recovery.
    During Recovery, Oracle looks for incremental backups, if exists, it will do the recovery with the incremental backups, if no incremental backups available, then, it will look for archived logs.
    Therefore, incremental backups never used during restore, they are used only during the recovery.
    Jaffar

  • RMAN - Incremental backup / NOARCHIVELOG / Restore & Recover Until Cancel

    I'm testing out a weekly plan as follows:
    Sun : Shutdown db, RMAN level 0 Incremental Backup
    Mon-Sat: Shutdown db, RMAN level 1 Incremental Backup.
    The database is NOARCHIVELOG mode and is 10.2 XE.
    I then run a restore (which I understand to be to move the datafiles from the backup set to their online location). My next aim is to do a recover.
    I'm really confused at this point. Say I take the backup the night before (either a level 0 or 1, I'm assuming that this makes no difference) then in the morning I drop a table accidentally. Okay - I want to go back to the position after the backup. When I do recover, I understand that Oracle applies redo logs written since the backup.
    So I don't want a recover, I want a recover until cancel. When I issue this command it is suggesting that I use an archive log file. Well obviously I don't have any of those so I press cancel thinking that this will bring me back to the point EXACTLY AFTER THE NIGHTLY BACKUP and with my table back. But it doesn't!
    I would be really grateful if anyone has a definitive answer to this - what are the steps to recover a database to the point after the backup was taken ignoring any changes since the backup.
    Thanks all.
    Tom.

    Hi Werner
    Do you mean if the online logs are available with the changes after the last backup until the database restore then there is a possibility to apply changes? Ie at this point I could put in the redo log names instead of the archive log names.
    If they have been overwritten since the backup (ie cycled round completely) then is the behaviour to restore the database and then not apply any logs?
    Do you know if this is documented anywhere? There seems to be an emphasis on ARCHIVELOG mode only, especially in the books I have seen.
    Thanks,
    Tom

Maybe you are looking for