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

How to move to a new indiallsky host #1444

Open
jkoenig72 opened this issue Aug 8, 2024 · 9 comments
Open

How to move to a new indiallsky host #1444

jkoenig72 opened this issue Aug 8, 2024 · 9 comments

Comments

@jkoenig72
Copy link

Hi Aaron,

hope you are doing great.

Just wondering: I run the cams on small armbian based pis and have your fantastic sw installed on some VM.

Just wondering - how to move config from one indiallsky host to another, a new installed machine?

The config is mostly in the DB I guess. Versions are same. How to do so? Maybe I have overseen it...

Regards
Joerg

@jkoenig72
Copy link
Author

https://github.com/aaronwmorris/indi-allsky/wiki/Backup-and-Recovery

Guess thats the place to look, right?

@aaronwmorris
Copy link
Owner

That is a good starter page. I would go ahead and upgrade the code to the latest level and make sure things still work.

Are both the new system and old system the same type of processor/platform?

@jkoenig72
Copy link
Author

jkoenig72 commented Aug 8, 2024 via email

@aaronwmorris
Copy link
Owner

aaronwmorris commented Aug 8, 2024

Cool... You might just be able to copy the database files directly, but I would still recommend exporting and recreating the database.

The only things you really need to copy are:

  1. Images and videos
  2. Flask config /etc/indi-allsky/flask.json
  3. Database
  4. Database migrations /var/lib/indi-allsky/migrations/versions/*.py

@jkoenig72
Copy link
Author

jkoenig72 commented Aug 8, 2024 via email

@aaronwmorris
Copy link
Owner

Many years ago when was still in grade school, I lived in the Rheinland-Pfalz region when my father was deployed to Ramstein AFB. I lived in a small town called Otterbach. I loved the area and would love to go back some day.

@jkoenig72
Copy link
Author

jkoenig72 commented Aug 8, 2024 via email

@aaronwmorris
Copy link
Owner

I just wrote some more detailed instructions on how to migrate from one server to another on the Backup and Recovery page.

I completely forgot to send you my address...

@jkoenig72
Copy link
Author

jkoenig72 commented Aug 23, 2024 via email

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