Showing posts with label tape. Show all posts
Showing posts with label tape. Show all posts

Thursday, March 8, 2012

Backup-to-file SQL2k Question/NT Tape Backups

Dear All,
Hello!
Now that I am running a maintenance backup-to-file from
within SQL2K, should I just be backing up these
backup-to-file to an NT backup job? Or should I also be
backing up the live databases & their transact logs?
Thanks!
CarlosNormal practice would be to backup the backup files from SQL to tape. If you
are taking regular SQL backups, there is no need to backup the actual
database files themselves (which would require stopping SQL anyway as they
are always in use)
--
HTH
Jasper Smith (SQL Server MVP)
I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org
"Carlos" <anonymous@.discussions.microsoft.com> wrote in message
news:10ef101c3f49b$fb627db0$a001280a@.phx.gbl...
> Dear All,
> Hello!
> Now that I am running a maintenance backup-to-file from
> within SQL2K, should I just be backing up these
> backup-to-file to an NT backup job? Or should I also be
> backing up the live databases & their transact logs?
> Thanks!
> Carlos
>|||You don't have to backup the mdf, ndf and ldf files if you let SQL Server do
database and possibly transaction log backup to disk and then backup those
files to tape.
--
Tibor Karaszi, SQL Server MVP
Archive at:
http://groups.google.com/groups?oi=djq&as_ugroup=microsoft.public.sqlserver
"Carlos" <anonymous@.discussions.microsoft.com> wrote in message
news:10ef101c3f49b$fb627db0$a001280a@.phx.gbl...
> Dear All,
> Hello!
> Now that I am running a maintenance backup-to-file from
> within SQL2K, should I just be backing up these
> backup-to-file to an NT backup job? Or should I also be
> backing up the live databases & their transact logs?
> Thanks!
> Carlos
>

Backup-to-file SQL2k Question/NT Tape Backups

Dear All,
Hello!
Now that I am running a maintenance backup-to-file from
within SQL2K, should I just be backing up these
backup-to-file to an NT backup job? Or should I also be
backing up the live databases & their transact logs?
Thanks!
CarlosNormal practice would be to backup the backup files from SQL to tape. If you
are taking regular SQL backups, there is no need to backup the actual
database files themselves (which would require stopping SQL anyway as they
are always in use)
HTH
Jasper Smith (SQL Server MVP)
I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org
"Carlos" <anonymous@.discussions.microsoft.com> wrote in message
news:10ef101c3f49b$fb627db0$a001280a@.phx
.gbl...
> Dear All,
> Hello!
> Now that I am running a maintenance backup-to-file from
> within SQL2K, should I just be backing up these
> backup-to-file to an NT backup job? Or should I also be
> backing up the live databases & their transact logs?
> Thanks!
> Carlos
>|||You don't have to backup the mdf, ndf and ldf files if you let SQL Server do
database and possibly transaction log backup to disk and then backup those
files to tape.
Tibor Karaszi, SQL Server MVP
Archive at:
http://groups.google.com/groups?oi=...ublic.sqlserver
"Carlos" <anonymous@.discussions.microsoft.com> wrote in message
news:10ef101c3f49b$fb627db0$a001280a@.phx
.gbl...
> Dear All,
> Hello!
> Now that I am running a maintenance backup-to-file from
> within SQL2K, should I just be backing up these
> backup-to-file to an NT backup job? Or should I also be
> backing up the live databases & their transact logs?
> Thanks!
> Carlos
>

Wednesday, March 7, 2012

Backups Best Practices

