SQL Server - SQLServer equivalent of Flashback
Asked By Abba
23-Feb-10 01:14 AM
Hello,
Oracle has a feature of 'flashback' for a tablespace. This means reverting
back to a snapshot taken on a earlier date. Is there any equivalent feature
in SQLServer? just curious....
tia,
AbbA
Oracle
(1)
Backup
(1)
Date
(1)
Database
(1)
HiThere
(1)
Flashback
(1)
Restores
(1)
Snpshot
(1)
jbellnewspost replied to Abba
Hi
There is always backup and restore! You can also take a snpshot and
revert to the time it was taken
http://msdn.microsoft.com/en-us/library/ms175158.aspx and there are
backup snapshots if you have the hardware support
http://msdn.microsoft.com/en-us/library/ms189548.aspx
John
jgurgul replied to Abba
Hi,
If you have enterprise edition you can look at piecemeal restores, which
will enable you to recover the filegroup etc:
http://msdn.microsoft.com/en-us/library/ms177425.aspx
There is also the option of taking database snapshot, which will give you a
readonly point in time instance of the database, which you could revert to,
or copy out data from:
http://msdn.microsoft.com/en-us/library/ms175876.aspx
if you dont have enterprise then you could:
1. Use a backup to retrieve the data and copy it back in
2. Use scripts to repopulate
3. use a 3rd party tool (which could compare with another db, and script
changes. or perhaps a log reader to reconstruct lost data.)
Jon

SP4. I built a large DTS package that grabs a number of tables from an Oracle DB, does some scrubbing, updates, and date verification and loads to a SQL Server DB. Most of the tables are full refresh find ways to not require such a large log file. I tried adding a few "BACKUP LOG DwLoadAreaSQL WITH TRUNCATE_ONLY" statements in the DTS package but figured out that because it the issue. Any Ideas? Thanks. SQL Server DTS Discussions SQL Server 2000 (1) DwLoadAreaSQL (1) Oracle (1) Date (1) DwSQL (1) Database (1) Gigs (1) Grabs (1) Change the database model to SIMPLE so that you don't bother with log files. You can always re-grab the ORACLE data and re-run your process if you experience any sort of problem for which SP4. I built a large DTS package that grabs a number of tables from an Oracle DB, does some scrubbing, updates, and date verification and
itself within that established file size recommendations ???? thanks SQL Server Setup Discussions SQL Server (1) Oracle (1) Catalog (1) Backup (1) Desc (1) Disk (1) Database (1) DatabaseName (1) Dan, If a database is in FULL recovery model, in addition to doing a BACKUP DATABASE it is also necessary to BACKUP LOG for that database. Only the backup of the transaction log will free log space for reuse. (Maybe this is being done a minimum of daily up to every few minutes. It may be that your log backup is running, but during the nightly exports will need to run more frequently. In your reference: http: / / www.karaszi.com / sqlserver / info_dont_shrink.asp RLF Russell thanksfor the reply, The only backup that I am aware of is our complete server backup (We user ARCSERVE from CA) that is run each night. . . . . . so any type of "backup
TIA, Still-learning Steve SQL Server Programming Discussions SQL Server (1) MySQL (1) PowerPoint (1) Oracle (1) Linux (1) Perl (1) CREATE INDEX (1) Distributed (1) Perhaps a grouping / max setup Learning Steve Thinking In Sets was written by Joe Celko. If you know the names Date and Codd you should know who you are addressing: Joe Celko. - - Daniel A. Morgan Oracle Ace Director & Instructor University of Washington damorgan@x.washington.edu (replace x with u to respond) Puget Sound Oracle Users Group www.psoug.org Not a name I am familiar with. But at least com / search?hl = en&q = %22Wikipedia%22+and+%22Joe+Celko%22&btnG = Google+Search - - Daniel A. Morgan Oracle Ace Director & Instructor University of Washington damorgan@x.washington.edu (replace x with u to respond) Puget Sound Oracle Users Group www.psoug.org Not necessarily. There are a lot of top notch programmers course you are correct. There are top notch programmers that don't know who Chris Date is. There are top notch programmers that don't know who Dennis Ritchie and Ray put the names of those "top notch" programmers on a 3x5 card. - - Daniel A. Morgan Oracle Ace Director & Instructor University of Washington damorgan@x.washington.edu (replace x with u to
Requesting Backup / Restore Theory Explanation SQL Server MSSQL backups are odd in that the data and transaction logs are two different backup operations it seems. Normally, when a backup is performed, the data and log file can be archived at exactly the same time the live area or its mirror is exported to an SQL file, and the previous backup data and transaction file is moved to the live area, and the SQL file is more clumsy? I'm trying to put together some TSQL for MSSQL 2008 Express for backup, restore to last backup, and restore from failure using a roll-forward from last backup. There is no clear explanation of the backup theory in the docs. It talks about simple, full, restoring the data, and tails, but