Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 BACKUP @ MULTIPLE LOCATION

Author  Topic 

sqlserverdba
Yak Posting Veteran

53 Posts

Posted - 2009-05-03 : 07:51:44
Hi,

I'm plaaning to take backup at mulitple location.
One to local other to NAS device.
SQLSERVER 2000

Can I schedule backup @ mutilple location thru DATABASE MAINTENANACE JOB in single job?
I normally do take backup locally and copy files to NAS.What is the best practices?

Does this possible in SQLSERVER 2005 or SQLSERVER 2008?
Thanks,

robvolk
Most Valuable Yak

15732 Posts

Posted - 2009-05-03 : 09:18:52
quote:
I normally do take backup locally and copy files to NAS.What is the best practices?
That is the best practice.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-05-03 : 23:41:54
Why would you take multiple backups? Why don't you instead take one backup and then copy it to wherever else you need?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

chriztoph
Posting Yak Master

184 Posts

Posted - 2009-05-26 : 21:31:25
hi!

use this to backup with the same copy in multiple location...

USE [Your_Database_Name]
GO

BACKUP DATABASE [Your_Database_Name]
TO DISK = [PATH/LOCATION WHERE TO BACKUP YOUR DATABASE "Your_Database_Name.BAK"]
MIRROR TO DISK = [PATH WHERE YOU WANT TO LOCATE THE COPY OF YOUR DATABASE "Your_Database_Name.BAK"]
WITH FORMAT
GO

BACKUP LOG [Your_Database_Name]
TO DISK = [PATH/LOCATION WHERE TO BACKUP YOUR DATABASE "Your_Database_Name_log.BAK"]
GO


OR SPLIT YOUR DATABASE IN DIFFERENT LOCATION

BACKUP DATABASE [Your_Database_Name]
TO DISK = [PATH/LOCATION WHERE TO BACKUP YOUR DATABASE "Your_Database_Name1.BAK"]
DISK = [PATH/LOCATION WHERE TO BACKUP YOUR DATABASE "Your_Database_Name2.BAK"]
DISK = [PATH/LOCATION WHERE TO BACKUP YOUR DATABASE "Your_Database_Name3.BAK"]
GO

BACKUP LOG [Your_Database_Name]
TO DISK = [PATH/LOCATION WHERE TO BACKUP YOUR DATABASE "Your_Database_Name_log.BAK"]
GO
Go to Top of Page
   

- Advertisement -