It looks like I have been presented with 2 options for backing up to tape.
1. Use veritas SQL Agent and back up the full every <blank> days and logs ev
ery <blank> days
2. Backup using native SQL agent to disk and using veritas to backup the BAK
files to tape every night.
Anyone have an opinion on which is best and why?I prefer native and than pick up the files to tape. Just be aware that you
have 24 hours potential loss of data of the local backup files are lost
before they are backed up to tape. I generally let the SQL backup copy the
files to another machine directly after the backup is takes, when possible.
Tibor Karaszi, SQL Server MVP
Archive at:
http://groups.google.com/groups?oi=...ublic.sqlserver
"mannie" <anonymous@.discussions.microsoft.com> wrote in message
news:A03011F7-A2F7-46F9-9E10-40EE2A695832@.microsoft.com...
> It looks like I have been presented with 2 options for backing up to tape.
> 1. Use veritas SQL Agent and back up the full every <blank> days and logs
every <blank> days
> 2. Backup using native SQL agent to disk and using veritas to backup the
BAK files to tape every night.
> Anyone have an opinion on which is best and why?|||I agree with Tibor. I prefer to not have to deal with the tape agents if I
can avoid it.
Andrew J. Kelly
SQL Server MVP
"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in
message news:u9hpqvW9DHA.1504@.TK2MSFTNGP12.phx.gbl...
> I prefer native and than pick up the files to tape. Just be aware that you
> have 24 hours potential loss of data of the local backup files are lost
> before they are backed up to tape. I generally let the SQL backup copy the
> files to another machine directly after the backup is takes, when
possible.
> --
> Tibor Karaszi, SQL Server MVP
> Archive at:
>
http://groups.google.com/groups?oi=...ublic.sqlserver
>
> "mannie" <anonymous@.discussions.microsoft.com> wrote in message
> news:A03011F7-A2F7-46F9-9E10-40EE2A695832@.microsoft.com...
tape.
logs
> every <blank> days
the
> BAK files to tape every night.
>|||Thanks for your input..
What is your reason for this preference?
Speed?
You are more comfortable with SQL native agent?
Reliability?
Frequency of backups required?
Are you trying to save I/O over the backup next work?
Any more areas you have to add to this list of things to consider?|||I agree with Tibor, except that I prefer to backup directly to the remote
file system using a unc name, so I don't to coordinate the file
copies...(although the backup itself will run slower and eat network
bandwidth.)
Wayne Snyder, MCDBA, SQL Server MVP
Computer Education Services Corporation (CESC), Charlotte, NC
www.computeredservices.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"mannie" <anonymous@.discussions.microsoft.com> wrote in message
news:A03011F7-A2F7-46F9-9E10-40EE2A695832@.microsoft.com...
> It looks like I have been presented with 2 options for backing up to tape.
> 1. Use veritas SQL Agent and back up the full every <blank> days and logs
every <blank> days
> 2. Backup using native SQL agent to disk and using veritas to backup the
BAK files to tape every night.
> Anyone have an opinion on which is best and why?|||For me it is simple: I prefer to not have my SQL Server data in the hands on
some 3:rd party vendor. Backup from SQL Server has been around for ages and
we all know that it work and how it work... :-)
Tibor Karaszi, SQL Server MVP
Archive at:
http://groups.google.com/groups?oi=...ublic.sqlserver
"mannie" <anonymous@.discussions.microsoft.com> wrote in message
news:E26131EA-B631-4482-A033-B6AD4215D0B9@.microsoft.com...
> Thanks for your input..
> What is your reason for this preference?
> Speed?
> You are more comfortable with SQL native agent?
> Reliability?
> Frequency of backups required?
> Are you trying to save I/O over the backup next work?
> Any more areas you have to add to this list of things to consider?|||I am with Wayne and Tibor on this one. SQL backups (using SQLLiteSpeed for
the really big databases) to a UNC share on another machine. I then have
daily, weekly and monthly rotations to tape with the monthly tapes removed
and archived.
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"Wayne Snyder" <wsnyder@.computeredservices.com> wrote in message
news:%23kaRt6W9DHA.2308@.TK2MSFTNGP11.phx.gbl...
> I agree with Tibor, except that I prefer to backup directly to the remote
> file system using a unc name, so I don't to coordinate the file
> copies...(although the backup itself will run slower and eat network
> bandwidth.)
> --
> Wayne Snyder, MCDBA, SQL Server MVP
> Computer Education Services Corporation (CESC), Charlotte, NC
> www.computeredservices.com
> (Please respond only to the newsgroups.)
> I support the Professional Association of SQL Server (PASS) and it's
> community of SQL Server professionals.
> www.sqlpass.org
>
> "mannie" <anonymous@.discussions.microsoft.com> wrote in message
> news:A03011F7-A2F7-46F9-9E10-40EE2A695832@.microsoft.com...
tape.
logs
> every <blank> days
the
> BAK files to tape every night.
>|||If you have a copy of the backup on a local machine (by local meaning
accessible by UNC) you can restore in the quickest possible time where as
with tape it may be a while to get the tape loaded etc.
Andrew J. Kelly
SQL Server MVP
"mannie" <anonymous@.discussions.microsoft.com> wrote in message
news:E26131EA-B631-4482-A033-B6AD4215D0B9@.microsoft.com...
> Thanks for your input..
> What is your reason for this preference?
> Speed?
> You are more comfortable with SQL native agent?
> Reliability?
> Frequency of backups required?
> Are you trying to save I/O over the backup next work?
> Any more areas you have to add to this list of things to consider?|||Also, some of the tape software components don't support all the backup and
restore options. Especially the WITH MOVE option specifying where each file
gets placed. This is especially important with very large databases where
you will have to spread the data out on multiple devices but you don't want
to overwrite the original database.
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"Andrew J. Kelly" <sqlmvpnooospam@.shadhawk.com> wrote in message
news:%23Rhsx0X9DHA.2696@.TK2MSFTNGP10.phx.gbl...
> If you have a copy of the backup on a local machine (by local meaning
> accessible by UNC) you can restore in the quickest possible time where as
> with tape it may be a while to get the tape loaded etc.
> --
> Andrew J. Kelly
> SQL Server MVP
>
> "mannie" <anonymous@.discussions.microsoft.com> wrote in message
> news:E26131EA-B631-4482-A033-B6AD4215D0B9@.microsoft.com...
>|||we are getting ready to buy sql lite speed too
testing the demo for backups is impressive wtih decrease file size and speed
restores seem to take the same amount of time as with native sql versus the
VDI Sqllitespeed
is this what other are seeing
we routinely backup DBs in the 100-250 gig range and restore them on another
server for analytical use
experimenting with ways for smallest over time window for this
things like backup to local SAN -- restore to other server across network
back to UNC path on other server -- restore from local SAN
Trying to copy such large files are a network in windows is too slow -- it
is faster to just backup in SQL and then restore in SQL or move the file
with a tape library
We soon may have a disked based backup system to try DX30 from quantum
comments on getting shortest back and restore windows
example -- a large DB we have create a 170gig backup file the backup restore
rebuild indexes on this puppy takes 15-20 hours -- we do this once a month
as that is the refresh for new data loads -- new data is about 4-6 gig a
month
"Geoff N.Hiten" <SRDBA@.Careerbuilder.com> wrote in message
news:%23nQaoqX9DHA.2832@.tk2msftngp13.phx.gbl...
> I am with Wayne and Tibor on this one. SQL backups (using SQLLiteSpeed
for
> the really big databases) to a UNC share on another machine. I then have
> daily, weekly and monthly rotations to tape with the monthly tapes removed
> and archived.
>
> --
> Geoff N. Hiten
> Microsoft SQL Server MVP
> Senior Database Administrator
> Careerbuilder.com
> I support the Professional Association for SQL Server
> www.sqlpass.org
> "Wayne Snyder" <wsnyder@.computeredservices.com> wrote in message
> news:%23kaRt6W9DHA.2308@.TK2MSFTNGP11.phx.gbl...
remote
> tape.
> logs
> the
>

Friday, February 24, 2012

backuping to tape

Hello there
To the server with sql server there is also backup tape.
is there a way to backup the database directly to dape?
use
BACKUP DATABASE TO TAPE
read BACKUP DATABASE from BOL for more info
vt
"Roy Goldhammer" <roy@.hotmail.com> wrote in message
news:OvVVz%23EGHHA.4580@.TK2MSFTNGP05.phx.gbl...
> Hello there
> To the server with sql server there is also backup tape.
> is there a way to backup the database directly to dape?
>
|||Roy
While tape backups are a good thing. You can store them off site for
disaster recovery purposes. It takes longer to both backup and restore from
tape.
Unless disk space is really an issue, it's best to do both.
Backup to disk first, it's quicker so less impact on your application. Then
copy the disk backup to tape and store off site. Very often if you do need to
restore a database, it will be the last backup, so you can restore quicker
from disk.
We usually keep the last two full backups on disk, and two days worth of
transaction logs. This gives us good flexibility and although we have a lot
of SQL Server based systems, we virtually never need the tape based backups.
Our backup strategy was designed to make that the case.
If required, restores from disk are much quicker and quite often time is an
issue if you need to perform a restore.
Hope this helps
John
"vt" wrote:

> use
> BACKUP DATABASE TO TAPE
> read BACKUP DATABASE from BOL for more info
> vt
>
> "Roy Goldhammer" <roy@.hotmail.com> wrote in message
> news:OvVVz%23EGHHA.4580@.TK2MSFTNGP05.phx.gbl...
>
>
|||Whell John:
my question came from argue with the system administrators that said: we
need sql agent third party program to backup to tape. and it cost at least
750$
as you explain, it is not true and that is what i need to know.
About backup, there is a problem of storage: my HD size is 130GB, and it
holds all sql and backups.
I need to backup 5 databases every day which their size approx 3.5 gb of
data and log. so after two weeks of backuping there is no more free space to
use.
thanks
"John Bandettini" <JohnBandettini@.discussions.microsoft.com> wrote in
message news:5F9AC2AA-4049-48F4-848B-C526F4FF5B38@.microsoft.com...[vbcol=seagreen]
> Roy
> While tape backups are a good thing. You can store them off site for
> disaster recovery purposes. It takes longer to both backup and restore
> from
> tape.
> Unless disk space is really an issue, it's best to do both.
> Backup to disk first, it's quicker so less impact on your application.
> Then
> copy the disk backup to tape and store off site. Very often if you do need
> to
> restore a database, it will be the last backup, so you can restore quicker
> from disk.
> We usually keep the last two full backups on disk, and two days worth of
> transaction logs. This gives us good flexibility and although we have a
> lot
> of SQL Server based systems, we virtually never need the tape based
> backups.
> Our backup strategy was designed to make that the case.
> If required, restores from disk are much quicker and quite often time is
> an
> issue if you need to perform a restore.
> Hope this helps
> John
> "vt" wrote:
|||I suggest you keep only the most recent SQL Server backups on disk,
depending on your disk space constraints. You can archive those backup
files to tape for offsite and long term storage.
Hope this helps.
Dan Guzman
SQL Server MVP
"Roy Goldhammer" <roy@.hotmail.com> wrote in message
news:OSYRMQGGHHA.1248@.TK2MSFTNGP02.phx.gbl...
> Whell John:
> my question came from argue with the system administrators that said: we
> need sql agent third party program to backup to tape. and it cost at least
> 750$
> as you explain, it is not true and that is what i need to know.
> About backup, there is a problem of storage: my HD size is 130GB, and it
> holds all sql and backups.
> I need to backup 5 databases every day which their size approx 3.5 gb of
> data and log. so after two weeks of backuping there is no more free space
> to use.
> thanks
> "John Bandettini" <JohnBandettini@.discussions.microsoft.com> wrote in
> message news:5F9AC2AA-4049-48F4-848B-C526F4FF5B38@.microsoft.com...
>

