Backup management for rails