Solved

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

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
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…

815 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

11 Experts available now in Live!

Get 1:1 Help Now