2022-05-09 21:03:34 +00:00
|
|
|
Put your webserver to sleep.
|
|
|
|
|
|
|
|
----
|
|
|
|
|
|
|
|
cd [zapdir]
|
2023-01-17 18:46:38 +00:00
|
|
|
mysqldump -u [username] -p [password] --no-create-info [zap-dbname] > /backupdir/dump.sql
|
2022-05-09 21:03:34 +00:00
|
|
|
cp -rp cache store .htconfig.php /backupdir
|
|
|
|
cd ..
|
|
|
|
git clone git@codeberg.org:streams/streams
|
|
|
|
cd streams
|
|
|
|
util/add_addon_repo git@codeberg.org:streams/streams-addons addon
|
|
|
|
composer install --no-dev
|
|
|
|
|
2022-09-04 09:40:24 +00:00
|
|
|
mysql -u [username] -p
|
2022-05-09 21:03:34 +00:00
|
|
|
create database streams;
|
|
|
|
use streams;
|
|
|
|
source install/schema_mysql.sql;
|
|
|
|
source /backupdir/dump.sql
|
|
|
|
quit;
|
|
|
|
|
|
|
|
cp -rp /backupdir/cache .
|
|
|
|
cp -rp /backupdir/store .
|
|
|
|
cp -p /backupdir/.htconfig.php .
|
|
|
|
|
|
|
|
Edit .htconfig.php to change the db name to streams
|
|
|
|
|
|
|
|
----
|
|
|
|
|
|
|
|
Point your webserver at the streams directory and restart it.
|
|
|
|
|
|
|
|
Enjoy.
|