backuping to tape

Hello there
To the server with sql server there is also backup tape.
is there a way to backup the database directly to dape?use
BACKUP DATABASE TO TAPE
read BACKUP DATABASE from BOL for more info
vt
"Roy Goldhammer" <roy@.hotmail.com> wrote in message
news:OvVVz%23EGHHA.4580@.TK2MSFTNGP05.phx.gbl...
> Hello there
> To the server with sql server there is also backup tape.
> is there a way to backup the database directly to dape?
>|||Roy
While tape backups are a good thing. You can store them off site for
disaster recovery purposes. It takes longer to both backup and restore from
tape.
Unless disk space is really an issue, it's best to do both.
Backup to disk first, it's quicker so less impact on your application. Then
copy the disk backup to tape and store off site. Very often if you do need t
o
restore a database, it will be the last backup, so you can restore quicker
from disk.
We usually keep the last two full backups on disk, and two days worth of
transaction logs. This gives us good flexibility and although we have a lot
of SQL Server based systems, we virtually never need the tape based backups.
Our backup strategy was designed to make that the case.
If required, restores from disk are much quicker and quite often time is an
issue if you need to perform a restore.
Hope this helps
John
"vt" wrote:

> use
> BACKUP DATABASE TO TAPE
> read BACKUP DATABASE from BOL for more info
> vt
>
> "Roy Goldhammer" <roy@.hotmail.com> wrote in message
> news:OvVVz%23EGHHA.4580@.TK2MSFTNGP05.phx.gbl...
>
>|||Whell John:
my question came from argue with the system administrators that said: we
need sql agent third party program to backup to tape. and it cost at least
750$
as you explain, it is not true and that is what i need to know.
About backup, there is a problem of storage: my HD size is 130GB, and it
holds all sql and backups.
I need to backup 5 databases every day which their size approx 3.5 gb of
data and log. so after two weeks of backuping there is no more free space to
use.
thanks
"John Bandettini" <JohnBandettini@.discussions.microsoft.com> wrote in
message news:5F9AC2AA-4049-48F4-848B-C526F4FF5B38@.microsoft.com...[vbcol=seagreen]
> Roy
> While tape backups are a good thing. You can store them off site for
> disaster recovery purposes. It takes longer to both backup and restore
> from
> tape.
> Unless disk space is really an issue, it's best to do both.
> Backup to disk first, it's quicker so less impact on your application.
> Then
> copy the disk backup to tape and store off site. Very often if you do need
> to
> restore a database, it will be the last backup, so you can restore quicker
> from disk.
> We usually keep the last two full backups on disk, and two days worth of
> transaction logs. This gives us good flexibility and although we have a
> lot
> of SQL Server based systems, we virtually never need the tape based
> backups.
> Our backup strategy was designed to make that the case.
> If required, restores from disk are much quicker and quite often time is
> an
> issue if you need to perform a restore.
> Hope this helps
> John
> "vt" wrote:
>|||I suggest you keep only the most recent SQL Server backups on disk,
depending on your disk space constraints. You can archive those backup
files to tape for offsite and long term storage.
Hope this helps.
Dan Guzman
SQL Server MVP
"Roy Goldhammer" <roy@.hotmail.com> wrote in message
news:OSYRMQGGHHA.1248@.TK2MSFTNGP02.phx.gbl...
> Whell John:
> my question came from argue with the system administrators that said: we
> need sql agent third party program to backup to tape. and it cost at least
> 750$
> as you explain, it is not true and that is what i need to know.
> About backup, there is a problem of storage: my HD size is 130GB, and it
> holds all sql and backups.
> I need to backup 5 databases every day which their size approx 3.5 gb of
> data and log. so after two weeks of backuping there is no more free space
> to use.
> thanks
> "John Bandettini" <JohnBandettini@.discussions.microsoft.com> wrote in
> message news:5F9AC2AA-4049-48F4-848B-C526F4FF5B38@.microsoft.com...
>

backuping to tape

