Author |
Message |
Travelcard
Joined: 11 Dec 2006 Posts: 77
|
Posted: Tue Jan 08, 2008 11:23 am Post subject: I need to script the schedules... |
|
|
Hi there,
We're in the process of changing a portion of our backups in possibly 30 locations right now and maybe more in future. We need to replicate a 28 day tape backup, so 28 full backups with no archiving. I've made a script that creates the fsf file but am a bit stuck with the schedule.
Creating the schedule is very time consuming and gives a large scope for error so finding a script that can do this is really important.
The schedules are stored in the usual place C:\windows\tasks but I haven't found a way to open the *.job easily. Certainly notepad just gives you mostly garbage. Do you know of a way that I can edit the .job so that I can script it's creation, or possibly you have some other idea on how I can create the schedules?
Thanks for your time. |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Tue Jan 08, 2008 5:44 pm Post subject: |
|
|
Hi , the .job files are a Windows Task Scheduler format, probably a binary format non-editable... did you try VVengine? VVEngine schedules are set with a XML file. thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
Travelcard
Joined: 11 Dec 2006 Posts: 77
|
Posted: Tue Jan 08, 2008 6:59 pm Post subject: |
|
|
Thanks for that. I didn't even know about that product - I'll give it a whirl. XML sounds perfect.
Cheers
Travelcard. |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
|
Back to top |
|
|
Travelcard
Joined: 11 Dec 2006 Posts: 77
|
Posted: Thu Jan 10, 2008 11:57 am Post subject: |
|
|
That worked great thanks. The XML files don't even need any tweaking as they don't refer to a server or path.
Great stuff
Thanks.
Travelcard. |
|
Back to top |
|
|
Travelcard
Joined: 11 Dec 2006 Posts: 77
|
Posted: Tue Apr 01, 2008 1:02 pm Post subject: |
|
|
This has worked great at many sites until today.
Now when we add the XML file and then start the service it immediately gets overwritten by a blank XML file.
Any ideas? |
|
Back to top |
|
|
Travelcard
Joined: 11 Dec 2006 Posts: 77
|
Posted: Tue Apr 01, 2008 1:08 pm Post subject: |
|
|
This is what we have found in the log file:
Quote: | "Failed loading C:\Documents and Settings\control\Application Data\VVEngine\VVEngine.xml. Unable to open XML file for parsing."
|
|
|
Back to top |
|
|
Travelcard
Joined: 11 Dec 2006 Posts: 77
|
Posted: Tue Apr 01, 2008 1:14 pm Post subject: |
|
|
Ok, we have found the problem.
Our original XML file started off with:
Code: | <xml>
<SETTINGS>
<HTTP>
<CHECKNEW>25</CHECKNEW>
</HTTP>
<ITEM>
<PROFILE>C:\ViceVersa\profiles\01MonWeek1.fsf</PROFILE> |
But when I now create a new schedule the file is different, so I altered our XML file to:
Code: | <?xml version="1.0" encoding="UTF-16"?>
<SETTINGS>
<ITEM>
<PROFILE>C:\ViceVersa\profiles\01MonWeek1.fsf</PROFILE> |
which now works.
That is very worrying for us of course. Does that mean that new versions of VV will break our XML files? |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
|
Back to top |
|
|
Travelcard
Joined: 11 Dec 2006 Posts: 77
|
Posted: Wed Apr 02, 2008 6:08 am Post subject: |
|
|
But you DID change it recently as above, yes? |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
|
Back to top |
|
|
|