Put the database back
Choose a backup this system wrote and it is restored over the live database, then the migrations that ship with the running code are applied on top. No account is needed, which is the point: this page is for a site whose sign-in screen has stopped working.
@if (! empty($state['closed']))
@endif
@if (! empty($state['error']))
@endif
@if (! empty($state['result']))
@endif
@if (! empty($state['result']['migration_error']))
@endif
@if (! empty($state['result']['migrations']))
@endif
@endif
This link has done its job and is now closed.
A backup was restored @if (! empty($state['closed']['restored_at'])) at {{ \Illuminate\Support\Carbon::parse($state['closed']['restored_at'])->format('j M Y, g:i a') }} @endif @if (! empty($state['closed']['safety_backup'])) and the copy taken before it was saved as {{ $state['closed']['safety_backup'] }} @endif . Sign in to the site to carry on; the recovery link itself will not restore anything again.
A backup was restored @if (! empty($state['closed']['restored_at'])) at {{ \Illuminate\Support\Carbon::parse($state['closed']['restored_at'])->format('j M Y, g:i a') }} @endif @if (! empty($state['closed']['safety_backup'])) and the copy taken before it was saved as {{ $state['closed']['safety_backup'] }} @endif . Sign in to the site to carry on; the recovery link itself will not restore anything again.
{{ $state['error'] }}
The database was restored. Sign in to the site to carry on.
- Tables now in the database
- {{ number_format($state['result']['tables']) }}
- Stored files restored
- {{ number_format($state['result']['files']) }} @if (! empty($state['result']['safety']))
- Copy taken beforehand
- {{ $state['result']['safety'] }} @endif
- Migrations
- {{ $state['result']['migrations'] === null ? 'Not run' : 'Applied' }}
No copy of the previous database could be taken first: {{ $state['result']['safety_note'] }}
The restore worked, but the migrations that bring the schema up to the running code failed:
{{ $state['result']['migration_error'] }}
{{ $state['result']['migrations'] }}
@endif
@endif
@if (empty($state['closed']) && empty($state['result']))
@if (empty($state['error']))
This replaces everything. Every record in the live database is
overwritten by the backup, and anyone signed in is signed out.