Hello there
To the server with sql server there is also backup tape.
is there a way to backup the database directly to dape?use
BACKUP DATABASE TO TAPE
read BACKUP DATABASE from BOL for more info
vt
"Roy Goldhammer" <roy@.hotmail.com> wrote in message
news:OvVVz%23EGHHA.4580@.TK2MSFTNGP05.phx.gbl...
> Hello there
> To the server with sql server there is also backup tape.
> is there a way to backup the database directly to dape?
>|||Roy
While tape backups are a good thing. You can store them off site for
disaster recovery purposes. It takes longer to both backup and restore from
tape.
Unless disk space is really an issue, it's best to do both.
Backup to disk first, it's quicker so less impact on your application. Then
copy the disk backup to tape and store off site. Very often if you do need to
restore a database, it will be the last backup, so you can restore quicker
from disk.
We usually keep the last two full backups on disk, and two days worth of
transaction logs. This gives us good flexibility and although we have a lot
of SQL Server based systems, we virtually never need the tape based backups.
Our backup strategy was designed to make that the case.
If required, restores from disk are much quicker and quite often time is an
issue if you need to perform a restore.
Hope this helps
John
"vt" wrote:
> use
> BACKUP DATABASE TO TAPE
> read BACKUP DATABASE from BOL for more info
> vt
>
> "Roy Goldhammer" <roy@.hotmail.com> wrote in message
> news:OvVVz%23EGHHA.4580@.TK2MSFTNGP05.phx.gbl...
> > Hello there
> >
> > To the server with sql server there is also backup tape.
> >
> > is there a way to backup the database directly to dape?
> >
>
>|||Whell John:
my question came from argue with the system administrators that said: we
need sql agent third party program to backup to tape. and it cost at least
750$
as you explain, it is not true and that is what i need to know.
About backup, there is a problem of storage: my HD size is 130GB, and it
holds all sql and backups.
I need to backup 5 databases every day which their size approx 3.5 gb of
data and log. so after two weeks of backuping there is no more free space to
use.
thanks
"John Bandettini" <JohnBandettini@.discussions.microsoft.com> wrote in
message news:5F9AC2AA-4049-48F4-848B-C526F4FF5B38@.microsoft.com...
> Roy
> While tape backups are a good thing. You can store them off site for
> disaster recovery purposes. It takes longer to both backup and restore
> from
> tape.
> Unless disk space is really an issue, it's best to do both.
> Backup to disk first, it's quicker so less impact on your application.
> Then
> copy the disk backup to tape and store off site. Very often if you do need
> to
> restore a database, it will be the last backup, so you can restore quicker
> from disk.
> We usually keep the last two full backups on disk, and two days worth of
> transaction logs. This gives us good flexibility and although we have a
> lot
> of SQL Server based systems, we virtually never need the tape based
> backups.
> Our backup strategy was designed to make that the case.
> If required, restores from disk are much quicker and quite often time is
> an
> issue if you need to perform a restore.
> Hope this helps
> John
> "vt" wrote:
>> use
>> BACKUP DATABASE TO TAPE
>> read BACKUP DATABASE from BOL for more info
>> vt
>>
>> "Roy Goldhammer" <roy@.hotmail.com> wrote in message
>> news:OvVVz%23EGHHA.4580@.TK2MSFTNGP05.phx.gbl...
>> > Hello there
>> >
>> > To the server with sql server there is also backup tape.
>> >
>> > is there a way to backup the database directly to dape?
>> >
>>|||I suggest you keep only the most recent SQL Server backups on disk,
depending on your disk space constraints. You can archive those backup
files to tape for offsite and long term storage.
--
Hope this helps.
Dan Guzman
SQL Server MVP
"Roy Goldhammer" <roy@.hotmail.com> wrote in message
news:OSYRMQGGHHA.1248@.TK2MSFTNGP02.phx.gbl...
> Whell John:
> my question came from argue with the system administrators that said: we
> need sql agent third party program to backup to tape. and it cost at least
> 750$
> as you explain, it is not true and that is what i need to know.
> About backup, there is a problem of storage: my HD size is 130GB, and it
> holds all sql and backups.
> I need to backup 5 databases every day which their size approx 3.5 gb of
> data and log. so after two weeks of backuping there is no more free space
> to use.
> thanks
> "John Bandettini" <JohnBandettini@.discussions.microsoft.com> wrote in
> message news:5F9AC2AA-4049-48F4-848B-C526F4FF5B38@.microsoft.com...
>> Roy
>> While tape backups are a good thing. You can store them off site for
>> disaster recovery purposes. It takes longer to both backup and restore
>> from
>> tape.
>> Unless disk space is really an issue, it's best to do both.
>> Backup to disk first, it's quicker so less impact on your application.
>> Then
>> copy the disk backup to tape and store off site. Very often if you do
>> need to
>> restore a database, it will be the last backup, so you can restore
>> quicker
>> from disk.
>> We usually keep the last two full backups on disk, and two days worth of
>> transaction logs. This gives us good flexibility and although we have a
>> lot
>> of SQL Server based systems, we virtually never need the tape based
>> backups.
>> Our backup strategy was designed to make that the case.
>> If required, restores from disk are much quicker and quite often time is
>> an
>> issue if you need to perform a restore.
>> Hope this helps
>> John
>> "vt" wrote:
>> use
>> BACKUP DATABASE TO TAPE
>> read BACKUP DATABASE from BOL for more info
>> vt
>>
>> "Roy Goldhammer" <roy@.hotmail.com> wrote in message
>> news:OvVVz%23EGHHA.4580@.TK2MSFTNGP05.phx.gbl...
>> > Hello there
>> >
>> > To the server with sql server there is also backup tape.
>> >
>> > is there a way to backup the database directly to dape?
>> >
>>
>

Sunday, February 12, 2012

Backup transaction logs

