Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export to another vps #57

Closed
abdiasriver opened this issue Nov 24, 2021 · 2 comments
Closed

Export to another vps #57

abdiasriver opened this issue Nov 24, 2021 · 2 comments

Comments

@abdiasriver
Copy link

How i export all forem site, to another vps?

@jdoss
Copy link
Contributor

jdoss commented Nov 24, 2021

Here are the steps I would use to move your Forem from one VPS to another.

  1. Follow this https://github.com/forem/selfhost#backup-your-forem-data to backup your Forem data
  2. Download that backup tar.gz to your workstation via SCP
  3. Run the selfhost playbook to setup another VPS
  4. Log in to the new VPS and stop Forem foremctl stop
  5. Copy the backup tar.gz file to the new VPS using SCP
  6. Move the backup tar.gz file to /opt on the new VPS
  7. On the VPS as the root user remove rm -rf /opt/forem
  8. On the new VPS as the root user extract tar xzf 2021-11-24-forem-data.tar.gz
  9. On the new VPS as the root user move the forem data into the right place mv opt/forem /opt/forem
  10. 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.

@jdoss
Copy link
Contributor

jdoss commented Jan 27, 2022

I am going to close this issue for now. Please let us know if you have any other questions.

@jdoss jdoss closed this as completed Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants