Best way to back out data changes after a release

Hi,
I'm trying to decide on the best way to backup some production data in case a release fails and we need to roll back the changes. This would be for data updates only, not schema changes. We have extremely limited access to production, and another team handles all the RMAN backups. The people who actually implement our releases are also pretty prone to mistakes.
I have thought of two options. The tables we want to backup are about 9 MB total in size (it's about 10 codes tables).
1. Create a bu table for each of the tables before the release. So for JENNSTABLE, we would create a JENNSTABLE_BU using CTAS. If we need to revert, we can drop JENNSTABLE and rename the JENNSTABLE_BU accordingly. The bu table would remain in production until the next release, where it would be reused again. This would be really easy to script and therefore avoid any mistakes by the production support team who implements our instructions. We would also be able to determine what values changed by querying the bu table at any time (currently old values are not retained anywhere).
2. Use datapump to export the 10 tables, then truncate the tables and import the previously created files to restore the original data. I'm hesitant to use this method because I've never used datapump before, and as we don't have access to the servers, creating file system files makes me a little nervous. If I used a bu table, I can logon to the database and at least tell if it exists.
Are there any preferred methods for doing this (besides restoring a table w/ RMAN)? Is there a best practice? Any advice is appreciated!
-Jenn
Oracle 10g
UNIX Solaris

Hi sb92075,
That's a good suggestion. FLASHBACK_ON is set to no on my database, but if I understand correctly, I can still do a FLASHBACK TABLE and the undo data would be used. Is that correct?
My concerns w/ using Flashback are ..
1) The client might decide to rollback the changes a week after they've been executed. The undo data might not be available and the flashback would fail.
2) If any of the following processes are part of the release, the flashback wouldn't work:
"The following DDL operations change the structure of a table, so that you cannot subsequently use the TO SCN or TO TIMESTAMP clause to flash the table back to a time preceding the operation: upgrading, moving, or truncating a table; adding a constraint to a table, adding a table to a cluster; modifying or dropping a column; adding, dropping, merging, splitting, coalescing, or truncating a partition or subpartition (with the exception of adding a range partition)."
Can you address those two issues? Thanks so much for taking the time to respond! This forum has helped me immensely with my work.
-Jenn

