Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 sql db backup
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 27 January 2004 :  12:45:47  Show Profile
I'm totally clueless when it comes to sql server. what do I need to do to backup a sql database to another server? I saw there is a feature in sql server to do backups, but can I just copy the necessary files to the other server? I'm trying to write a script that will copy over other files as well, so I wanted to include the database in the same script.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 27 January 2004 :  13:55:15  Show Profile  Visit HuwR's Homepage
yes, you can just transfer the tables etc from one db to another, use the dts wizard, you can then save this as a script which you can run whenever you want
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 27 January 2004 :  13:56:13  Show Profile  Visit HuwR's Homepage
if you have the same users set up on both servers, do an 'object coby' rather than a 'table transfer'
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 27 January 2004 :  14:12:02  Show Profile
what i decided to do was use em to do a backup to another folder on the server and then i'll just copy the backup file to our "backup" server.

when i said script, i was talking a simple batch file or vbs script for copying folders and files.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 27 January 2004 :  17:20:06  Show Profile  Visit HuwR's Homepage
in order to copy the database files you must first unattach it from it's existing server, you can then safely copy them to another server and attach them again, trying to copy them without detaching may mean the two databases get out of sync.
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 27 January 2004 :  18:17:56  Show Profile
i'm just copying the file to a drive for backup ... the place where i'm copying it does not have sql server, so i don't think there is a possibility of attaching ... i don't even know what that is. i did set a backup job in EM, and it seemed to work fine, i.e. creating the backup database in a different folder. this backup database is not attached ... at least i don't think it is. i should be safe then, yes?

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 27 January 2004 :  19:23:36  Show Profile  Visit HuwR's Homepage
yes if you are using EM to do the backup.
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 27 January 2004 :  19:26:09  Show Profile
cool.

<edit> thanks! </edit>

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~

Edited by - Nikkol on 27 January 2004 19:26:41
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.93 seconds. Powered By: Snitz Forums 2000 Version 3.4.07