admin_backups_index:
  path: /
  methods: [ GET ]
  defaults:
    _controller: 'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\BackupController::indexAction'
    _legacy_controller: 'AdminBackup'
    _legacy_link: 'AdminBackup'

admin_backups_save_options:
  path: /
  methods: [ POST ]
  defaults:
    _controller: 'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\BackupController::saveOptionsAction'
    _legacy_controller: 'AdminBackup'
    _legacy_link: 'AdminBackup:update'

admin_backups_create:
  path: /new
  methods: [ POST ]
  defaults:
    _controller: 'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\BackupController::createAction'
    _legacy_controller: 'AdminBackup'
    _legacy_link: 'AdminBackup:addbackup'

admin_backups_download_view:
  path: /view/{downloadFileName}
  methods: [ GET ]
  defaults:
    _controller: 'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\BackupController::downloadViewAction'
    _legacy_controller: 'AdminBackup'

admin_backup_download:
  path: /download/{downloadFileName}
  methods: [ GET ]
  defaults:
    _controller: 'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\BackupController::downloadContentAction'
    _legacy_controller: 'AdminBackup'

admin_backups_delete:
  path: /{deleteFileName}
  methods: [ DELETE, POST ]
  defaults:
    _controller: 'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\BackupController::deleteAction'
    _legacy_controller: 'AdminBackup'
    _legacy_link: 'AdminBackup:delete'
    _legacy_parameters:
      filename: deleteFileName

admin_backups_bulk_delete:
  path: /bulk-delete/
  methods: [ POST ]
  defaults:
    _controller: 'PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\BackupController::bulkDeleteAction'
    _legacy_controller: 'AdminBackup'
    _legacy_link: 'AdminBackup:submitBulkdeletebackup'
