Advertisement

06.19.2008 at 08:30PM PDT, ID: 23501179
[x]
Attachment Details

Copying incrementaly log files from a server to another server based on name and date

Asked by llarava in VB Script

Hi!
I need some help with that. I am trying to find a script that can be capable to help me to automate the following process.

I have a server that produces certain logs with the following name and date format
rejects_20080619.csv
The files are located in a server named SERVER01 and they're under D:\logs\Service\Reports.
We keep logs for 30 days.

So here is what I need the script to do:

1. Copy the files to another server under, the server does not have any shared folder for the logs and a folder can not be shared on the server. But we can access the server via D$ admin resource since we will run that with domain admin rights. Ie. \\SERVER2\D$\Logs

2. What I need is the script to be able to copy the files in an incremental way. That mean to copy the new ones (based on date) and not all the logs for the 30 days every time.

Thanks for the help.

Start Free Trial
[+][-]06.20.2008 at 07:04AM PDT, ID: 21831265

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.22.2008 at 04:35PM PDT, ID: 21842674

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: VB Script
Sign Up Now!
Solution Provided By: RobSampson
Participating Experts: 1
Solution Grade: A
 
 
[+][-]06.23.2008 at 11:04AM PDT, ID: 21848651

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628