Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

SQL Backup procedures...
Can anyone recommend backup procedures for a SQL Server/MSDE product?
We have upgraded our program from Access to SQL & before we could just
tell our customers what .mdb files to include on their backup script.

Now with SQL, the BACKUP/RESTORE SQL commands work as backups, but
would involve a separate process for our customers to execute, when
what they know right know is to copy the .mdb files.

Is there a way they can backup the database files associated with our
program in SQL with whatever backup procedures they do?  Would it be
reliable for them to just include the .mdf & .ldf files that go with
our database on their backup script - if they needed to do a restore
could they just copy that file back and the SQL/MSDE engines would
recognize it?

Our program is for SQL Server or MSDE - and in the MSDE case the user
would not know password to be able to manually run the Backup/restore
commands.

Thanks for any help,
Greg


Report this thread to moderator Post Follow-up to this message
Old Post
gcetti@nauticom.net
04-28-05 01:24 AM


Re: SQL Backup procedures...
(gcetti@nauticom.net)  writes:
> Can anyone recommend backup procedures for a SQL Server/MSDE product?
> We have upgraded our program from Access to SQL & before we could just
> tell our customers what .mdb files to include on their backup script.
>
> Now with SQL, the BACKUP/RESTORE SQL commands work as backups, but
> would involve a separate process for our customers to execute, when
> what they know right know is to copy the .mdb files.
>
> Is there a way they can backup the database files associated with our
> program in SQL with whatever backup procedures they do?  Would it be
> reliable for them to just include the .mdf & .ldf files that go with
> our database on their backup script - if they needed to do a restore
> could they just copy that file back and the SQL/MSDE engines would
> recognize it?

Normally, you cannot backup an SQL Server database with Windows
backup. This is because the backup would not be transactionally
consistent, if there is activity in the database while the backup
is running.

However, if you set the database offline prior to taking the backup,
or simply stop SQL Server, backing up the MDF and LDF files works
fine.

I don't know about Access, but reasonly the same applies there - you
cannot just copy thy MDB file, if there are activity going on.

Note that if you do with Windows backup, you must set the database in
simple recovery, so that the transaction log is regularly truncated.
Else the disk will explode after some time.

If you want up-to-the-point recovery, then there is no alternative
to SQL Server Backup. (Save for 3rd party softwares like LiteSpeed,
but that's targeted for bigger databases.)

> Our program is for SQL Server or MSDE - and in the MSDE case the user
> would not know password to be able to manually run the Backup/restore
> commands.

They can always log in with Windows Authentication. And, unless you
drop  BUILTIN\Administrato
rs, the users can log with Admin privs.
I mention this, in case you believe that you have your intellectual
property by a password.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp

Report this thread to moderator Post Follow-up to this message
Old Post
Erland Sommarskog
04-28-05 01:24 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

Microsoft SQL Server forum archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 08:28 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006