import databse / move forum to new site

Post Reply
zemerdon
Site Admin
Posts: 239
Joined: Mon Jan 23, 2023 8:13 pm

import databse / move forum to new site

Post by zemerdon »

archive domain directory.
copy sql backup(s) to /store folder
install phpbb into new domain.
backup NEW config.php
login to ACP and restore backup.
extract archive to new domain directory.
copy NEW config.php back over and edit to reflect old database changes.
change ALL pdf links etc to new site

cat config.php

Code: Select all

<?php
// phpBB 3.3.x auto-generated configuration file
// Do not change anything in this file!
$dbms = 'phpbb\\db\\driver\\mysqli';
$dbhost = 'localhost';
$dbport = '';
$dbname = 'dbname';
$dbuser = 'username';
$dbpasswd = 'password';
$table_prefix = 'phpbb_civic';
$phpbb_adm_relative_path = 'adm/';
$acm_type = 'phpbb\\cache\\driver\\file';

@define('PHPBB_INSTALLED', true);
@define('PHPBB_ENVIRONMENT', 'production');
// @define('DEBUG_CONTAINER', true);
MAKE SURE TABLE PREFIX IS CORRECT ! CHECK WITH PHPADMIN
Post Reply