@extends('twill::layouts.free') @section('customPageContent')
Move all content and its images/files from one CMS to another (for example staging → production) as a single .zip package. {{ $tables }} content tables are included. User accounts, roles and sessions never travel.
@if ($result)
✓ Imported {{ $result['rows'] }} rows in {{ $result['tables'] }} tables;
{{ $result['files'] }} files copied, {{ $result['skippedFiles'] }} already present.
Now press Publish to rebuild the site.
@if ($result['backup'])
Previous content was saved to {{ $result['backup'] }}.
@endif
⚠ Importing replaces all current content with the package's. A backup of the current text content is kept on the server first. Media library entries and images are merged: new ones are added, existing ones skipped, nothing is deleted.
@if ($errors->any())⚠ {{ $errors->first() }}
@endif
Large packages can exceed the server's upload limit. In that case upload the .zip to the
server and run php artisan cms:import path/to/package.zip, or export without images
and copy storage/app/public/uploads separately.