Solved

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

Posted on 2014-02-24
4
216 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

691 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