Skip to content

Trying to backup all databases except one database is not working #646

Discussion options

You must be logged in to vote

Sorry, mistake in my example. There is a single quote after USER_DATABASES that should be removed. The CVS string should be in a single pair of single quotes.

EXECUTE [dbo].[DatabaseBackup]
@databases = 'USER_DATABASES, -database1’
@Directory = NULL,
@BackupType = 'FULL',
@verify = 'Y',
https://github.com/Cleanuptime = NULL,
@Checksum = 'Y',
@LogToTable = 'N'

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@jdrobish
Comment options

Comment options

You must be logged in to vote
1 reply
@jdrobish
Comment options

Answer selected by jdrobish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants