Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BACKUP DATABASE PASSWORD

Status
Not open for further replies.

password99

Technical User
Jul 19, 2002
122
US
hOW DO i SPECIFY THE PASSWORD FOR for the backup set? If I specify the PASSWORD option I get this error:

Server: Msg 3278, Level 16, State 1, Line 1
Failed to encrypt string -2146893809(Object already exists.)
Server: Msg 3013, Level 16, State 1, Line 1
BACKUP DATABASE is terminating abnormally.

If I remove the password option it works fine. This is a new file name that I am specifying (does not exist)

This is what I am calling:

BACKUP DATABASE pubs
TO DISK = 'C:\ALL\MYPUBS091203.DAT'
WITH
DESCRIPTION = 'pubs backup',
PASSWORD = 'mypassword' ,
NOFORMAT,
NAME = 'Full Backup of MyPubs'
 
why dont you do this and check it out what is object:2146893809?

select * from sysobjects where id = 2146893809
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top