Currently my backup plan for my databases has them going to file backup every
day and then to tape. My DB backup is set with the option of "with init" to
allow for backup to be overwritten.
For my transaction logs they get backed up to disk every hour and then once
a day the backup file gets backed up to disk. The problem is on these they
are set to use "with noinit" so these backup files are growing.
If I switch the init option my transaction log backups will get overwritten
every hour.
Would this work if I had to do a a full restore? I would have the full DB
backup from the night before and the trans backup from the latest hour. But I
would not have the backup of the other transactions (hopefully that makes
sense) between that latest hour and the when the full DB backup was done.
The problem I have now is that with my trans bakcups being appended is that
there is backups of transactions that are older that the current day. I
don't need to keep these as a do a full DB backup every day...
Thanks.Two options come to mind:
You could modify your T-Log backup job to issue a WITH INIT before you issue
your nightly database backup.
You could modify your hourly T-Log backups to backup WITH INIT. You will
also need to add a job step which renames the files and includes a datetime
identifier in the file name. Something like this:
DECLARE @.str varchar(1000),
@.dte varchar(100)
SELECT @.dte = CONVERT(varchar(8),getdate(),112) + '.' +
CONVERT(varchar(2),datepart(hh,getdate()))
SELECT @.str = 'master..xp_cmdshell ''rename x:\testfoo.txt testfoo.' +@.dte +
'.txt'''
SELECT @.str /*if you want to see the command that will be executed*/
EXEC (@.str) /*performs the file rename*/
Keith
"Tyler" <Tyler@.discussions.microsoft.com> wrote in message
news:CB42C0B9-D402-4275-ACC0-9FAE0384A7EC@.microsoft.com...
> Currently my backup plan for my databases has them going to file backup
every
> day and then to tape. My DB backup is set with the option of "with init"
to
> allow for backup to be overwritten.
> For my transaction logs they get backed up to disk every hour and then
once
> a day the backup file gets backed up to disk. The problem is on these
they
> are set to use "with noinit" so these backup files are growing.
> If I switch the init option my transaction log backups will get
overwritten
> every hour.
> Would this work if I had to do a a full restore? I would have the full DB
> backup from the night before and the trans backup from the latest hour.
But I
> would not have the backup of the other transactions (hopefully that makes
> sense) between that latest hour and the when the full DB backup was done.
> The problem I have now is that with my trans bakcups being appended is
that
> there is backups of transactions that are older that the current day. I
> don't need to keep these as a do a full DB backup every day...
> Thanks.
>|||I had a similar problem. I have created 8 backup devices (for each hour
between 9 AM and 5 pm) with a name convention (transDump9, transDump10,
transDump11, transDump12, transDump13...transDump17). I also have a job to
dump the transaction log WITH INIT every hour...
--
Sasan Saidi, MSc in CS
Senior DBA
Brascan Business Services
"I saw it work in a cartoon once so I am pretty sure I can do it."
"Keith Kratochvil" wrote:
> Two options come to mind:
> You could modify your T-Log backup job to issue a WITH INIT before you issue
> your nightly database backup.
> You could modify your hourly T-Log backups to backup WITH INIT. You will
> also need to add a job step which renames the files and includes a datetime
> identifier in the file name. Something like this:
> DECLARE @.str varchar(1000),
> @.dte varchar(100)
> SELECT @.dte = CONVERT(varchar(8),getdate(),112) + '.' +
> CONVERT(varchar(2),datepart(hh,getdate()))
>
> SELECT @.str = 'master..xp_cmdshell ''rename x:\testfoo.txt testfoo.' +@.dte +
> '.txt'''
> SELECT @.str /*if you want to see the command that will be executed*/
> EXEC (@.str) /*performs the file rename*/
>
> --
> Keith
>
> "Tyler" <Tyler@.discussions.microsoft.com> wrote in message
> news:CB42C0B9-D402-4275-ACC0-9FAE0384A7EC@.microsoft.com...
> > Currently my backup plan for my databases has them going to file backup
> every
> > day and then to tape. My DB backup is set with the option of "with init"
> to
> > allow for backup to be overwritten.
> >
> > For my transaction logs they get backed up to disk every hour and then
> once
> > a day the backup file gets backed up to disk. The problem is on these
> they
> > are set to use "with noinit" so these backup files are growing.
> >
> > If I switch the init option my transaction log backups will get
> overwritten
> > every hour.
> >
> > Would this work if I had to do a a full restore? I would have the full DB
> > backup from the night before and the trans backup from the latest hour.
> But I
> > would not have the backup of the other transactions (hopefully that makes
> > sense) between that latest hour and the when the full DB backup was done.
> >
> > The problem I have now is that with my trans bakcups being appended is
> that
> > there is backups of transactions that are older that the current day. I
> > don't need to keep these as a do a full DB backup every day...
> >
> > Thanks.
> >
> >
>|||Yep, that solution will work but now you probably have
n number of jobs and n number of backup devices that you have to
maintain/monitor.
SQL Server does not have to backup to a device. It can simply backup to a
file.
BACKUP DATABASE foo TO DISK = 'x:\foo.bak' WITH INIT
(replace foo and x with appropriate values).
So, it is easy enough to do this all within one job that is scheduled to run
at whatever interval during the day that is needed. If it needs to run more
often that hourly it is possible to append the minute to the file name as
well. All that is needed is to increase the frequency of the job execution
and to include the minute within the file rename.
--
Keith
"Sasan Saidi" <SasanSaidi@.discussions.microsoft.com> wrote in message
news:2C8D3FFA-02B7-4C80-AA2F-DC965AAD0C71@.microsoft.com...
> I had a similar problem. I have created 8 backup devices (for each hour
> between 9 AM and 5 pm) with a name convention (transDump9, transDump10,
> transDump11, transDump12, transDump13...transDump17). I also have a job to
> dump the transaction log WITH INIT every hour...
> --
> Sasan Saidi, MSc in CS
> Senior DBA
> Brascan Business Services
> "I saw it work in a cartoon once so I am pretty sure I can do it."
> "Keith Kratochvil" wrote:
> > Two options come to mind:
> > You could modify your T-Log backup job to issue a WITH INIT before you
issue
> > your nightly database backup.
> >
> > You could modify your hourly T-Log backups to backup WITH INIT. You
will
> > also need to add a job step which renames the files and includes a
datetime
> > identifier in the file name. Something like this:
> >
> > DECLARE @.str varchar(1000),
> > @.dte varchar(100)
> > SELECT @.dte = CONVERT(varchar(8),getdate(),112) + '.' +
> > CONVERT(varchar(2),datepart(hh,getdate()))
> >
> >
> > SELECT @.str = 'master..xp_cmdshell ''rename x:\testfoo.txt testfoo.'
+@.dte +
> > '.txt'''
> > SELECT @.str /*if you want to see the command that will be executed*/
> > EXEC (@.str) /*performs the file rename*/
> >
> >
> > --
> > Keith
> >
> >
> > "Tyler" <Tyler@.discussions.microsoft.com> wrote in message
> > news:CB42C0B9-D402-4275-ACC0-9FAE0384A7EC@.microsoft.com...
> > > Currently my backup plan for my databases has them going to file
backup
> > every
> > > day and then to tape. My DB backup is set with the option of "with
init"
> > to
> > > allow for backup to be overwritten.
> > >
> > > For my transaction logs they get backed up to disk every hour and then
> > once
> > > a day the backup file gets backed up to disk. The problem is on these
> > they
> > > are set to use "with noinit" so these backup files are growing.
> > >
> > > If I switch the init option my transaction log backups will get
> > overwritten
> > > every hour.
> > >
> > > Would this work if I had to do a a full restore? I would have the
full DB
> > > backup from the night before and the trans backup from the latest
hour.
> > But I
> > > would not have the backup of the other transactions (hopefully that
makes
> > > sense) between that latest hour and the when the full DB backup was
done.
> > >
> > > The problem I have now is that with my trans bakcups being appended is
> > that
> > > there is backups of transactions that are older that the current day.
I
> > > don't need to keep these as a do a full DB backup every day...
> > >
> > > Thanks.
> > >
> > >
> >
> >|||why not just use a db maintenance plan to backup the databases? the
backup files created from it will have the backup time as part of the
filename, hence they are unique filenames. use your tape backup to
backup the folders that contain the backup files. use the delete backup
files option to remove the older backup files from disk.
Tyler wrote:
> Currently my backup plan for my databases has them going to file backup every
> day and then to tape. My DB backup is set with the option of "with init" to
> allow for backup to be overwritten.
> For my transaction logs they get backed up to disk every hour and then once
> a day the backup file gets backed up to disk. The problem is on these they
> are set to use "with noinit" so these backup files are growing.
> If I switch the init option my transaction log backups will get overwritten
> every hour.
> Would this work if I had to do a a full restore? I would have the full DB
> backup from the night before and the trans backup from the latest hour. But I
> would not have the backup of the other transactions (hopefully that makes
> sense) between that latest hour and the when the full DB backup was done.
> The problem I have now is that with my trans bakcups being appended is that
> there is backups of transactions that are older that the current day. I
> don't need to keep these as a do a full DB backup every day...
> Thanks.

Backup transaction logs

Currently my backup plan for my databases has them going to file backup every
day and then to tape. My DB backup is set with the option of "with init" to
allow for backup to be overwritten.
For my transaction logs they get backed up to disk every hour and then once
a day the backup file gets backed up to disk. The problem is on these they
are set to use "with noinit" so these backup files are growing.
If I switch the init option my transaction log backups will get overwritten
every hour.
Would this work if I had to do a a full restore? I would have the full DB
backup from the night before and the trans backup from the latest hour. But I
would not have the backup of the other transactions (hopefully that makes
sense) between that latest hour and the when the full DB backup was done.
The problem I have now is that with my trans bakcups being appended is that
there is backups of transactions that are older that the current day. I
don't need to keep these as a do a full DB backup every day...
Thanks.
Two options come to mind:
You could modify your T-Log backup job to issue a WITH INIT before you issue
your nightly database backup.
You could modify your hourly T-Log backups to backup WITH INIT. You will
also need to add a job step which renames the files and includes a datetime
identifier in the file name. Something like this:
DECLARE @.str varchar(1000),
@.dte varchar(100)
SELECT @.dte = CONVERT(varchar(8),getdate(),112) + '.' +
CONVERT(varchar(2),datepart(hh,getdate()))
SELECT @.str = 'master..xp_cmdshell ''rename x:\testfoo.txt testfoo.' +@.dte +
'.txt'''
SELECT @.str /*if you want to see the command that will be executed*/
EXEC (@.str) /*performs the file rename*/
Keith
"Tyler" <Tyler@.discussions.microsoft.com> wrote in message
news:CB42C0B9-D402-4275-ACC0-9FAE0384A7EC@.microsoft.com...
> Currently my backup plan for my databases has them going to file backup
every
> day and then to tape. My DB backup is set with the option of "with init"
to
> allow for backup to be overwritten.
> For my transaction logs they get backed up to disk every hour and then
once
> a day the backup file gets backed up to disk. The problem is on these
they
> are set to use "with noinit" so these backup files are growing.
> If I switch the init option my transaction log backups will get
overwritten
> every hour.
> Would this work if I had to do a a full restore? I would have the full DB
> backup from the night before and the trans backup from the latest hour.
But I
> would not have the backup of the other transactions (hopefully that makes
> sense) between that latest hour and the when the full DB backup was done.
> The problem I have now is that with my trans bakcups being appended is
that
> there is backups of transactions that are older that the current day. I
> don't need to keep these as a do a full DB backup every day...
> Thanks.
>
|||I had a similar problem. I have created 8 backup devices (for each hour
between 9 AM and 5 pm) with a name convention (transDump9, transDump10,
transDump11, transDump12, transDump13...transDump17). I also have a job to
dump the transaction log WITH INIT every hour...
Sasan Saidi, MSc in CS
Senior DBA
Brascan Business Services
"I saw it work in a cartoon once so I am pretty sure I can do it."
"Keith Kratochvil" wrote:

