Solved

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

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will help you understand what HashTables are and how to use them in PowerShell.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

840 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