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 > Backup and Restore
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Backup and Restore

Réponse
 
LinkBack Outils de la discussion
Vieux 02/09/2008, 20h28   #1
Arne Garvander
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Backup and Restore

I need to backup data on Computer A and restore on Computer B.
How do I do that?
Both are SQL Server 2005.
--
Arne Garvander
(I program VB.Net for fun and C# to get paid.)
  Réponse avec citation
Vieux 02/09/2008, 20h36   #2
John Bell
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Backup and Restore


"Arne Garvander" <ArneGarvander@discussions.microsoft.com> wrote in message
news:FB00824B-22CA-4BC6-83BA-809388A54699@microsoft.com...
>I need to backup data on Computer A and restore on Computer B.
> How do I do that?
> Both are SQL Server 2005.
> --
> Arne Garvander
> (I program VB.Net for fun and C# to get paid.)


Hi

If you want to do this in T-SQL lookup the BACKUP command in Books Online.
If you want to use Management studio right click the database and you will
see backup/restore commands on the tasks menu. You can either backup locally
and copy the backup file or backup and/or restore using UNC reference.

John

  Réponse avec citation
Vieux 02/09/2008, 20h50   #3
Arne Garvander
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Backup and Restore

I tried backup and restore but I must have done something wrong. It did not
work.
Then I tried detach, copy, and attach. That route worked fine.
--
Arne Garvander
(I program VB.Net for fun and C# to get paid.)


"John Bell" wrote:

>
> "Arne Garvander" <ArneGarvander@discussions.microsoft.com> wrote in message
> news:FB00824B-22CA-4BC6-83BA-809388A54699@microsoft.com...
> >I need to backup data on Computer A and restore on Computer B.
> > How do I do that?
> > Both are SQL Server 2005.
> > --
> > Arne Garvander
> > (I program VB.Net for fun and C# to get paid.)

>
> Hi
>
> If you want to do this in T-SQL lookup the BACKUP command in Books Online.
> If you want to use Management studio right click the database and you will
> see backup/restore commands on the tasks menu. You can either backup locally
> and copy the backup file or backup and/or restore using UNC reference.
>
> John
>
>

  Réponse avec citation
Vieux 03/09/2008, 10h29   #4
Ekrem Önsoy
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Backup and Restore

If you are looking for an answer to the problem you experienced with
back\restore then you should tell us the error message you got.

However, I guess it failed because you ignored to consider the databases
files' path. The paths might be different on your Com A and Com B. I mean,
the files paths on Com A may not be existed on Com B and if you don't take
this into account then your restore simply fails.

--
Ekrem Önsoy



"Arne Garvander" <ArneGarvander@discussions.microsoft.com> wrote in message
news:68E3A1F8-6723-4DF2-A436-D2AB28D97E8E@microsoft.com...
>I tried backup and restore but I must have done something wrong. It did not
> work.
> Then I tried detach, copy, and attach. That route worked fine.
> --
> Arne Garvander
> (I program VB.Net for fun and C# to get paid.)
>
>
> "John Bell" wrote:
>
>>
>> "Arne Garvander" <ArneGarvander@discussions.microsoft.com> wrote in
>> message
>> news:FB00824B-22CA-4BC6-83BA-809388A54699@microsoft.com...
>> >I need to backup data on Computer A and restore on Computer B.
>> > How do I do that?
>> > Both are SQL Server 2005.
>> > --
>> > Arne Garvander
>> > (I program VB.Net for fun and C# to get paid.)

>>
>> Hi
>>
>> If you want to do this in T-SQL lookup the BACKUP command in Books
>> Online.
>> If you want to use Management studio right click the database and you
>> will
>> see backup/restore commands on the tasks menu. You can either backup
>> locally
>> and copy the backup file or backup and/or restore using UNC reference.
>>
>> John
>>
>>


  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 06h11.


É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,09209 seconds with 12 queries