> Two options come to mind:
> You could modify your T-Log backup job to issue a WITH INIT before you issue
> your nightly database backup.
> You could modify your hourly T-Log backups to backup WITH INIT. You will
> also need to add a job step which renames the files and includes a datetime
> identifier in the file name. Something like this:
> DECLARE @.str varchar(1000),
> @.dte varchar(100)
> SELECT @.dte = CONVERT(varchar(8),getdate(),112) + '.' +
> CONVERT(varchar(2),datepart(hh,getdate()))
>
> SELECT @.str = 'master..xp_cmdshell ''rename x:\testfoo.txt testfoo.' +@.dte +
> '.txt'''
> SELECT @.str /*if you want to see the command that will be executed*/
> EXEC (@.str) /*performs the file rename*/
>
> --
> Keith
>
> "Tyler" <Tyler@.discussions.microsoft.com> wrote in message
> news:CB42C0B9-D402-4275-ACC0-9FAE0384A7EC@.microsoft.com...
> every
> to
> once
> they
> overwritten
> But I
> that
>
|||Yep, that solution will work but now you probably have
n number of jobs and n number of backup devices that you have to
maintain/monitor.
SQL Server does not have to backup to a device. It can simply backup to a
file.
BACKUP DATABASE foo TO DISK = 'x:\foo.bak' WITH INIT
(replace foo and x with appropriate values).
So, it is easy enough to do this all within one job that is scheduled to run
at whatever interval during the day that is needed. If it needs to run more
often that hourly it is possible to append the minute to the file name as
well. All that is needed is to increase the frequency of the job execution
and to include the minute within the file rename.
Keith
"Sasan Saidi" <SasanSaidi@.discussions.microsoft.com> wrote in message
news:2C8D3FFA-02B7-4C80-AA2F-DC965AAD0C71@.microsoft.com...[vbcol=seagreen]
> I had a similar problem. I have created 8 backup devices (for each hour
> between 9 AM and 5 pm) with a name convention (transDump9, transDump10,
> transDump11, transDump12, transDump13...transDump17). I also have a job to
> dump the transaction log WITH INIT every hour...
> --
> Sasan Saidi, MSc in CS
> Senior DBA
> Brascan Business Services
> "I saw it work in a cartoon once so I am pretty sure I can do it."
> "Keith Kratochvil" wrote:
issue[vbcol=seagreen]
will[vbcol=seagreen]
datetime[vbcol=seagreen]
+@.dte +[vbcol=seagreen]
backup[vbcol=seagreen]
init"[vbcol=seagreen]
full DB[vbcol=seagreen]
hour.[vbcol=seagreen]
makes[vbcol=seagreen]
done.[vbcol=seagreen]
I[vbcol=seagreen]
|||why not just use a db maintenance plan to backup the databases? the
backup files created from it will have the backup time as part of the
filename, hence they are unique filenames. use your tape backup to
backup the folders that contain the backup files. use the delete backup
files option to remove the older backup files from disk.
Tyler wrote:
> Currently my backup plan for my databases has them going to file backup every
> day and then to tape. My DB backup is set with the option of "with init" to
> allow for backup to be overwritten.
> For my transaction logs they get backed up to disk every hour and then once
> a day the backup file gets backed up to disk. The problem is on these they
> are set to use "with noinit" so these backup files are growing.
> If I switch the init option my transaction log backups will get overwritten
> every hour.
> Would this work if I had to do a a full restore? I would have the full DB
> backup from the night before and the trans backup from the latest hour. But I
> would not have the backup of the other transactions (hopefully that makes
> sense) between that latest hour and the when the full DB backup was done.
> The problem I have now is that with my trans bakcups being appended is that
> there is backups of transactions that are older that the current day. I
> don't need to keep these as a do a full DB backup every day...
> Thanks.

Backup transaction logs

Currently my backup plan for my databases has them going to file backup ever
y
day and then to tape. My DB backup is set with the option of "with init" to
allow for backup to be overwritten.
For my transaction logs they get backed up to disk every hour and then once
a day the backup file gets backed up to disk. The problem is on these they
are set to use "with noinit" so these backup files are growing.
If I switch the init option my transaction log backups will get overwritten
every hour.
Would this work if I had to do a a full restore? I would have the full DB
backup from the night before and the trans backup from the latest hour. But
I
would not have the backup of the other transactions (hopefully that makes
sense) between that latest hour and the when the full DB backup was done.
The problem I have now is that with my trans bakcups being appended is that
there is backups of transactions that are older that the current day. I
don't need to keep these as a do a full DB backup every day...
Thanks.Two options come to mind:
You could modify your T-Log backup job to issue a WITH INIT before you issue
your nightly database backup.
You could modify your hourly T-Log backups to backup WITH INIT. You will
also need to add a job step which renames the files and includes a datetime
identifier in the file name. Something like this:
DECLARE @.str varchar(1000),
@.dte varchar(100)
SELECT @.dte = CONVERT(varchar(8),getdate(),112) + '.' +
CONVERT(varchar(2),datepart(hh,getdate()
))
SELECT @.str = 'master..xp_cmdshell ''rename x:\testfoo.txt testfoo.' +@.dte +
'.txt'''
SELECT @.str /*if you want to see the command that will be executed*/
EXEC (@.str) /*performs the file rename*/
Keith
"Tyler" <Tyler@.discussions.microsoft.com> wrote in message
news:CB42C0B9-D402-4275-ACC0-9FAE0384A7EC@.microsoft.com...
> Currently my backup plan for my databases has them going to file backup
every
> day and then to tape. My DB backup is set with the option of "with init"
to
> allow for backup to be overwritten.
> For my transaction logs they get backed up to disk every hour and then
once
> a day the backup file gets backed up to disk. The problem is on these
they
> are set to use "with noinit" so these backup files are growing.
> If I switch the init option my transaction log backups will get
overwritten
> every hour.
> Would this work if I had to do a a full restore? I would have the full DB
> backup from the night before and the trans backup from the latest hour.
But I
> would not have the backup of the other transactions (hopefully that makes
> sense) between that latest hour and the when the full DB backup was done.
> The problem I have now is that with my trans bakcups being appended is
that
> there is backups of transactions that are older that the current day. I
> don't need to keep these as a do a full DB backup every day...
> Thanks.
>|||I had a similar problem. I have created 8 backup devices (for each hour
between 9 AM and 5 pm) with a name convention (transDump9, transDump10,
transDump11, transDump12, transDump13...transDump17). I also have a job to
dump the transaction log WITH INIT every hour...
--
Sasan Saidi, MSc in CS
Senior DBA
Brascan Business Services
"I saw it work in a cartoon once so I am pretty sure I can do it."
"Keith Kratochvil" wrote:

