1. VW4
  2. Importing from Another VaultWiki 4
Printable Version

https://www.vaultwiki.org/pages/Help/VaultWiki-4-Manual/VW4:Importing-from-Another-VaultWiki-4
This page is a chapter in VW4 Importing Data into VaultWiki

This page has been seen 140,100 times.

    • Created by on
You can import data into VaultWiki from a separate installation of VaultWiki 4. This is particularly useful if you want to use a test forum to create your wiki before deploying it live, or if you are migrating between forum softwares that already have VaultWiki 4 installed.

Warning:Always back-up your database before performing an import into VaultWiki. If for some reason the import is unsuccessful, you may want to try again with the partial data removed. If you are unsure how to back-up your database, please consult your server administrator.

Modifying the Config File

Locate the file /vault/core/controller/import/config/vw.php.new and open it for editing. Modify the $source array to point to your existing VaultWiki 4 database, and the $paths array to point to your existing VaultWiki 4 attachments directory (if it resides on the same server).

Save your changes, and rename the file to vw.php (no .new).

Running the Import Script

From the VaultWiki Admin Panel, go to Content > Import/Export.

For "Source Format," select "VaultWiki 4." Click "Import," and the script will continue the import automatically. If you are prompted for additional information along the way, simply fill out the missing fields to continue the import.

Note:If your import is not successful or seems to hang at any point, please contact VaultWiki support before making another attempt or trying to re-import the data into VaultWiki. Trying to import over incomplete data could cause your wiki to behave strangely.

When the import is complete, you will be returned to the importer's landing page. Browse your wiki to determine that the import was successful. If any data is incomplete or was imported incorrectly, contact VaultWiki support before trying again.