Permabanned
- Joined
- 28 Dec 2009
- Posts
- 13,052
- Location
- london
I have a database in SQL 2012 sp1. It is 16gb in size.. The log file size is 36gb. I don't have any space issues on the sql server however i do on the backup server where the backups are being copied.
I like to keep two days of backups on the backup server that are copied to tape every day and goes off site. I also have a log backup running every two hours.
The question i have is around log truncation and backing up the log files. I notice that the log files never decrease in size, even though the logs are backed up every two hours, I don't think they are backed up with truncation because in side the maintenance plan sub plan for backing up logs there is no truncation options.
The thing is when this gets backed up it leads to about 100gb of space being used and i would like to avoid backing up 40gb of logs every day.
I assume this is because every time it does a full backup it then has to restart the log backup, because older backups are removed older than two days. this is why it has to always backup the whole 30+gb of log files?
Does this all seem normal to you? This is what the backup folder looks like.
Ideally i would like to reduce the log file down in size but i don't think that is possible as it will just increase, i would also like to avoid having to backup 40gb everyday, how can i avoid big log backups and still have 2 hour restore time?
I like to keep two days of backups on the backup server that are copied to tape every day and goes off site. I also have a log backup running every two hours.
The question i have is around log truncation and backing up the log files. I notice that the log files never decrease in size, even though the logs are backed up every two hours, I don't think they are backed up with truncation because in side the maintenance plan sub plan for backing up logs there is no truncation options.
The thing is when this gets backed up it leads to about 100gb of space being used and i would like to avoid backing up 40gb of logs every day.
I assume this is because every time it does a full backup it then has to restart the log backup, because older backups are removed older than two days. this is why it has to always backup the whole 30+gb of log files?
Does this all seem normal to you? This is what the backup folder looks like.
Ideally i would like to reduce the log file down in size but i don't think that is possible as it will just increase, i would also like to avoid having to backup 40gb everyday, how can i avoid big log backups and still have 2 hour restore time?