Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup to URL not working for one larger database #877

Closed
nwolfman65 opened this issue Jan 23, 2025 · 3 comments
Closed

Backup to URL not working for one larger database #877

nwolfman65 opened this issue Jan 23, 2025 · 3 comments

Comments

@nwolfman65
Copy link

Doing the following:
EXECUTE [dbo].[DatabaseBackup]
@databases = 'D1, D2',
@url = 'https://xxxxx.blob.core.windows.net/backups',
@BackupType = 'FULL',
@verify = 'Y',
@Checksum = 'Y',
@LogToTable = 'Y',
@MaxFileSize=150000

The D2 database which is less than MaxFileSize backups cleanly
The D1 database which take about 6 file, get an error. I cant see the error in the log as before stating the error it runs our of characters.

When I do
EXECUTE [dbo].[DatabaseBackup]
@databases = 'D1, D2',
@Directory = 'S:\BACKUP',
@BackupType = 'FULL',
@verify = 'Y',
@Cleanuptime = 96,
@Checksum = 'Y',
@LogToTable = 'Y',
@MaxFileSize=150000

This does complete cleanly, which is why I know about the 6 files.

@olahallengren
Copy link
Owner

I cant see the error in the log as before stating the error it runs our of characters.

I don't understand this part

Do you have output - files configured for the jobs?
What happens if you execute it in SSMS?

@nwolfman65
Copy link
Author

Haven't tried to execute directly in SSMS, will do that tonight.

@nwolfman65
Copy link
Author

I added these two options and it then works:
@MaxTransferSize=4194304,
@Blocksize=65536

EXECUTE [dbo].[DatabaseBackup]
@databases = 'D1, D2',
@url = 'https://xxxxx.blob.core.windows.net/backups',
@BackupType = 'FULL',
@verify = 'Y',
@Checksum = 'Y',
@LogToTable = 'Y',
@MaxFileSize=150000,
@compress='Y',
@MaxTransferSize=4194304,
@Blocksize=65536

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants