PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.sqlserver.server > Backing up MSDE
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Backing up MSDE

Réponse
 
LinkBack Outils de la discussion
Vieux 17/06/2008, 18h25   #1
Vic Abrahamian
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Backing up MSDE

Hi,
I use MSDE with latest service pack. As you may know MSDE is not Volume
Shadow Copy aware. I have a backup software which requires me to stop MSDE
before it can properly backup the none-vss-aware (volume shadow copy)
database.
I need to remotely send a command to stop MSDE before starting the backup,
anyone knows the command string I need to use?
Thank you
  Réponse avec citation
Vieux 17/06/2008, 19h01   #2
David Hay
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Backing up MSDE

On Jun 17, 12:25 pm, Vic Abrahamian
<VicAbraham...@discussions.microsoft.com> wrote:
> Hi,
> I use MSDE with latest service pack. As you may know MSDE is not Volume
> Shadow Copy aware. I have a backup software which requires me to stop MSDE
> before it can properly backup the none-vss-aware (volume shadow copy)
> database.
> I need to remotely send a command to stop MSDE before starting the backup,
> anyone knows the command string I need to use?
> Thank you


You really should be doing SQL backups not filesystem backups of SQL
databases. Set your backup software to ignore .MDF, .NDF, and .LDF
files.
Use SQL to back up the databases to a backup location on disk. Then
let your backup software back those up. I doubt a file system restore
will get you what you need in a production setting.

Just for knowledge, stopping and starting SQL with the CMD prompt


rem stop sql
rem stop sql agent first
net stop sqlagent
net stop sqlservr


rem start sql
rem start sql agent last
net start sqlservr
net start sqlagent



Look into "net stop" and "net start" if it is being done locally.
Create a batch file to stop it, and another to restart it after the
backup. If it's remote there's a program called SC.

See below

http://www.itnewsgroups.net/group/mi...topic4164.aspx

Good luck!

David Hay
  Réponse avec citation
Vieux 17/06/2008, 20h27   #3
Vic Abrahamian
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Backing up MSDE

Thank you, we do backup the MSDE database using OSQL.
But I'm trying to do a symantec system recover type backup which creates a
complete image of the drive and to do it properly it requires the MSDE to be
stopped.
I have one question:
the commands below, are they arun on the server or can I do it remotely by
typing the server name? For example:

net stop sqlservr \\MSDE_SERVER_Name

thank you

"David Hay" wrote:

> On Jun 17, 12:25 pm, Vic Abrahamian
> <VicAbraham...@discussions.microsoft.com> wrote:
> > Hi,
> > I use MSDE with latest service pack. As you may know MSDE is not Volume
> > Shadow Copy aware. I have a backup software which requires me to stop MSDE
> > before it can properly backup the none-vss-aware (volume shadow copy)
> > database.
> > I need to remotely send a command to stop MSDE before starting the backup,
> > anyone knows the command string I need to use?
> > Thank you

>
> You really should be doing SQL backups not filesystem backups of SQL
> databases. Set your backup software to ignore .MDF, .NDF, and .LDF
> files.
> Use SQL to back up the databases to a backup location on disk. Then
> let your backup software back those up. I doubt a file system restore
> will get you what you need in a production setting.
>
> Just for knowledge, stopping and starting SQL with the CMD prompt
>
>
> rem stop sql
> rem stop sql agent first
> net stop sqlagent
> net stop sqlservr
>
>
> rem start sql
> rem start sql agent last
> net start sqlservr
> net start sqlagent
>
>
>
> Look into "net stop" and "net start" if it is being done locally.
> Create a batch file to stop it, and another to restart it after the
> backup. If it's remote there's a program called SC.
>
> See below
>
> http://www.itnewsgroups.net/group/mi...topic4164.aspx
>
> Good luck!
>
> David Hay
>

  Réponse avec citation
Vieux 17/06/2008, 21h00   #4
David Hay
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Backing up MSDE


Download the netsvc file from

http://www.petri.co.il/download_free_reskit_tools.htm

Put it in system or system32

then you will need a batch file like this

rem to stop sql
netsvc "sqlserveragent" \\targetserver /stop
netsvc "mssqlserver" \\targetserver /stop


rem perform backup

rem to start sql
netsvc "sqlserveragent" \\targetserver /start
netsvc "mssqlserver" \\targetserver /start

Or you can use the net stop / net start commands via the local task
scheduler.

Hope that s.

David
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 03h19.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12508 seconds with 12 queries