Backup scripts in Ruby