refactored backup_tasks