Here's what you need to do in order to get backup.pl running on windows.

First, install cygwin unix tools for windows.

Second, I created a batch file to run the backup.pl... Here's what the
batchfile looks like --

set path=%path%;c:\otrs\mysql\bin;
cd otrs
perl scripts\mybackup.pl -d \\backupserver\backupdata\otrs
cd ..

I named mine OTRS_Backup.bat and put it in the otrs directory with the other
start/stop batch files.  I run it with c:\otrs as my current directory.
Note that it changes to the c:\otrs\otrs directory in order for the tar
commands in the backup.pl to work right.

This backs up the mysql data to another machine along with the config data.
I only get one error that I haven't been able to resolve yet..  "tar:
Kernel/Config/GenericAgen*.pm: Cannot stat: No such file or directory"

Not sure why that's failing, but I'm getting the Application data and the
mysql data backed up regularly.

Good Luck

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nils
Breunese (Lemonbit)
Sent: Wednesday, August 22, 2007 9:28 AM
To: User questions and discussions about OTRS.org
Subject: Re: [otrs] backup on server 2003

Peter Hoogkamer wrote:

> Here is what I thought. When I run backup.pl under Windows it cannot 
> find "which" and that's a typical linux command for finding something 
> in the linux system. Windows does not understand this. Oke, different 
> solution then.

Ok yeah, then backup.pl won't work under Windows. I recommend backing up
your servers anyways, so OTRS would just be backed up with the rest of the
machine.

Nils Breunese.



_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/

Reply via email to