Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Create Backup with chosen facility using T-SQL 2005

$
0
0

i am aware with basic database backup tquery -

BACKUP DATABASE smsDB 
TO DISK = 'C:\smsDB.BAK'
WITH DESCRIPTION = 'smsDB_FULL_TRUE_TRUE_0607'
GO

i need to take backup which satisfied below options, which i required with my backup and those are as follows -

1. Database name  : smsDB

2. Recover mode: SIMPLE/BULK-LOGGED/FULL

3. Overwrite if exists :TRUE

4. Verify backup: TRUE

5. Password Security :'AB$CD@321'

6. Save by other name :like smsDB_FULL_TRUE_TRUE_0607.bak

-- description part already done by me,

please help for these conditions with database backup, thanks in advance...


Pl. Mark/Proposed as Answer if found your solution Vote as Helpful if related to your topic. Always Motivate others by performing this Action.


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>