write the query for taking database backup in sql

Answer Posted / madhu

BACKUP DATABASE
[db_SourceDbName] --SOURCE DB
TO DISK = N'\\192.168..124\db_TragetDbName.BAK' -- LOCATION
FILE NAME
WITH
NOFORMAT,
NOINIT,
NAME = N'myDbFull Backu[p-Full Database Backup',
SKIP,
NOREWIND,
NOUNLOAD,
STATS = 10
GO

Is This Answer Correct ?    36 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sub query and its properties?

547


What is stretch database in sql server?

569


Describe different Processing Modes offered by SSRS?

164


How to create a testing table with test data in ms sql server?

558


What is a db view?

519






Where the sql logs gets stored? : sql server database administration

528


How to resolve the orphan use problem? : sql server security

527


Tell me what is normalization? Explain different forms of normalization?

546


What are indexes in sql?

579


What are the advantages of having an index on the sql server?

544


Explain the architecture of ms sql reporting service?

534


How do I shrink an ldf file?

571


How many types of functions are there in sql server?

463


What is temporary stored procedure?

548


How to throw custom exception in Stored Procedure?

578