cancel
Showing results for 
Search instead for 
Did you mean: 

Full backup fails when log file is included in the backup

fvestjens
Participant
1,069

The full backup of the database is not running properly when TRANSACTION is used in the backup sctript

We have an event that backups the database using the following line:

 BACKUP DATABASE DIRECTORY 'F:\\\\Backup\\\\Source\\\\BackupFull\\\\MMP_DH' TRANSACTION LOG RENAME;

When it is started I get the following error:

The maintenance plan has ended because of the following error:
Syntax error near 'backup option'
SQLSTATE: 42W04
SQLCODE:  -131

If I remove the TRANSACTION LOG RENAME part everything is running fine.

The version we use is 17.0.1.5963

What might be causing this?

Accepted Solutions (0)

Answers (0)