Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

I need to script the schedules...

 
Post new topic   Reply to topic     Forum Index -> Support
Author Message
Travelcard



Joined: 11 Dec 2006
Posts: 77

PostPosted: Tue Jan 08, 2008 11:23 am    Post subject: I need to script the schedules... Reply with quote

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: 8759

PostPosted: Tue Jan 08, 2008 5:44 pm    Post subject: Reply with quote

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

PostPosted: Tue Jan 08, 2008 6:59 pm    Post subject: Reply with quote

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: 8759

PostPosted: Tue Jan 08, 2008 10:02 pm    Post subject: Reply with quote

Let me know how it goes! Smile thanks
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
Travelcard



Joined: 11 Dec 2006
Posts: 77

PostPosted: Thu Jan 10, 2008 11:57 am    Post subject: Reply with quote

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

PostPosted: Tue Apr 01, 2008 1:02 pm    Post subject: Reply with quote

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

PostPosted: Tue Apr 01, 2008 1:08 pm    Post subject: Reply with quote

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

PostPosted: Tue Apr 01, 2008 1:14 pm    Post subject: Reply with quote

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: 8759

PostPosted: Wed Apr 02, 2008 1:40 am    Post subject: Reply with quote

Hello, we do not plan the XML format for future VVEngine releases.
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
Travelcard



Joined: 11 Dec 2006
Posts: 77

PostPosted: Wed Apr 02, 2008 6:08 am    Post subject: Reply with quote

But you DID change it recently as above, yes?
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8759

PostPosted: Thu Apr 03, 2008 3:58 am    Post subject: Reply with quote

Hello

yes, I think it was changed between VVEngine version 1.0 and 1.1

thanks
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Support All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group
Copyright © TGRMN Software. TGRMN Software products: