Export to another vps
abdiasriver opened this issue · comments
How i export all forem site, to another vps?
Here are the steps I would use to move your Forem from one VPS to another.
- Follow this https://github.com/forem/selfhost#backup-your-forem-data to backup your Forem data
- Download that backup tar.gz to your workstation via SCP
- Run the selfhost playbook to setup another VPS
- Log in to the new VPS and stop Forem
foremctl stop
- Copy the backup tar.gz file to the new VPS using SCP
- Move the backup tar.gz file to
/opt
on the new VPS - On the VPS as the root user remove
rm -rf /opt/forem
- On the new VPS as the root user extract
tar xzf 2021-11-24-forem-data.tar.gz
- On the new VPS as the root user move the forem data into the right place
mv opt/forem /opt/forem
- Start your forem with
foremctl start
I have not tested these steps, but this should get you most of the way to moving your Forem from VPS to another.
I am going to close this issue for now. Please let us know if you have any other questions.