small medium large xlarge

27 Nov 2011, 13:29
Emmanuel Di Pretoro (2 posts)


I’ve found some errors in the code of db_backup.rb (

Here’s the correction:

@database = ARGV.shift@ @username = ARGV.shift@ @password = ARGV.shift@ @end_of_iter = ARGV.shift@

@if end_of_iter.nil?@ @ backup_file = database +“%Y%m%d”)@ @else@ @ backup_file = database + end_of_iter@ @end@ @mysqldump -u#{username} -p#{password} #{database} > #{backup_file}.sql@ @gzip #{backup_file}.sql@

All the best,

Emmanuel Di Pretoro

27 Nov 2011, 18:39
David Copeland (489 posts)

Thanks, I noticed this as well and it should be fixed in the next Beta (or certainly for the actual release).

You must be logged in to comment