Tuesday, March 27, 2012
Backup SQL2000 on EMC
one of my customers is going to use SQL2000 on existing EMC Clariion 4700.
They're using EMC SnapView for filesystem backup together with Veritas
NetBackup.
They won't use the SQL Integration Modules for SnapView so there is the
question of backing up the databases. Is there any other way to backup the
databases while using the SnapView functionality - and keeping SQL2000
services running?
Any help would be appreciated...
Wolfgang
"wso" <wso@.discussions.microsoft.com> wrote in message
news:748B28E5-9172-4AAB-877B-195AB1EFC035@.microsoft.com...
> Hi all,
> one of my customers is going to use SQL2000 on existing EMC Clariion 4700.
> They're using EMC SnapView for filesystem backup together with Veritas
> NetBackup.
> They won't use the SQL Integration Modules for SnapView so there is the
> question of backing up the databases. Is there any other way to backup the
> databases while using the SnapView functionality - and keeping SQL2000
> services running?
> Any help would be appreciated...
> Wolfgang
The data and log files are kept open and active while SQL Server is running.
I am assuming that Snap View won't touch them in this state.
The quick and easy solution is to schedule a regular SQL Server job to
perform SQL based backups to disk. Once the backup is complete, the backup
files are closed and Snap View can collect them (or Veritas for that
matter).
It's sort of doing double duty, but it does give you some flexibility.
Rick Sawtell
MCT, MCSD, MCDBA
|||Your only problem is that you might get torn pages and/or log file
fragments, especially if you are storing data and logs on different LUNS
mapped to different physical disks. I suggest testing the backups heavily,
especially where you take backups under heavy load. I suspect that there
will be a fairly high failure rate. They may have this feature now, but
when I was looking, they couldn't synchronize multiple LUNs for a snapshot,
thus rendering the backups unreliable.
I don't even bother with Snapview. I do SQL-level backups to a separate
network file share (non-SAN based) and then spin those to tape to get an
archive history. The extra storage is far cheaper than the Snapview license
for a large SAN.
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"wso" <wso@.discussions.microsoft.com> wrote in message
news:748B28E5-9172-4AAB-877B-195AB1EFC035@.microsoft.com...
> Hi all,
> one of my customers is going to use SQL2000 on existing EMC Clariion 4700.
> They're using EMC SnapView for filesystem backup together with Veritas
> NetBackup.
> They won't use the SQL Integration Modules for SnapView so there is the
> question of backing up the databases. Is there any other way to backup the
> databases while using the SnapView functionality - and keeping SQL2000
> services running?
> Any help would be appreciated...
> Wolfgang
|||Hello Geoff,
I was wondering if you can help me with the SAN/SQL Cluster backup question?
We have 3-Node (2 Virtual Instances with Standby) Cluster and one dedicated
LUN (Raid 5) for online backup.
Question1:
I think we need to expose the BACKUP LUN to each HOSTS? so SQL server backup
job can backup database on that LUN
Question2:
Once we expose that LUN to SQL CLuster Nodes the HOST will have full control
and how the backup wil work on second virtual host?
May be you can tell me what is the BEST practices of SAN/SQL Server backup
solutions. Just so you know we are trying to AVOID using the LAN (performance
etc.) and thereofore will also have dedicated backup server for TAPE backup...
Thanks.
Kamal Hassan
"Geoff N. Hiten" wrote:
> Your only problem is that you might get torn pages and/or log file
> fragments, especially if you are storing data and logs on different LUNS
> mapped to different physical disks. I suggest testing the backups heavily,
> especially where you take backups under heavy load. I suspect that there
> will be a fairly high failure rate. They may have this feature now, but
> when I was looking, they couldn't synchronize multiple LUNs for a snapshot,
> thus rendering the backups unreliable.
> I don't even bother with Snapview. I do SQL-level backups to a separate
> network file share (non-SAN based) and then spin those to tape to get an
> archive history. The extra storage is far cheaper than the Snapview license
> for a large SAN.
> --
> Geoff N. Hiten
> Microsoft SQL Server MVP
> Senior Database Administrator
> Careerbuilder.com
> I support the Professional Association for SQL Server
> www.sqlpass.org
> "wso" <wso@.discussions.microsoft.com> wrote in message
> news:748B28E5-9172-4AAB-877B-195AB1EFC035@.microsoft.com...
>
>
Backup SQL2000 on EMC
one of my customers is going to use SQL2000 on existing EMC Clariion 4700.
They're using EMC SnapView for filesystem backup together with Veritas
NetBackup.
They won't use the SQL Integration Modules for SnapView so there is the
question of backing up the databases. Is there any other way to backup the
databases while using the SnapView functionality - and keeping SQL2000
services running?
Any help would be appreciated...
Wolfgang"wso" <wso@.discussions.microsoft.com> wrote in message
news:748B28E5-9172-4AAB-877B-195AB1EFC035@.microsoft.com...
> Hi all,
> one of my customers is going to use SQL2000 on existing EMC Clariion 4700.
> They're using EMC SnapView for filesystem backup together with Veritas
> NetBackup.
> They won't use the SQL Integration Modules for SnapView so there is the
> question of backing up the databases. Is there any other way to backup the
> databases while using the SnapView functionality - and keeping SQL2000
> services running?
> Any help would be appreciated...
> Wolfgang
The data and log files are kept open and active while SQL Server is running.
I am assuming that Snap View won't touch them in this state.
The quick and easy solution is to schedule a regular SQL Server job to
perform SQL based backups to disk. Once the backup is complete, the backup
files are closed and Snap View can collect them (or Veritas for that
matter).
It's sort of doing double duty, but it does give you some flexibility.
Rick Sawtell
MCT, MCSD, MCDBA|||Your only problem is that you might get torn pages and/or log file
fragments, especially if you are storing data and logs on different LUNS
mapped to different physical disks. I suggest testing the backups heavily,
especially where you take backups under heavy load. I suspect that there
will be a fairly high failure rate. They may have this feature now, but
when I was looking, they couldn't synchronize multiple LUNs for a snapshot,
thus rendering the backups unreliable.
I don't even bother with Snapview. I do SQL-level backups to a separate
network file share (non-SAN based) and then spin those to tape to get an
archive history. The extra storage is far cheaper than the Snapview license
for a large SAN.
--
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"wso" <wso@.discussions.microsoft.com> wrote in message
news:748B28E5-9172-4AAB-877B-195AB1EFC035@.microsoft.com...
> Hi all,
> one of my customers is going to use SQL2000 on existing EMC Clariion 4700.
> They're using EMC SnapView for filesystem backup together with Veritas
> NetBackup.
> They won't use the SQL Integration Modules for SnapView so there is the
> question of backing up the databases. Is there any other way to backup the
> databases while using the SnapView functionality - and keeping SQL2000
> services running?
> Any help would be appreciated...
> Wolfgang|||Hello Geoff,
I was wondering if you can help me with the SAN/SQL Cluster backup question?
We have 3-Node (2 Virtual Instances with Standby) Cluster and one dedicated
LUN (Raid 5) for online backup.
Question1:
I think we need to expose the BACKUP LUN to each HOSTS? so SQL server backup
job can backup database on that LUN
Question2:
Once we expose that LUN to SQL CLuster Nodes the HOST will have full control
and how the backup wil work on second virtual host?
May be you can tell me what is the BEST practices of SAN/SQL Server backup
solutions. Just so you know we are trying to AVOID using the LAN (performance
etc.) and thereofore will also have dedicated backup server for TAPE backup...
Thanks.
Kamal Hassan
"Geoff N. Hiten" wrote:
> Your only problem is that you might get torn pages and/or log file
> fragments, especially if you are storing data and logs on different LUNS
> mapped to different physical disks. I suggest testing the backups heavily,
> especially where you take backups under heavy load. I suspect that there
> will be a fairly high failure rate. They may have this feature now, but
> when I was looking, they couldn't synchronize multiple LUNs for a snapshot,
> thus rendering the backups unreliable.
> I don't even bother with Snapview. I do SQL-level backups to a separate
> network file share (non-SAN based) and then spin those to tape to get an
> archive history. The extra storage is far cheaper than the Snapview license
> for a large SAN.
> --
> Geoff N. Hiten
> Microsoft SQL Server MVP
> Senior Database Administrator
> Careerbuilder.com
> I support the Professional Association for SQL Server
> www.sqlpass.org
> "wso" <wso@.discussions.microsoft.com> wrote in message
> news:748B28E5-9172-4AAB-877B-195AB1EFC035@.microsoft.com...
> > Hi all,
> >
> > one of my customers is going to use SQL2000 on existing EMC Clariion 4700.
> > They're using EMC SnapView for filesystem backup together with Veritas
> > NetBackup.
> > They won't use the SQL Integration Modules for SnapView so there is the
> > question of backing up the databases. Is there any other way to backup the
> > databases while using the SnapView functionality - and keeping SQL2000
> > services running?
> >
> > Any help would be appreciated...
> > Wolfgang
>
>
Sunday, March 25, 2012
Backup Slow Throughput
Hi Team,
I have a SQL 2000 instance with 46 Databases (all databases put together will be 15 GB in size). I am running a SQL Backup using a third party software.
My full backup of the SQL instance which backs up 15 GB of data finishes within 30-45 minutes. But, my differential backup of the same instance which backs up only 150 -250 MB of data takes 12 hours to backup.
I found a knowledge article from MS Support site which says, differntial backup would take more time than full in few scenarios.
http://support.microsoft.com/default.aspx?scid=kb;en-us;196658
But the above document is for SQL 7.0. Will it be the same for SQL 2000 and 2005 too? If yes, can you please tell if I can increase the speed of differential backup in my environment. Should I modify any SQL Parameters?
Please let me know your thoughts on this..
Thanks
Santhosh
This really doesn't make sense.
The codepath for differential backups is the same as for fulls. The only difference is that in differential backups, we optionally skip writing some pages to the backup stream. The test to see if we should skip a page is very fast. Generally, worst case for differential backups is that they take the same time as a full backup.
Is there perhaps some other backup activity going on at the same time which could be causing lock contention?
If not, you can try starting SQL with traceflags 3605 and 3004 and sending the log to us (kevin.farlee@.microsoft.com). Those flags will cause more verbose logging about the backup process.
|||"starting SQL with traceflags 3605 and 3004" - Can you be more specific on how to start SQL with trace flags.
I have not done this before. Also , it would be great if you could say what are we going to achieve by starting SQL with traceflags 3605 and 3004 .
Thank you,
Santhosh
|||You can enable the trace flags with the command:
DBCC TRACEON(3004, 3605, -1)
What this does is to cause SQL to log much more detailed information about the backup process in the SQL log.
This information will help us to determine what is happening.
After collecting this information, you can use the command
DBCC TRACEOFF(3004, 3605, -1)
to disable the trace flags and go back to normal logging.