BackupPC-users

[BackupPC-users] rsnapshot started by cron fails but works when started manually (Win XP + Cygwin)

2008-05-07 17:44:17
Subject: [BackupPC-users] rsnapshot started by cron fails but works when started manually (Win XP + Cygwin)
From: Kurt Jasper <kurt.jasper AT googlemail DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 07 May 2008 23:43:44 +0200
Hi,

I'm struggling with a strange fact using rsnapshot with cron on windows 
xp + cygwin.

When starting rsnapshot from the Cygwin shell with

        # rsnapshot hourly

everything works fine - but when the same command is run from cron I got 
the error message:

[07/May/2008:23:02:09] /bin/rsnapshot hourly: ERROR: backup /cygdrive/p/ 
localhost/ - Source directory "/cygdrive/p/" \ doesn't exist

My crontab-file (should start rsnapshot at 11pm):

        00 23 * * * rsnapshot hourly

The drive P: is a truecrypt mounted volume that can be backed up 
manually from the Cygwin Shell without a problem.

Question: Who comes that with the same rsnapshot-configuration-file the 
backup fails when started from cron?

- Kurt

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>
  • [BackupPC-users] rsnapshot started by cron fails but works when started manually (Win XP + Cygwin), Kurt Jasper <=