Divide the db-backup tasks into local-backup and s3 tasks.