upgrading bitrix using files & database migration

centos9 installcentos9 install

postinstall:

bitrix installbitrix install

./bitrix-env-9.sh

migration planmigration plan

assuming you installed centos9 and bitrix on the new server already

  1. stop production [bitrix admin]
  2. proceed with a backup [bitrix admin]
  3. restore backup on new server [bitrix admin] - incl files & database (latter takes a while)
  4. sync user uploads folder [sysadmin]
  5. nginx ssl setup [sysadmin]
  6. update DNS and/or load-balancers PAT rules [netadmin]
  7. test services on the new server incl push notifications and email [bitrix admin]
  8. enable production on the new server (and stop the old server) [sysadmin]

migration setupmigration setup

lvm2

on the new server

prepare mount points for

direct network link and static name resolution

on the new server, enable faster backup restore by pointing to the old server directly

vi /etc/hosts

x.x.x.x bitrix-fqdn

user uploads folder sync

on the new server

rsync -a old-server:/home/bitrix/www/upload/ /home/bitrix/www/upload/

fix mlocate

vi /etc/updatedb.conf

PRUNEPATHS ++ /home/bitrix/www/bitrix /home/bitrix/www/upload

ansible playbookansible playbook

see /system/ansible/playbooks/bitrix/


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Licensed under MIT