Solved

Looking for a script to backup all system logs and clear after backup

Posted on 2014-02-24
4
213 Views
Last Modified: 2014-03-12
Looking for a very efficient way to first backup all events logs (i.e., Application, Security, and System) to a local destination for archival.  Want to ensure each folder at the destination is timestamped, dated and indicates the specific log backed up for ease in reviewing audit logs.
0
Comment
Question by:cgooden01
  • 3
4 Comments
 
LVL 14

Expert Comment

by:Justin Yeung
ID: 39883544
http://technet.microsoft.com/en-us/magazine/2009.07.heyscriptingguy.aspx

this guy already created a script that is easily to do that.
0
 

Author Comment

by:cgooden01
ID: 39883630
Tried that script before but i didnt clear the logs after archiving them. I will attempt this again and see if it clears all the logs. I believe it only moved and clear the application log and nothing else
0
 

Accepted Solution

by:
cgooden01 earned 0 total points
ID: 39912719
Another posted question answered in perfectly through batch file.
0
 

Author Closing Comment

by:cgooden01
ID: 39922891
Answered by a second question opposed by batch file
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OfficeMate Freezes on login or does not load after login credentials are input.
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question