Similar Messages

  • I am giving away a computer, what is the best way to wipe out data prior to depature

    i am giving away a computer, what is the best way to wipe out data prior to depature

    Did the Mac come with two grey disks when new? If so, use disk one to erase the drive using Disk Utility and then re-install the OS from the same disk. Once installed, quit and when the new owner boots they can set it up as a new out-of-the-box Mac when they boot it up. The grey disks need to be passed on with the computer.
    If you need detailed instructions on how to erase and re-install please post back.
    If the Mac came with Lion or Mountain Lion installed the above process can be done using the Recovery HD as since Lion no restore disks are supplied with the Mac.
    The terms of the licence state that a Mac should be sold/passed on with the OS installed that was on the machine when new (or words to that effect).

  • Best way to Back up data from Windows PC to my Mac?

    What is the best way that I can connect my Mac to one of my friends PCs so that I can back up his personal data then reinstall his OS?

    That's going to be really tough without a spare HD for the Mac... but then you could just hook that to the PC for faster backup.
    http://www.microsoft.com/windowsxp/using/setup/learnmore/bott_03july14.mspx
    But I should question why you want to back it up then restore it... is it infected or something? Normally you'd erase everything and Install anew to get rid of problems... if you don't have previous Restore Points set, (which doesn't work 100% either btw).

  • Best way to back up data

    I have a MBP and a LaCie drive. I also have Carbon Copy Cloner. I'm wondering what the best way for me to do daily or weekly back ups of my data is.
    I currently have a bootable copy of my drive on the LaCie, from about a month ago. When I tried to do an incremental back up, with CCC, it warned me that there was a different version of OSX on the LaCie (probably because of software updates in the past month?)
    So, not sure what to do. I'm looking for suggestions on the best, easiest way to do daily or weekly back ups
    thanks in advance

    Just update the clone, that's just a warning your replacing a older version with a newer one.
    People tend to keep older clones of their OS laying around just in case a OS X update is broken or breaks one of their programs.
    So CCC informs the user that they are possibly going to overwrite that perhaps precious older version with a new version.
    OS X doesn't have a "System Restore" function where one can roll back to a earlier state of their boot drive like Windows does. So people use clones to do that.
    It's always good to keep two clones, but now with this notification there is less need to have two clones.
    As you know, you can hold option while booting to boot off the clone if you ever need too.
    Also CCC has auto-update ability if you leave the drive connected. With a laptop this can be a chore.
    You can use a additional product from Apple called a TimeCapsule, which backups up via WiFi periodically.
    As always though, maintain multiple backup strageties on seperate pieces of hardware.
    Automation is great, but if your automated backup gets nailed with the same issue as your boot drive, your screwed.
    The advantage of cloning manually is you do it when you know you got a pristine and perfectly working system.
    I rotate two clones about two week apart, it's saved me countless times.

  • What is the best way to back up data on an older MacBook?

    My MacBook is about 5 years old.  It is still working just find and intend to use it until it crashes.  What is the easiest and most inexpenisve way to back up all of my pictures/music/data so that I don't lose it when that day comes?

    Time Machine. It's already included with Leopard.
    Buy an external hard disk and plug it in, Time Machine does the rest.
    The least expensive option is to find a Windows PC discarded due to viruses and harvest its HD. Purchase an inexpensive USB enclosure, install the HD, format it with Disk Utility. Your total investment is $20 for the enclosure plus a little time.

  • What's the best way to back-up data before transfering between PS3 systems?

    I know the basic proccess of how to transfer files between PS3s, but I'd like to be able to back-up my files first, just in case. Any tips would be appreciated.

    Hello Scott,
    Welcome to Sony Community.
    This Community is for Sony Consumer Electronics and Sony Vaio products.
    Join the official PlayStation Community Forums to talk about PSN, PS3, PSP and NGP systems & games & get help, tips & news.
     Join PlayStation discussions in the PlayStation Forum:
    http://community.us.playstation.com
    Regards,
    Colby

  • What is the best way to back up my imac

    I am new to using an imac and wondered what is the best way to back the data up? Can I back it up to the cloud and if so how do I do this?

    The first response pretty much covers it.  Time Machine is a great backup for restoring individual files or folders.  It can also be used as a full system restore, but you cannot boot from a TM backup and run the computer from it.  You can do that from a clone, which can be useful should your hard drive fail utterly.
    I have a TM backup on one external drive, and I use bus powered portable external drives for clones.  I like thes as I can keep one offsite, and another one stays at home, but is in the firesafe except when being updated.
    The two main cloning apps are Shirt Pocket Software's SuperDuper, and Bombich softeware's CarbonCopyCloner, both very reasonably priced.  Note that CCC will work over a network, while SuperDuper will not - other than that they have very similar features, including automatic update scheduling.
    http://www.shirt-pocket.com/SuperDuper/SuperDuperDescription.html
    http://www.bombich.com/
    Of course you can buy drives at all sorts of places (Amazon, Newegg, TigerDirect,...) but a good place that services Apple computer users specifically is Other World Computing (http://www.macsales.com/) who also sell some very good quality drives and external enclosures.

  • Best way to  back up your data

    Which is the fastest and best way to back up your data in case of any problem ? Still to transfer to an external HD ?
    Thanks

    Hi Ferro;
    Best and simplest way to back up is Time Machine to an external drive.
    I think that any backup plan should alway be to an external drive. If you backup to an internal drive and the Mac fails, what good is your backup then?
    Allan

  • What is the best way to export the data out of BW into a flat file on the S

    Hi All,
    We are BW 7.01 (EHP 1, Service Pack Level 7).
    As part of our BW project scope for our current release, we will be developing certain reports in BW, and for certain reports, the existing legacy reporting system based out of MS Access and the old version of Business Objects Release 2 would be used, with the needed data supplied from the BW system.
    What is the best way to export the data out of BW into a flat file on the Server on regular intervals using a process chain?
    Thanks in advance,
    - Shashi

    Hello Shashi,
    some comments:
    1) An "open hub license" is required for all processes that extract data from BW to a non-SAP system (including APD). Please check with your SAP Account Executive for details.
    2) The limitation of 16 key fields is only valid when using open hub for extracting to a DB table. There's no such limitation when writing files.
    3) Open hub is the recommended solution since it's the easiest to implement, no programming is required, and you don't have to worry much about scaling with higher data volumes (APD and CRM BAPI are quite different in all of these aspects).
    For completeness, here's the most recent documentation which also lists other options:
    http://help.sap.com/saphelp_nw73/helpdata/en/0a/0212b4335542a5ae2ecf9a51fbfc96/frameset.htm
    Regards,
    Marc
    SAP Customer Solution Adoption (CSA)

  • HT4859 Is there a way to clear out data that was previously backed up on iCloud to make room ?

    Is there a way to clear out data that was previously backed up on iCloud to make room ?

    Welcome to the Apple Community.
    Settings > iCloud > storage & Backup > Manage...., swipe to delete.

  • What's the best way to back up laptop?

    Hi all,
    This is probably a dumb question, but I'm going to ask it anyway. What's the best way to back up a laptop: hooking up a hard drive manually, or via WiFi?
    In the past, I've just hooked up a hard drive to my MacBook Pro, and manually synced it with Time Machine. But, of course, sometimes I'm busy and I don't get around to doing that as faithfully as I should. So, I'm thinking of hooking up a hard drive to my AirPort so that my laptop will automatically sync over WiFi whenever I'm home.
    Before I do that, however, two questions:
    1) Is that easier to do than the way I'm currently backing up? Or are there problems with that route that I'm not foreseeing right now? How do you all back up your laptops?
    2) I also have a Mac Pro on my network at home. Will I have a problem with my Mac Pro seeing the WiFi "Time Machine" hard drive and wanting to back up to it, rather than the Time Machine hard drive I already have physically hooked up to it?
    Thanks for your advice!

    learn about backups VS. archives, and data protection:
    Methodology to protect your data. Backups vs. Archives. Long-term data protection
    excerpt:
    Four words: "compartmentalized autonomous redundancy of data" or C.A.R.D. What this means regarding your data is “centralize it, isolate it, and multiply it”. This easy acronym to remember about how to approach your data is a great first approach to keep in mind.
    Compartmentalized: separating out your data from your system files, centralizing all static and active files into a location or two to make backups, and archived data easier to update and locate. Centralizing your data collection is the primary hazard to overcome for what usually is the case of data that is scattered everywhere throughout your internal hard drive.
    Autonomous: Isolation of data from changes, theft, decentralizing data to safes, fire boxes, offsite and online locations. Importantly ‘freezing’ data onto independent storage media for protection and from alterations, such as DVDs, hard drives, and online encrypted files, or .DMG created files of static data collections.
    Redundancy: making copies of all autonomous isolated data such that data is decentralized not only in place and in media storage type (DVD, HD, online) for safety and protection as a failsafe, but each aspect of that failsafe has at the very least two redundant copies.
    Data: all files made, saved, created, modified or working on. Important pictures, documents, videos, PDF, financial, personal. Any data large or small which you would not dare lose, which is private, important, hard or impossible to recreate, or most importantly, would take tremendous time to regenerate. Essentially anything important to you, your company, your loved ones (will, medical records, financial information, etc.), friends or otherwise.

  • Best way to clean all data n8

    hello, can anyone please tell me whats d best way to clean out all data - phone numbers, photos, videos maps, apps all from d from my n8, i have backed up necessory info usin ovi sync, i just want a clean fresh start with d phone is too full
    Solved!
    Go to Solution.

    Enter *#7370# followed by the security code which is 12345 by default. You must have a SIM inserted for this to work I believe (been a while).
    This will erase all data and restore settings to factory defaults.
    Click on the blue Star Icon below if my advice has helped you or press the 'Accept As Solution' link if I solved your problem..

  • Advice on best way to back up

    Hey I currently have an imac with 750gb and have gone over that so also have a 1TB WD external for extra stuff but Id like to back everything up using time machine - for this I have a 1TB Time Capsule and plugged into that I have a 250gb WD external drive - now obviously can only back up the first 1TB onto the time capsule so then what is the best way to back up the rest to the 250?
    Any advice would be appreciated, cheers

    Several comments.
    Time Machine will backup an entire system (subject to exclusions you choose) to a single Time Capsule drive.
    In your setup Time Capsule will be configured backup up to either the 250GB device (a non-starter) or the TC's 1GB drive.
    A rule of thumb for Time Machine is to have twice the storage on the backup drive as the the storage used on the source device to allow it to accumulate the historical backups. It is quite efficient but the space used does grow and how fast depends very much on what you are backing up - how frequently things change and how much 'turnover' there is in your files.
    Depending on how much of the 750GB internal and 1TB external is actually used you may out of luck using just Time Machine.
    At the moment your maximum capacity of sources far exceeds the maximum capacity of backup destinations.

  • Best Way to Back Up iMovie?

    What's the best way to back up iMovie? Copy the entire folder to an external hard drive? Or just the application itself? Someone at the Apple Store said that with newer iPhoto and iMovie you just copy the application itself and that includes all your data. Is that correct?
    Thanks.

    If you projects and events are on the internal drive, you will need to back up the Movies/iMovie Projects folder and the Movies/iMovie Events folder.
    You can either do this through Apple's Time Machine or by simply copying the files. Time Machine is good because it is automatic.
    If you projects and events are on an external drive, you need to back up the iMovie Projects folder and the iMovie Events folder on the external drive.
    If you create camera archives when importing, be sure to back up your archive files as well.
    Video Event files get very large, so it can take a lot of storage space to back them up.
    There are two reasons to back up...
    1) To protect against hard drive crash
    2) To protect against disaster like fire or theft.
    Time Machine is great for number one. For #2, you need storage off-site.
    For #2, I use Crashplan so I have automated backup to an external site.
    Currently, I backup my projects and archives to Crashplan, and will recreate my events from the archives in the event of a disaster. However, there are several events which I do back up to CrashPlan because they are from older tape cameras that I do not have an archive for. Crashplan automatically updates over the internet. Because video files are so large, I used their service which lets you send them your initial 1TB upload on a hard drive. Then subsequent incremental changes are done online.

  • Which is best way to back an iMac?

    Which is best way to back an iMac? I have lots of photos and videos on my iMac TIme Capsule or hard drive. I would like to take photos and videos off my iMac but would easy access to them.

    steve359 wrote:
    CCC stores a "base image", then its incremental backups are stores in separate folders that you would have to search for specific files.  If different files were "last changed" on different days, you may have to search different days "incremental folders" to get all files.
    Because of this CCC is "managed" ... you cannot fully control how backups are made or where files are stored.  And TimeMachine eventually deletes "incremental folders" as they get too old, so it is "managed" as well.
    If you have full sets of files you want saved "as a specificslly formatted set", I would do it in another eternal drive that *I* manage as a set of folders.
    This is totally 100% incorrect. What you described here is more or less Time Machine, not CCC.  CCC is a standard backup program.  It does not, I repeat, NOT, create incremental dated backups.  While you can save what gets replaced by date archived directories that is not the intent of CCC.  It's intent is to have a exact disk image, folder-for-folder, file-for-file, of the source.  Under option it just stuffs the files it replaces in a folder.
    And you switch what your are taking about halfway through your post to TM.

Maybe you are looking for

  • Multiple reconcillation accounts for same vendor

    All SAP Gurus, Is it possible to have Multiple reconcillation accounts for same vendor code (where purchasing org and company code is same)? Regards,

  • Navigation on measure heading in pivot view

    i have a question that, i want to navigate to another report if i click on column heading of measure.(for ex: region, dollars are the columns and if i select on dollars heading, need to navigate to another report specified.) My report was developed u

  • Criterion of automatic clearing

    Hi, i want to define criterion of automatic clearing (F.13) for some accounts, but i have these questions : can i clear (with F.13) <b>one document type ST</b> whith <b>three documents DZ</b> when i receive three partials payments <u>example :</u> cr

  • Your pdf coverter product does not work as you promised

    no discussion to it, I bought the pdf converter program it does not do as advertised

  • Help needed with achieving desired effect on photoshop

    Hi all, I have some experience with photoshop but haven't been able to achieve the right effect. My plan is to substitute the face in the image with a photo of my own with the same effect. I've been playing around with the artistic cutout filter and