473,396 Members | 1,840 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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

Jul 23 '05 #1
1 2352
(gc****@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\Administrators, 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, es****@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jean Hagen | last post by:
Hi, I'm a new user of MySQL on Linux. I have been an Oracle DBA; and know that anyone familiar with Oracle takes backup procedures very seriously.... Anyone have recommendations for nightly...
3
by: John Smith | last post by:
Hi I am currently reviewing our backup procedures. Part of the issue has been finding the right fit. There are obviously backup products that provide mysql agents but unfortunately can not for...
2
by: JustaCowboy | last post by:
Greetings, I am seeking information related to this subject. BOL suggests backing up the active transaction log immediately after a failure, so that the backup can be used in a recovery scenario...
2
by: mediodia | last post by:
Im trying to recover my database using the mdf and ldf files. I dont have any backup and i have recovered two of the mdf files using a tool which "discovers" deleted files after hard drive...
3
by: Raquel | last post by:
I am a newbie to UDB and reading the backup processes on UDB which look pretty good to me. Now, if these good backup and recovery procedures are already available 'within' UDB, what extra...
3
by: UnixSlaxer | last post by:
Hello, - I have a database, which i want to backup, not only the data, but also the indexes and views/procedures associated with it. Is the backup/restore operations (Through the DB2 Control...
4
by: Nesa | last post by:
I have a question related to backup and restore procedures; When backing up and then restoring a DB2 database on another machine, does the process copy all of user defined store procedures and...
1
by: Steve F | last post by:
i have a copy of a SQL Server 2000 database on an external hardrive. I have SQL Enterprise Manager 2005 on my laptop and was wondering if it is possible to view the backup on my laptop when...
2
mgpsivan
by: mgpsivan | last post by:
Hi, How can we backup or restore a database with all its tables,procedures,views,triggers etc., when i tried using mysqldump command i'm able to backup the tables and procedures alone.But...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.