@extends('layouts.admin') @section('title', 'Restore Database') @section('content')

Restore Database

Restore database from backup file

Back to Dashboard
@if(!empty($requirements))
System Requirements

Please resolve these issues before attempting a restore.

@endif
Important Warning

Database restore is a destructive operation that will:

It is highly recommended to create a backup before restoring.

Restore from Existing Backup
@if($backups->count() > 0)
@csrf
This will create a backup of the current database before restoring
This will completely remove all existing tables
@else
No Backups Available

Create a backup first before you can restore.

Create Backup
@endif
Restore from Uploaded File
@csrf
@error('backup_file')
{{ $message }}
@enderror
Accepted formats: .sql, .sql.gz (Max size: 500MB)
This will create a backup of the current database before restoring
This will completely remove all existing tables
Restore Process Information
What happens during restore:
  • Backup file is validated
  • Current database is backed up (if selected)
  • Existing tables are dropped (if selected)
  • Backup data is imported
  • Database integrity is verified
Important considerations:
  • Application will be unavailable during restore
  • Process may take several minutes
  • All current data will be replaced
  • Users will be logged out
  • Always test in staging first
@endsection