I am not an MCDBA, so there are likely many things that I do that are not technically correct, but work well enough to get the job done. I am a developer on a database project without a proper DBA position, so I get to play that role.
The following happened, and I suppose it is a sign that my understanding of how backup/recovery processes on MS SQL Server 2k work is not accurate, so I was hoping the experts here could set me straight.
1) I go to Enterprise Manager, right click on a database (call it DatabaseA), select AllTasks->Backup Database...
2) I do a complete backup and append over to the existing backup file for that database
In my mind, that means that as of that backup, I am taking a complete backup, and tacking it on to a series of other complete backups that I have done in the past. Day1, Day4, Day20, whatever, they are all there, but separate from each other.
Then I go to restore a backup into a new or existing database to use it as a test, say DatabaseB.
1) right-click on DatabaseB (assuming it already exists), select All Tasks-> Restore Database...
2) select to restore as DatabaseB, but restore from DatabaseA backups
When I do this, I get a copy of the most recent backup of DatabaseA, and it works great.
But yesterday, I wanted to restore a backup from several weeks ago.
So I did the restore, but in the list of possible backup sets to use, I unchecked everything but an older date and then ran the restore.
No matter what I selected, it would give me the most recent backup - data from that day that I had just backed up. But I didn't want that and wanted a copy of the database from a few weeks ago - which showed up in the list of appended complete backups.
I even deleted DatabaseB and created it new and then restored into it in that way - still had the newest data.
Can someone please explain to me how I am wrong and what I can do to get the desired effect of older data?
Do I need to not do an append, and instead go out to separate files for each backup, if I want to later recover to that point?
Thank you
The following happened, and I suppose it is a sign that my understanding of how backup/recovery processes on MS SQL Server 2k work is not accurate, so I was hoping the experts here could set me straight.
1) I go to Enterprise Manager, right click on a database (call it DatabaseA), select AllTasks->Backup Database...
2) I do a complete backup and append over to the existing backup file for that database
In my mind, that means that as of that backup, I am taking a complete backup, and tacking it on to a series of other complete backups that I have done in the past. Day1, Day4, Day20, whatever, they are all there, but separate from each other.
Then I go to restore a backup into a new or existing database to use it as a test, say DatabaseB.
1) right-click on DatabaseB (assuming it already exists), select All Tasks-> Restore Database...
2) select to restore as DatabaseB, but restore from DatabaseA backups
When I do this, I get a copy of the most recent backup of DatabaseA, and it works great.
But yesterday, I wanted to restore a backup from several weeks ago.
So I did the restore, but in the list of possible backup sets to use, I unchecked everything but an older date and then ran the restore.
No matter what I selected, it would give me the most recent backup - data from that day that I had just backed up. But I didn't want that and wanted a copy of the database from a few weeks ago - which showed up in the list of appended complete backups.
I even deleted DatabaseB and created it new and then restored into it in that way - still had the newest data.
Can someone please explain to me how I am wrong and what I can do to get the desired effect of older data?
Do I need to not do an append, and instead go out to separate files for each backup, if I want to later recover to that point?
Thank you