{{#if localBackupStorage}} {{#if siteSettings.enable_experimental_backup_uploader}} {{uppy-backup-uploader done=(route-action "uploadSuccess") localBackupStorage=localBackupStorage}} {{else}} {{resumable-upload target="/admin/backups/upload" success=(route-action "uploadSuccess") error=(route-action "uploadError") uploadText=uploadLabel title="admin.backups.upload.title" class="btn-default"}} {{/if}} {{else}} {{#if (and siteSettings.enable_direct_s3_uploads siteSettings.enable_experimental_backup_uploader)}} {{uppy-backup-uploader done=(route-action "remoteUploadSuccess")}} {{else}} {{backup-uploader done=(route-action "remoteUploadSuccess")}} {{/if}} {{/if}} {{#if site.isReadOnly}} {{d-button class="btn-default" icon="far-eye" action=(action "toggleReadOnlyMode") disabled=status.isOperationRunning title="admin.backups.read_only.disable.title" label="admin.backups.read_only.disable.label"}} {{else}} {{d-button class="btn-default" icon="far-eye" action=(action "toggleReadOnlyMode") disabled=status.isOperationRunning title="admin.backups.read_only.enable.title" label="admin.backups.read_only.enable.label"}} {{/if}}
{{#if status.restoreDisabled}} {{d-icon "info-circle"}} {{i18n "admin.backups.operations.restore.is_disabled"}} {{/if}}
{{#each model as |backup|}} {{else}} {{/each}}
{{i18n "admin.backups.columns.filename"}} {{i18n "admin.backups.columns.size"}}
{{backup.filename}} {{human-size backup.size}}
{{d-button class="btn-default download" action=(action "download") actionParam=backup icon="download" title="admin.backups.operations.download.title" label="admin.backups.operations.download.label"}} {{#if status.isOperationRunning}} {{d-button icon="far-trash-alt" action=(route-action "destroyBackup") actionParam=backup class="btn-danger" disabled="true" title="admin.backups.operations.is_running"}} {{d-button icon="play" action=(route-action "startRestore") actionParam=backup disabled=status.restoreDisabled class="btn-default" title=restoreTitle label="admin.backups.operations.restore.label"}} {{else}} {{d-button icon="far-trash-alt" action=(route-action "destroyBackup") actionParam=backup class="btn-danger" title="admin.backups.operations.destroy.title"}} {{d-button icon="play" action=(route-action "startRestore") actionParam=backup disabled=status.restoreDisabled class="btn-default btn-restore" title=restoreTitle label="admin.backups.operations.restore.label"}} {{/if}}
{{i18n "admin.backups.none"}}