Solved

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

Posted on 2014-02-24
4
208 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
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…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now