You can click on the timestamp to view the backup text. You can manually store this anywhere you'd like and then paste it into the manual import field below. Doing this is risky, if the text is formatted incorrectly (like Microsoft Word changing the quotation marks), it will not import properly and will also delete all of your current data. It's best to use the create backup function.
| Backup Created At | Backup Reason | <%= link_to ' Create New Backup', tournament_tournament_backups_path(@tournament), data: { turbo_method: :post }, class: 'fas fa-plus'%> |
|---|---|---|
| <%= link_to backup.created_at.strftime('%Y-%m-%d %H:%M:%S'), tournament_tournament_backup_path(@tournament, backup, print: true), target: '_blank', class: 'text-decoration-none' %> | <%= backup.backup_reason.presence || 'No reason provided' %> | <%= link_to '', restore_tournament_tournament_backup_path(@tournament, backup), data: { turbo_method: :post, turbo_confirm: "This will restore the backup from #{backup.created_at.strftime('%Y-%m-%d %H:%M:%S')}. It will delete all current data from the tournament in order to restore the backup." }, class: 'fas fa-undo-alt text-warning', title: 'Restore Backup' %> <%= link_to '', tournament_tournament_backup_path(@tournament, backup), data: { turbo_method: :delete, turbo_confirm: 'Are you sure you want to delete this backup?' }, class: 'fas fa-trash-alt', title: 'Delete Backup' %> |