> Two options come to mind:
> You could modify your T-Log backup job to issue a WITH INIT before you iss
ue
> your nightly database backup.
> You could modify your hourly T-Log backups to backup WITH INIT. You will
> also need to add a job step which renames the files and includes a datetim
e
> identifier in the file name. Something like this:
> DECLARE @.str varchar(1000),
> @.dte varchar(100)
> SELECT @.dte = CONVERT(varchar(8),getdate(),112) + '.' +
> CONVERT(varchar(2),datepart(hh,getdate()
))
>
> SELECT @.str = 'master..xp_cmdshell ''rename x:\testfoo.txt testfoo.' +@.dte
+
> '.txt'''
> SELECT @.str /*if you want to see the command that will be executed*/
> EXEC (@.str) /*performs the file rename*/
>
> --
> Keith
>
> "Tyler" <Tyler@.discussions.microsoft.com> wrote in message
> news:CB42C0B9-D402-4275-ACC0-9FAE0384A7EC@.microsoft.com...
> every
> to
> once
> they
> overwritten
> But I
> that
>|||Yep, that solution will work but now you probably have
n number of jobs and n number of backup devices that you have to
maintain/monitor.
SQL Server does not have to backup to a device. It can simply backup to a
file.
BACKUP DATABASE foo TO DISK = 'x:\foo.bak' WITH INIT
(replace foo and x with appropriate values).
So, it is easy enough to do this all within one job that is scheduled to run
at whatever interval during the day that is needed. If it needs to run more
often that hourly it is possible to append the minute to the file name as
well. All that is needed is to increase the frequency of the job execution
and to include the minute within the file rename.
Keith
"Sasan Saidi" <SasanSaidi@.discussions.microsoft.com> wrote in message
news:2C8D3FFA-02B7-4C80-AA2F-DC965AAD0C71@.microsoft.com...[vbcol=seagreen]
> I had a similar problem. I have created 8 backup devices (for each hour
> between 9 AM and 5 pm) with a name convention (transDump9, transDump10,
> transDump11, transDump12, transDump13...transDump17). I also have a job to
> dump the transaction log WITH INIT every hour...
> --
> Sasan Saidi, MSc in CS
> Senior DBA
> Brascan Business Services
> "I saw it work in a cartoon once so I am pretty sure I can do it."
> "Keith Kratochvil" wrote:
>
issue[vbcol=seagreen]
will[vbcol=seagreen]
datetime[vbcol=seagreen]
+@.dte +[vbcol=seagreen]
backup[vbcol=seagreen]
init"[vbcol=seagreen]
full DB[vbcol=seagreen]
hour.[vbcol=seagreen]
makes[vbcol=seagreen]
done.[vbcol=seagreen]
I[vbcol=seagreen]|||why not just use a db maintenance plan to backup the databases? the
backup files created from it will have the backup time as part of the
filename, hence they are unique filenames. use your tape backup to
backup the folders that contain the backup files. use the delete backup
files option to remove the older backup files from disk.
Tyler wrote:
> Currently my backup plan for my databases has them going to file backup ev
ery
> day and then to tape. My DB backup is set with the option of "with init"
to
> allow for backup to be overwritten.
> For my transaction logs they get backed up to disk every hour and then onc
e
> a day the backup file gets backed up to disk. The problem is on these the
y
> are set to use "with noinit" so these backup files are growing.
> If I switch the init option my transaction log backups will get overwritte
n
> every hour.
> Would this work if I had to do a a full restore? I would have the full DB
> backup from the night before and the trans backup from the latest hour. Bu
t I
> would not have the backup of the other transactions (hopefully that makes
> sense) between that latest hour and the when the full DB backup was done.
> The problem I have now is that with my trans bakcups being appended is tha
t
> there is backups of transactions that are older that the current day. I
> don't need to keep these as a do a full DB backup every day...
> Thanks.

Backup to USB drive failing

We have a SQL Server (2000, Win2K) that used to backup to a tape drive. The
tape drive was connected through our Domain Controller. DC crashed. As
emergency solution, a 256GB external USB drive was attached to the SQL
Server, and appears in structure as Drive F:\.
I can manually backup my TLog to the USB drive, but scheduled TLog backups
don't even launch, let alone fail.
I can launch a manual Full Database backup, but it fails, error 112, not
enough disk space. My db is only 50GB, and I have 230GB free on my external
USB drive.
Any ideas why my scheduled (Maintenance Plan) TLog backups don't even
launch, and why the Full backup says I am out of space?
We are using the Administrator login, with full permissions.
Thanks!Make sure your drive is formatted using NTFS, not FAT32.
--
Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP
"Duane" <Duane@.discussions.microsoft.com> wrote in message
news:346BBF00-0EFA-4929-A452-DACF33FDE7C0@.microsoft.com...
> We have a SQL Server (2000, Win2K) that used to backup to a tape drive.
> The
> tape drive was connected through our Domain Controller. DC crashed. As
> emergency solution, a 256GB external USB drive was attached to the SQL
> Server, and appears in structure as Drive F:\.
> I can manually backup my TLog to the USB drive, but scheduled TLog backups
> don't even launch, let alone fail.
> I can launch a manual Full Database backup, but it fails, error 112, not
> enough disk space. My db is only 50GB, and I have 230GB free on my
> external
> USB drive.
> Any ideas why my scheduled (Maintenance Plan) TLog backups don't even
> launch, and why the Full backup says I am out of space?
> We are using the Administrator login, with full permissions.
> Thanks!|||Geoff, thanks. It is FAT32, and we will reformat Thursday and try again.
HOWEVER, I still have the issue of why my scheduled backups don't even
launch. This shouldn't have anything to do with formatting, as I can
manually backup a TLog, but it doesn't even launch when scheduled.
Suggestions?
Thanks,
Duane
"Geoff N. Hiten" wrote:
> Make sure your drive is formatted using NTFS, not FAT32.
> --
> Geoff N. Hiten
> Senior Database Administrator
> Microsoft SQL Server MVP
>
> "Duane" <Duane@.discussions.microsoft.com> wrote in message
> news:346BBF00-0EFA-4929-A452-DACF33FDE7C0@.microsoft.com...
> > We have a SQL Server (2000, Win2K) that used to backup to a tape drive.
> > The
> > tape drive was connected through our Domain Controller. DC crashed. As
> > emergency solution, a 256GB external USB drive was attached to the SQL
> > Server, and appears in structure as Drive F:\.
> >
> > I can manually backup my TLog to the USB drive, but scheduled TLog backups
> > don't even launch, let alone fail.
> >
> > I can launch a manual Full Database backup, but it fails, error 112, not
> > enough disk space. My db is only 50GB, and I have 230GB free on my
> > external
> > USB drive.
> >
> > Any ideas why my scheduled (Maintenance Plan) TLog backups don't even
> > launch, and why the Full backup says I am out of space?
> >
> > We are using the Administrator login, with full permissions.
> >
> > Thanks!
>
>|||"Duane" <Duane@.discussions.microsoft.com> wrote in message
news:019B2438-DC3D-41D9-992F-C42B2CA300A4@.microsoft.com...
> Geoff, thanks. It is FAT32, and we will reformat Thursday and try again.
> HOWEVER, I still have the issue of why my scheduled backups don't even
> launch. This shouldn't have anything to do with formatting, as I can
> manually backup a TLog, but it doesn't even launch when scheduled.
GENERALLY I've seen that when folks backup to a shared drive and don't have
permissions right.
But if this is a local drive, that shouldn't be an issue... hmm, unless
somehow the user account SQL Admin is running under hasn't picked up the new
drive letter?
Might want to try cycling SQL Admin.
> Suggestions?
> Thanks,
> Duane
> "Geoff N. Hiten" wrote:
> > Make sure your drive is formatted using NTFS, not FAT32.
> >
> > --
> > Geoff N. Hiten
> > Senior Database Administrator
> > Microsoft SQL Server MVP
> >
> >
> > "Duane" <Duane@.discussions.microsoft.com> wrote in message
> > news:346BBF00-0EFA-4929-A452-DACF33FDE7C0@.microsoft.com...
> > > We have a SQL Server (2000, Win2K) that used to backup to a tape
drive.
> > > The
> > > tape drive was connected through our Domain Controller. DC crashed.
As
> > > emergency solution, a 256GB external USB drive was attached to the SQL
> > > Server, and appears in structure as Drive F:\.
> > >
> > > I can manually backup my TLog to the USB drive, but scheduled TLog
backups
> > > don't even launch, let alone fail.
> > >
> > > I can launch a manual Full Database backup, but it fails, error 112,
not
> > > enough disk space. My db is only 50GB, and I have 230GB free on my
> > > external
> > > USB drive.
> > >
> > > Any ideas why my scheduled (Maintenance Plan) TLog backups don't even
> > > launch, and why the Full backup says I am out of space?
> > >
> > > We are using the Administrator login, with full permissions.
> > >
> > > Thanks!
> >
> >
> >

