Re: Backup SQL Server
- From: Erland Sommarskog <esquel@xxxxxxxxxxxxx>
- Date: Mon, 8 May 2006 21:52:50 +0000 (UTC)
Jos Roijakkers (j.roijakkers@xxxxxxxxxx) writes:
I use MS SQL Server Express 2005 (the 'unpaid' version). I managed to
create a backup of my database using an option onder 'Server Objects'.
My questions:
1. Is it possible to schedule this backup or is this only a feature of the
full version of MS SQL Server?
SQL Express does not come with SQL Server Agent. But isn't there some sort
of scheduler built-in in Windows? You spark off a BACKUP command from
OSQL that you schuedule.
2. How can I restore a database from a backup?
You use the RESTORE command, which is documented in Books Online. The
simple operation is:
RESTORE DATABASE db FROM DISK = 'c:\backup\yourbackup.bak'
It gets more complicated if you want to restore the database under a
different name.
There is also a dialogue for restoring databases in SQL Server Management
Studio Express. (At least I assume there is.)
--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.
- Follow-Ups:
- Re: Backup SQL Server
- From: Jos Roijakkers
- Re: Backup SQL Server
- References:
- Backup SQL Server
- From: Jos Roijakkers
- Backup SQL Server
- Prev by Date: Re: SSMS05 : turn on line numbers
- Next by Date: Re: Backup SQL Server
- Previous by thread: Backup SQL Server
- Next by thread: Re: Backup SQL Server
- Index(es):
Relevant Pages
|