CasoFaria
asked on
Delete logs
Hi;
She wanted to know how to delete the logs in exchange 2010e enable circular login?
She wanted to know how to delete the logs in exchange 2010e enable circular login?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Firstly why do you need to manualy delete the exchange logs? Your Backups SHOULD do this for you. You do backup I take it?
Secondly i would NEVER advise anybody to enable circular logging without them FULLY understanding the consequences and to be honest if you need to ask the question of "How do i delete the logs?" then i'm pretty sure you do not fully understand the consequences.
What is the issue you have that makes you want to manually delete exchange log files?
Secondly i would NEVER advise anybody to enable circular logging without them FULLY understanding the consequences and to be honest if you need to ask the question of "How do i delete the logs?" then i'm pretty sure you do not fully understand the consequences.
What is the issue you have that makes you want to manually delete exchange log files?
First of all circular logging is NERVER a good option specially not for someone asking a question on EE. No offense but it is dangerous enough for experienced people let alone for someone that don't know what it does
The correct way to clear the logs is to take a full backup of your exchange. and that is the only safe way
I know that Neilsr already said that (listen to this guy he always has something worthwhile to say) but I am repeating it to second him
The correct way to clear the logs is to take a full backup of your exchange. and that is the only safe way
I know that Neilsr already said that (listen to this guy he always has something worthwhile to say) but I am repeating it to second him
You can do it through PowerShell, You can also enable Circular Logging,
Set-MailboxDatabase -CircularloggingEnabled:$t rue
You can configure Exchange to save disk space by enabling circular logging. Circular logging allows Exchange to overwrite transaction log files after the data that the log files contain is committed to the database.
However, if circular logging is enabled, you can recover data only up until the last full backup.
For example, you can enable circular logging when using Exchange native data protection, in which you don't make backups. To prevent log buildup, you need to enable circular logging.
Set-MailboxDatabase -CircularloggingEnabled:$t
You can configure Exchange to save disk space by enabling circular logging. Circular logging allows Exchange to overwrite transaction log files after the data that the log files contain is committed to the database.
However, if circular logging is enabled, you can recover data only up until the last full backup.
For example, you can enable circular logging when using Exchange native data protection, in which you don't make backups. To prevent log buildup, you need to enable circular logging.
ASKER
What makes me want escluir logs, is that I am doing a migration from exchange 2007 to exchange 2010 on grounds of lack of space on the server. In exchange 2010th server has 465 GB of space, and exchange 2007 has 278 Gb which is already full. The strange thing is that not even finished moving the mailbox and I already Feedback from the lack of space in exchange 2010, when it was found that the logs consumed over 2650 Gb After enabling circular logs reappeared this space and this now I'm back to make copies of lOGs back after finishing the turn. She wanted to know how to do the backup?
You should have said that from the start, yes during migration when mass move-mailbox is happening it is a regular approach to have circular logging enable and then disabling it just after.
For the backup you need to use any exchange aware backup application.
You can do this natively using windows backup
http://www.simple-talk.com/sysadmin/exchange/backing-up-exchange-2010-for-free/
For the backup you need to use any exchange aware backup application.
You can do this natively using windows backup
http://www.simple-talk.com/sysadmin/exchange/backing-up-exchange-2010-for-free/
ASKER
RRobinho
I already understood the issue, in fact I have low disk space, so I prefer the exchange rewrites the logs. thank you
I already understood the issue, in fact I have low disk space, so I prefer the exchange rewrites the logs. thank you
So you enabled Circular logging and got the free space now just do a normal backup as for Exchange Database
- Rancy
- Rancy
ASKER
Thanks
ASKER
Thanks
- Rancy