Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

I need a little MSDE 2000 help

 
   Database Forums (Home) -> MSDE RSS
Next:  SQL Server 2005 - VFPOLEDB Linked Server Provider  
Author Message
Clayton Sutton

External


Since: Apr 06, 2005
Posts: 7



(Msg. 1) Posted: Fri Dec 14, 2007 11:27 am
Post subject: I need a little MSDE 2000 help
Archived from groups: microsoft>public>sqlserver>msde, others (more info?)

Hey everyone,

I have a system that is running MSDE 2000 and we run the following script to
back it up:

osql -Usa -P -n -Q "Backup Database MyDB To Disk =
'E:\mssql7\backup\mydb.bak'"

The problem is that it appends and fills up my HD. Anyone know what I would
need to do to change it to "overwrite"?

TIA,


Clayton

 >> Stay informed about: I need a little MSDE 2000 help 
Back to top
Login to vote
Ekrem_Önsoy

External


Since: Aug 29, 2007
Posts: 192



(Msg. 2) Posted: Fri Dec 14, 2007 1:58 pm
Post subject: Re: I need a little MSDE 2000 help [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Change your script as the following:

osql -Usa -P -n -Q "Backup Database MyDB To Disk =
'E:\mssql7\backup\mydb.bak' WITH INIT"

It uses WITH NOINIT by default, so using WITH INIT will overwrite the older
backup file.


--
Ekrem Önsoy



"Clayton Sutton" wrote in message

> Hey everyone,
>
> I have a system that is running MSDE 2000 and we run the following script
> to back it up:
>
> osql -Usa -P -n -Q "Backup Database MyDB To Disk =
> 'E:\mssql7\backup\mydb.bak'"
>
> The problem is that it appends and fills up my HD. Anyone know what I
> would need to do to change it to "overwrite"?
>
> TIA,
>
>
> Clayton
>

 >> Stay informed about: I need a little MSDE 2000 help 
Back to top
Login to vote
Jesse Hersch

External


Since: Dec 10, 2007
Posts: 16



(Msg. 3) Posted: Fri Dec 14, 2007 9:16 pm
Post subject: Re: I need a little MSDE 2000 help [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I think it would be better to backup to a different file name from the last
backup. that way if the current backup fails, at least you still have
yesterday's backup.

when it succeeds, then you can delete the old and rename the new.

--
http://elsasoft.org



"Ekrem Önsoy" wrote in message

> Change your script as the following:
>
> osql -Usa -P -n -Q "Backup Database MyDB To Disk =
> 'E:\mssql7\backup\mydb.bak' WITH INIT"
>
> It uses WITH NOINIT by default, so using WITH INIT will overwrite the
> older backup file.
>
>
> --
> Ekrem Önsoy
>
>
>
> "Clayton Sutton" wrote in message
>
>> Hey everyone,
>>
>> I have a system that is running MSDE 2000 and we run the following script
>> to back it up:
>>
>> osql -Usa -P -n -Q "Backup Database MyDB To Disk =
>> 'E:\mssql7\backup\mydb.bak'"
>>
>> The problem is that it appends and fills up my HD. Anyone know what I
>> would need to do to change it to "overwrite"?
>>
>> TIA,
>>
>>
>> Clayton
>>
>
 >> Stay informed about: I need a little MSDE 2000 help 
Back to top
Login to vote
Russell Fields

External


Since: Feb 21, 2007
Posts: 457



(Msg. 4) Posted: Sat Dec 15, 2007 8:51 am
Post subject: Re: I need a little MSDE 2000 help [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

A recent discussion in one of these groups pointed out that the backup is
written to a temp file and when complete, the old file is deleted and the
new backup file renamed automatically. So, following Ekrem's advice should
preserve the previous backup if the current one fails. (A little bit of
built in safety from the SQL Server guys.)

RLF

"Jesse Hersch" wrote in message

>I think it would be better to backup to a different file name from the last
>backup. that way if the current backup fails, at least you still have
>yesterday's backup.
>
> when it succeeds, then you can delete the old and rename the new.
>
> --
> http://elsasoft.org
>
>
>
> "Ekrem Önsoy" wrote in message
>
>> Change your script as the following:
>>
>> osql -Usa -P -n -Q "Backup Database MyDB To Disk =
>> 'E:\mssql7\backup\mydb.bak' WITH INIT"
>>
>> It uses WITH NOINIT by default, so using WITH INIT will overwrite the
>> older backup file.
>>
>>
>> --
>> Ekrem Önsoy
>>
>>
>>
>> "Clayton Sutton" wrote in message
>>
>>> Hey everyone,
>>>
>>> I have a system that is running MSDE 2000 and we run the following
>>> script to back it up:
>>>
>>> osql -Usa -P -n -Q "Backup Database MyDB To Disk =
>>> 'E:\mssql7\backup\mydb.bak'"
>>>
>>> The problem is that it appends and fills up my HD. Anyone know what I
>>> would need to do to change it to "overwrite"?
>>>
>>> TIA,
>>>
>>>
>>> Clayton
>>>
>>
>
>
 >> Stay informed about: I need a little MSDE 2000 help 
Back to top
Login to vote
Jesse Hersch

External


Since: Dec 10, 2007
Posts: 16



(Msg. 5) Posted: Sat Dec 15, 2007 10:18 am
Post subject: Re: I need a little MSDE 2000 help [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I would say it's worth testing this behavior yourself before you rely on it.

--
http://elsasoft.org



"Russell Fields" wrote in message

>A recent discussion in one of these groups pointed out that the backup is
>written to a temp file and when complete, the old file is deleted and the
>new backup file renamed automatically. So, following Ekrem's advice should
>preserve the previous backup if the current one fails. (A little bit of
>built in safety from the SQL Server guys.)
>
> RLF
>
> "Jesse Hersch" wrote in message
>
>>I think it would be better to backup to a different file name from the
>>last backup. that way if the current backup fails, at least you still
>>have yesterday's backup.
>>
>> when it succeeds, then you can delete the old and rename the new.
>>
>> --
>> http://elsasoft.org
>>
>>
>>
>> "Ekrem Önsoy" wrote in message
>>
>>> Change your script as the following:
>>>
>>> osql -Usa -P -n -Q "Backup Database MyDB To Disk =
>>> 'E:\mssql7\backup\mydb.bak' WITH INIT"
>>>
>>> It uses WITH NOINIT by default, so using WITH INIT will overwrite the
>>> older backup file.
>>>
>>>
>>> --
>>> Ekrem Önsoy
>>>
>>>
>>>
>>> "Clayton Sutton" wrote in message
>>>
>>>> Hey everyone,
>>>>
>>>> I have a system that is running MSDE 2000 and we run the following
>>>> script to back it up:
>>>>
>>>> osql -Usa -P -n -Q "Backup Database MyDB To Disk =
>>>> 'E:\mssql7\backup\mydb.bak'"
>>>>
>>>> The problem is that it appends and fills up my HD. Anyone know what I
>>>> would need to do to change it to "overwrite"?
>>>>
>>>> TIA,
>>>>
>>>>
>>>> Clayton
>>>>
>>>
>>
>>
>
>
 >> Stay informed about: I need a little MSDE 2000 help 
Back to top
Login to vote
Clayton Sutton

External


Since: Apr 06, 2005
Posts: 7



(Msg. 6) Posted: Mon Dec 17, 2007 4:01 pm
Post subject: Re: I need a little MSDE 2000 help [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks guys for all of your input. I will give it a try! Have a great
Xmas.


Clayton



"Jesse Hersch" wrote in message

>I would say it's worth testing this behavior yourself before you rely on
>it.
>
> --
> http://elsasoft.org
>
>
>
> "Russell Fields" wrote in message
>
>>A recent discussion in one of these groups pointed out that the backup is
>>written to a temp file and when complete, the old file is deleted and the
>>new backup file renamed automatically. So, following Ekrem's advice
>>should preserve the previous backup if the current one fails. (A little
>>bit of built in safety from the SQL Server guys.)
>>
>> RLF
>>
>> "Jesse Hersch" wrote in message
>>
>>>I think it would be better to backup to a different file name from the
>>>last backup. that way if the current backup fails, at least you still
>>>have yesterday's backup.
>>>
>>> when it succeeds, then you can delete the old and rename the new.
>>>
>>> --
>>> http://elsasoft.org
>>>
>>>
>>>
>>> "Ekrem Önsoy" wrote in message
>>>
>>>> Change your script as the following:
>>>>
>>>> osql -Usa -P -n -Q "Backup Database MyDB To Disk =
>>>> 'E:\mssql7\backup\mydb.bak' WITH INIT"
>>>>
>>>> It uses WITH NOINIT by default, so using WITH INIT will overwrite the
>>>> older backup file.
>>>>
>>>>
>>>> --
>>>> Ekrem Önsoy
>>>>
>>>>
>>>>
>>>> "Clayton Sutton" wrote in message
>>>>
>>>>> Hey everyone,
>>>>>
>>>>> I have a system that is running MSDE 2000 and we run the following
>>>>> script to back it up:
>>>>>
>>>>> osql -Usa -P -n -Q "Backup Database MyDB To Disk =
>>>>> 'E:\mssql7\backup\mydb.bak'"
>>>>>
>>>>> The problem is that it appends and fills up my HD. Anyone know what I
>>>>> would need to do to change it to "overwrite"?
>>>>>
>>>>> TIA,
>>>>>
>>>>>
>>>>> Clayton
>>>>>
>>>>
>>>
>>>
>>
>>
>
>
 >> Stay informed about: I need a little MSDE 2000 help 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
SQL Server 2000 v MSDE2000 - How do we can ascertain if either the full version of sql server 2000 has been installed, or MSDE 2000 on a computer?

MSDE 8 and MSDE 2000 - Hello, I have MSDE 8 installed on my Win2k server as it is is required by Veritas Backup Exec.I would also likw to use this server for WSUS, which requires MSDE 2000. Can these co-exist on the same server? Thanks

MSDE - Hi Trying to install Microsoft SQL Server 2000 Service Pack 4 on Win XP machine. MSDE 2000 Sp3 already installed on D: drive, instance name= db1 In enterprise manager the db appears as ABC-111\DB1 ABC-111 is the name of the machine I am using mixed..

SQL NS and MSDE - Hi, I develop an App with SQL 2000 and some customers run it under MSDE - no problems. I plan to add funtionality to the App and use NS (notification service) will this also run on MSDE, or do there exist any limitations (e.g. costs), so I shouldn't...

About the new MSDE - I am in the process of downgrading an MSDE database to a Jet (Access) database for the following reason: 1. Size: Deployment of an MSDE database engine is inflating my distribution file (Setup.exe) over 20 Megs! With an Access database this number is....
   Database Forums (Home) -> MSDE All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]