Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#261096 - 21/07/2005 16:19 SQL database backup question
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
My wife's business uses a piece of client/server software called "Encompass", by the company "Ellie Mae".

I just got off of their tech support line. I asked them how to back up the server's data, and they said they don't support that. WHAT?

What they mean is, they can tell us what needs to be backed up, but not HOW to do it. Because they don't want to be held responsible for our data going south.

Anyhoo, one of the things that needs to get backed up is the SQL database. Their software installs MSDE (Microsoft Database Engine, which is essentially SQL Lite), and their database within MSDE is called "EMMSDE" (Ellie Mae MSDE). Their installation doesn't include tools such as the SQL Enterprise Manager, which is what I'd normally use to back up the data.

There are a lot of cryptic script commands that I could use with MSDE to back it up, but I'm wondering if it's much simpler than that.

There is a folder...

\Program Files\Microsoft SQL Server\MSSQL$EMMSDE\Data

...which looks like it contains the data I want. If I stop the MSSQL$EMMSDE service, back up that folder, then restart the service, does that mean I've successfully backed it up? And if so, is restoration a similar procedure?
_________________________
Tony Fabris

Top
#261097 - 21/07/2005 16:32 Re: SQL database backup question [Re: tfabris]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
As long as SQL is completely down, you should be able to backup and restore the folders and have it work.

A good / quick way to test is to shut it down, rename the existing folder and copy it back to the original name. See if it starts cleanly. If it does, you have just created your first successful backup; otherwise, shut it down again, rename the original back and restart.
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#261098 - 21/07/2005 16:37 Re: SQL database backup question [Re: pgrzelak]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Excellent. Thanks.
_________________________
Tony Fabris

Top
#261099 - 21/07/2005 17:08 Re: SQL database backup question [Re: tfabris]
JBjorgen
carpal tunnel

Registered: 19/01/2002
Posts: 3582
Loc: Columbus, OH
Incidentally, that works with just about any database engine. I do that with mysql all the time.
_________________________
~ John

Top
#261100 - 21/07/2005 22:40 Re: SQL database backup question [Re: tfabris]
g_attrill
old hand

Registered: 14/04/2002
Posts: 1172
Loc: Hants, UK
Here is a little administrative tool which does most of the stuff that Enterprise Manager does, certainly everything I've ever needed to do on machines that didn't have it installed.

Gareth

Top
#261101 - 21/07/2005 23:28 Re: SQL database backup question [Re: g_attrill]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Oo, nifty, thanks!
_________________________
Tony Fabris

Top
#261102 - 22/07/2005 23:25 Re: SQL database backup question [Re: tfabris]
Shonky
pooh-bah

Registered: 12/01/2002
Posts: 2009
Loc: Brisbane, Australia
NB: You can't backup a live DB the way Paul has suggested (he does mention that).

If there is no problem taking the DB down for a few minutes after hours then no problem.

If you want to backup to tape, that's going to get a bit more complicated unless there is no problem taking the DB down before the backup and bringing it back up after the tape finishes (i.e. a longish time).
_________________________
Christian
#40104192 120Gb (no longer in my E36 M3, won't fit the E46 M3)

Top
#261103 - 23/07/2005 15:07 Re: SQL database backup question [Re: Shonky]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Quote:
If you want to backup to tape, that's going to get a bit more complicated unless there is no problem taking the DB down before the backup and bringing it back up after the tape finishes (i.e. a longish time).

Or you could shut the database down, copy the files, start the database back up, then backup the copies.
_________________________
Bitt Faulk

Top