{
  "json_class": "Chef::Role",
  "default_attributes": {
    "backup_restore": {
      "sources": {
        "enabled": ["ruby", "directory"]
      },
      "destinations": {
        "enabled": ["s3"]
      }
    }
  },
  "run_list": [
    "recipe[rails_part::deploy]",
    "recipe[backup_restore::configure]"
  ]
}

{
  "json_class": "Chef::Role",
  "default_attributes": {
    "backup_restore": {
      "sources": {
        "enabled": ["ruby", "directory"]
      },
      "destinations": {
        "enabled": ["s3"]
      }
    }
  },
  "run_list": [
    "recipe[rails_part::deploy]",
    "recipe[backup_restore::configure]",
    "recipe[backup_restore::backup]"
  ]
}

Backup automatically after deploy application
Backup automatically after deploy application
