This is working for us with v2.4 and v3.0:

#!/bin/bash


## backup
  cd /var/www/gitorious/app/ && script/snapshot /var/restore.me/gitorious/`date 
+"%A"`.snapshot.tar
  cp /var/www/gitorious/app/config/gitorious.yml 
/var/restore.me/gitorious/`date +"%A"`.gitorious.yml


## version and update-info
## needed for all the ruby env-vars...
  source /etc/profile
  /var/www/gitorious/app/bin/rake versioning:changelog | sed -r 
"s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g"

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