Backup to USB drive failing

We have a SQL Server (2000, Win2K) that used to backup to a tape drive. The
tape drive was connected through our Domain Controller. DC crashed. As
emergency solution, a 256GB external USB drive was attached to the SQL
Server, and appears in structure as Drive F:\.
I can manually backup my TLog to the USB drive, but scheduled TLog backups
don't even launch, let alone fail.
I can launch a manual Full Database backup, but it fails, error 112, not
enough disk space. My db is only 50GB, and I have 230GB free on my external
USB drive.
Any ideas why my scheduled (Maintenance Plan) TLog backups don't even
launch, and why the Full backup says I am out of space?
We are using the Administrator login, with full permissions.
Thanks!Make sure your drive is formatted using NTFS, not FAT32.
Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP
"Duane" <Duane@.discussions.microsoft.com> wrote in message
news:346BBF00-0EFA-4929-A452-DACF33FDE7C0@.microsoft.com...
> We have a SQL Server (2000, Win2K) that used to backup to a tape drive.
> The
> tape drive was connected through our Domain Controller. DC crashed. As
> emergency solution, a 256GB external USB drive was attached to the SQL
> Server, and appears in structure as Drive F:\.
> I can manually backup my TLog to the USB drive, but scheduled TLog backups
> don't even launch, let alone fail.
> I can launch a manual Full Database backup, but it fails, error 112, not
> enough disk space. My db is only 50GB, and I have 230GB free on my
> external
> USB drive.
> Any ideas why my scheduled (Maintenance Plan) TLog backups don't even
> launch, and why the Full backup says I am out of space?
> We are using the Administrator login, with full permissions.
> Thanks!|||Geoff, thanks. It is FAT32, and we will reformat Thursday and try again.
HOWEVER, I still have the issue of why my scheduled backups don't even
launch. This shouldn't have anything to do with formatting, as I can
manually backup a TLog, but it doesn't even launch when scheduled.
Suggestions?
Thanks,
Duane
"Geoff N. Hiten" wrote:

> Make sure your drive is formatted using NTFS, not FAT32.
> --
> Geoff N. Hiten
> Senior Database Administrator
> Microsoft SQL Server MVP
>
> "Duane" <Duane@.discussions.microsoft.com> wrote in message
> news:346BBF00-0EFA-4929-A452-DACF33FDE7C0@.microsoft.com...
>
>|||"Duane" <Duane@.discussions.microsoft.com> wrote in message
news:019B2438-DC3D-41D9-992F-C42B2CA300A4@.microsoft.com...
> Geoff, thanks. It is FAT32, and we will reformat Thursday and try again.
> HOWEVER, I still have the issue of why my scheduled backups don't even
> launch. This shouldn't have anything to do with formatting, as I can
> manually backup a TLog, but it doesn't even launch when scheduled.
GENERALLY I've seen that when folks backup to a shared drive and don't have
permissions right.
But if this is a local drive, that shouldn't be an issue... hmm, unless
somehow the user account SQL Admin is running under hasn't picked up the new
drive letter?
Might want to try cycling SQL Admin.
[vbcol=seagreen]
> Suggestions?
> Thanks,
> Duane
> "Geoff N. Hiten" wrote:
>
drive.[vbcol=seagreen]
As[vbcol=seagreen]
backups[vbcol=seagreen]
not[vbcol=seagreen]

Backup to tape with SQL and NTbackup

We want to use the SQL 2000 backup to tape capability to
backup databases directly to tape, but also allow
NTBackup (from Windows 2000 or Server 2003) to write to
the tape without over-writing the SQL data.
I know that I can use SQL backup to write the backups to
disk, but I cannot afford the disk space, as tapes are
far cheaper than disks...
Does SQL backup recognise that NTBackup data is written
to the tape? Or does NTBackup recognise a previous
session from SQL and then append?
If one recognises the other, then I can simply set the
timing to ensure that the more "stupid" of the backup
routines runs first...
Any help appreciated.Beginning with SQL 7 ( I beleive it was), the SQL group changed the SQL tape
backup format to match that of the OS backups, so they are now compatible,
you may put both on the same tape... (Just be sure to append, not
overwrite.)
--
Wayne Snyder, MCDBA, SQL Server MVP
Computer Education Services Corporation (CESC), Charlotte, NC
www.computeredservices.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
<myname@.discussions.microsoft.com> wrote in message
news:026801c3cdfb$aca4e940$a001280a@.phx.gbl...
> We want to use the SQL 2000 backup to tape capability to
> backup databases directly to tape, but also allow
> NTBackup (from Windows 2000 or Server 2003) to write to
> the tape without over-writing the SQL data.
> I know that I can use SQL backup to write the backups to
> disk, but I cannot afford the disk space, as tapes are
> far cheaper than disks...
> Does SQL backup recognise that NTBackup data is written
> to the tape? Or does NTBackup recognise a previous
> session from SQL and then append?
> If one recognises the other, then I can simply set the
> timing to ensure that the more "stupid" of the backup
> routines runs first...
> Any help appreciated.

backup to tape failed

I was trying to do a backup to tape but it failed with the following message:

Msg 3229, Level 16, State 2, Line 2

Request for device '\\.\Tape0' timed out.

Msg 3013, Level 16, State 1, Line 2

BACKUP DATABASE is terminating abnormally.

Any clues why this happened?

Any help is appreciated.

Take a look at the system event log and sql errorlogs.

You may have a hardware issue with the tape drive (or the connection to it...).

If the OS returned an error code to sql server, it will have been logged in the errorlog.

That 3229 is also raised if a tape mount was pending but a new tape was not loaded prior to the timeout. However, that instance should have "state = 1" and not 2 as you report.

|||

Thanks for the help. The problem was with the MEDIANAME. i was specifying a new Medianame.

If MEDIANAME is specified, it must match the previously specified media name already existing on the backup volume.

Thanks Anyways