Hello all

I have written the following basic backup script:

https://gist.github.com/jonathanmaron/8785313

and saved it as /root/bin/backup-gitorious.sh

/root/bin/backup-gitorious.sh is executable.

I can call /root/bin/backup-gitorious.sh manually and the expected tar.gz file 
is created in /var/www/gitorious/app/snapshots/.

However, when I call it from crontab:

0 21 * * * /root/bin/backup-gitorious.sh

/root/bin/backup-gitorious.sh is executed, according to the cron log, but the 
expected tar.gz file is not created.

I am sure I am missing something really obvious.

I followed the instructions below to install Gitorious about 3 weeks ago:

http://getgitorious.com/installer

Could someone offer me some assistance?

My goal is to create a snapshot tar.gz file every day at 9 PM.

Thank you kindly in advance.

Jonathan Maron

-- 
-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to