Unix Technical Forum

Master File not Accessible for Copying

This is a discussion on Master File not Accessible for Copying within the SQL Server forums, part of the Microsoft SQL Server category; --> Re SQL Server 2005 Express When I attempt to copy the master file for backing up, it is being ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 08:29 PM
Zach
 
Posts: n/a
Default Master File not Accessible for Copying

Re SQL Server 2005 Express

When I attempt to copy the master file for backing up, it is being used by
another application, even after shutting down the PC completely and powering
it up again. What can I do to make back-ups?

Zach


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 08:29 PM
Dan Guzman
 
Posts: n/a
Default Re: Master File not Accessible for Copying

Use a BACKUP DATABASE Transact-SQL command to backup SQL Server database
files. For example:

BACKUP DATABASE master
TO DISK='C:\Backups\master.bak'
WITH INIT

Not only does this allow you to take hot backups while the SQL server
service is running, the backup file size is less than the database file
sizes because only used space is backed up.

--
Hope this helps.

Dan Guzman
SQL Server MVP

"Zach" <not@all.accessible> wrote in message
news:45152c09$0$742$5fc3050@dreader2.news.tiscali. nl...
> Re SQL Server 2005 Express
>
> When I attempt to copy the master file for backing up, it is being used by
> another application, even after shutting down the PC completely and
> powering
> it up again. What can I do to make back-ups?
>
> Zach
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-29-2008, 08:29 PM
Zach
 
Posts: n/a
Default Re: Master File not Accessible for Copying

"Dan Guzman" <guzmanda@nospam-online.sbcglobal.net> wrote in message
news:RYbRg.4502$6S3.3904@newssvr25.news.prodigy.ne t...
> Use a BACKUP DATABASE Transact-SQL command to backup SQL Server database
> files. For example:
>
> BACKUP DATABASE master
> TO DISK='C:\Backups\master.bak'
> WITH INIT
>
> Not only does this allow you to take hot backups while the SQL server
> service is running, the backup file size is less than the database file
> sizes because only used space is backed up.


Thank you (done),
Zach.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:24 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com