• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 301
  • Last Modified:

exchange logs

we are running exchange 2010. For some reason our backup system didn't purge the transaction logs for the last two days and our logs fillled up the drive. I know that I can move the logs to another disk - atleast the ones that occured before the exchange checkpoint. My  checkpoint is 0x8007C so I assume I can move everything from 7B and before? However that only gives me 150mb of free space and I need atleast 1gb to run Windows Server Backup so that I can clear the transaction logs. ANy suggestions?
0
StarfishTech
Asked:
StarfishTech
  • 7
  • 4
  • 4
  • +1
2 Solutions
 
Deepu ChowdaryCommented:
Dont move the logs manually.
Just free up some space by deleting unwanted data and also use disk cleanup utility to get some free space.
And then run windows backup for takinf system state backup.
0
 
StarfishTechAuthor Commented:
Can't do that. There is absolutely nothing on the drive but log files and the databse.
0
 
Deepu ChowdaryCommented:
So size is less than 10- 15 gigs..?
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
sunnyc7Commented:
I'd second Exchange9.
Free up some space, and run a backup and flush logs. Dont do this manually.
0
 
StarfishTechAuthor Commented:
The size of the partition is 200GB. Database is 59gb. The rest are trans logs that account for the rest of the space.
0
 
sunnyc7Commented:
You need to do a backup now.
Check if diskcleanup gives you any option.

BTW 140 GB of Transaction logs ?? The logs go back to how many months (years ?)
0
 
StarfishTechAuthor Commented:
It's literally only 2 days. No idea why there are so many. I CAN'T do a backup. Good old Windows Server Backup in 2008 R2 tells me I need atleast 1gb of free space on the disk I am trying to backup. I'm running into walls here.
0
 
sunnyc7Commented:
Get a western digital 500 TB pocket drive - less than $100
You dont want to be in a situation when the database dismounts because it ran out of space.
0
 
StarfishTechAuthor Commented:
It alerady did dismount. The backup is telling me i need 1gb available on the drive i am trying to backup
0
 
sunnyc7Commented:
You need to get an external USB HDD mate.
Your server is out of disk space.

First flush the logs with a full backup before you can consider other options.
0
 
StarfishTechAuthor Commented:
How will that help me? The only backup option i have is Windows Server Backup which REQUIRES 1GB OF FREE SPACE ON THE DRIVE YOU ARE BACKING UP.
0
 
Deepu ChowdaryCommented:
Ok try compress this drive to save disk space option in the properties of the drive.
Hope this will give some free space.
Once you get that enable circular logging for time being and run windows backup utility.
Dont forget to disable circular logging once this was done..
0
 
StarfishTechAuthor Commented:
Can I just enable circular logging for now? I don't feel at all comfortable compressing the drive that contains the database
0
 
Deepu ChowdaryCommented:
Even if you enable circular logging now, the old logs will not change.
So do one thing.
Attach a disk which have enough space for moving logs and move the log path to attached disk.

To move the log files for the First Storage Group from their default location to G:\SG1 use the following command:
Move-StorageGroupPath –Identity “First Storage Group” –LogFolderPath G:\SG1
–SystemFolderPath G:\SG1.

once moved then run backup utility tool and take backup which will purge logs and after that simply move back the logfile path to original location.
0
 
StarfishTechAuthor Commented:
OK, but right now the drive is completely out of space which means the stores are dismounted. I imagine i have to get the stores mounted before I can move the logs?
0
 
Sigurdur HaraldssonSystem AdministratorCommented:
Use EMS to move all the log files: Move-MailboxDatabase DatabaseName -LogFolderPath X:\DatabaseName\logs
0
 
Sigurdur HaraldssonSystem AdministratorCommented:
Submitted to soon :-)

Use EMS to move all the log files: Move-MailboxDatabase DatabaseName -LogFolderPath X:\DatabaseName\logs and then run the backup. After that you can move them back into the original location, if you want to.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

  • 7
  • 4
  • 4
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now