r/SQLServer • u/pneRock • Feb 05 '26
Question Reducing bandwidth use for backups
We're in AWS. The mssql server databases are based on network storage (fsx windows) to accomodate failover to another az. We've had to oversize the fsx throughput solely due to backups. It looks like there isn't a great way to throttle the output and all the methods I saw look to cap CPU use (which works, just seems strange to me). We're planning a migration to 2022/2025, so backup to S3 will become an option. In testing, I can't push to S3 as fast as network storage. So we're limited in that way, but that seems to be about it. Explored TSQL backups, but since I can't move them to another system it wasn't really a backup.. Is there anything else I can do?
For background, we're active/active with a single FSX instance. So there is significant cross AZ chatter and the cost that comes with it (both in $ and latency). If we can reduce throughput, than we can create another instance.
Is
•
u/AutoModerator Feb 05 '26
After your question has been solved /u/pneRock, please reply to the helpful user's comment with the phrase "Solution verified".
This will not only award a point to the contributor for their assistance but also update the post's flair to "Solved".
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
3
u/PleasantPractice9296 Feb 05 '26
Are the backups compressed?
3
u/jdanton14 Microsoft MVP Feb 05 '26
There are a number of things I see here:
You don't have a lot of options here, because in an FCI you can only backup to a clustered disk or a file share. You might be able to do something hacky with a local file share, but it's not a great solution, IMO. Like u/SQLBek says, I would get to 2025 and backup to S3. You also get better compression.
2
u/muaddba 1 Feb 07 '26
It sounds like you want to throttle the IO going to fsx during backup operations, because it overwhelms the other traffic. If that's truly what you want to do and you understand it will make the backups take longer, you can use the BUFFERCOUNT parameter to limit how much data the backup is gathering at any given point.
I've bumped it up to 250-300 when I want to maximize throughput, and dropped it as low as 5 when I saw backups having an adverse effect on cpu on a very small server. Test it and see if it helps. You can use trace flag 3213 to see what values sql is using currently (it varies a bit and there is no default), just check in the sql log once the backups complete. Ola hallengren scripts allow you to adjust the buffercount.
1
u/santathe1 Feb 05 '26
Out of curiosity, does “Active-Active” in your case mean there are 2 SQL Instances on each server and 1 is active on each server at any given time?
1
u/B1zmark 1 Feb 05 '26
Enabling compression does increase CPU usage, but it drops DB backup files by a LOT. There's no better way to shrink their size.
Other options include doing a weekly full backup, then doing differentials each day. Restores are a pain in the ass, but it reduces overall storage and transfer size.
1
u/SQLBek 1 Feb 05 '26
Why can't you push to S3 "as fast as network storage?" S3 is an ethernet protocol. What tuneables are you using with your backup statement?
2
u/7amitsingh7 Feb 10 '26
There’s no secret “use less bandwidth” knob in SQL Server backups, unfortunately. The only real levers you have are making the backup smaller or changing how/where you send it. Compression is the big one and should be on everywhere if it’s already enabled, you’re kind of at the mercy of the data. After that, people usually solve this outside SQL Server: back up locally first and copy it off later, throttle the network copy, or use a dedupe/compressed target so you’re not shoving the same bits over the wire every night. SQL Server itself just streams the backup as fast as it can; bandwidth control is a networking/storage problem, not a database setting.
1
u/pbarryuk 1 Feb 05 '26
I’m not sure I totally understand the requirements as I live in Azure, not AWS, but if you want to reduce the IOPS that are utilised by the backup operation (which is counter intuitive to the comment about pushing S3) and you have SQL Server Enterprise Edition 2014 or newer then Resource Governor allows you to limit by IOPS.