aaronwmorris / indi-allsky

Software to manage a Linux-based All Sky Camera.
GNU General Public License v3.0
237 stars 40 forks source link

How to move to a new indiallsky host #1444

Open jkoenig72 opened 2 months ago

jkoenig72 commented 2 months ago

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 commented 2 months ago

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

Guess thats the place to look, right?

aaronwmorris commented 2 months ago

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 commented 2 months ago

Yes. Both intel based. Thanks, will give it a try.

On Thu 8. Aug 2024 at 17:26, Aaron W Morris @.***> wrote:

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?

— Reply to this email directly, view it on GitHub https://github.com/aaronwmorris/indi-allsky/issues/1444#issuecomment-2276105664, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACKKCKSA34JQ52DE45VGK43ZQOE3LAVCNFSM6AAAAABMGRSAJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZWGEYDKNRWGQ . You are receiving this because you authored the thread.Message ID: @.***>

aaronwmorris commented 2 months ago

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 commented 2 months ago

Cool, I'll check it out.

Btw. when you are ever around the Rhine area. Ping me. I will invite you to our delicious local beer…

On Thu 8. Aug 2024 at 18:54, Aaron W Morris @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/aaronwmorris/indi-allsky/issues/1444#issuecomment-2276263984, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACKKCKUSIXAUXUKZLOG55X3ZQOPENAVCNFSM6AAAAABMGRSAJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZWGI3DGOJYGQ . You are receiving this because you authored the thread.Message ID: @.***>

aaronwmorris commented 2 months ago

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 commented 2 months ago

Then mostly you prefer a good Riesling.

Please send me your address on @.*** I mean, when you go though those enhancement requests, would’ve be fun to remember those days with some „local“ drink provided by some user of your fantastic work, right?

Please do!

On Thu 8. Aug 2024 at 20:51, Aaron W Morris @.***> wrote:

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.

— Reply to this email directly, view it on GitHub https://github.com/aaronwmorris/indi-allsky/issues/1444#issuecomment-2276456590, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACKKCKVW26NQLI5OPUFGDRLZQO433AVCNFSM6AAAAABMGRSAJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZWGQ2TMNJZGA . You are receiving this because you authored the thread.Message ID: @.***>

aaronwmorris commented 2 months ago

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 commented 2 months ago

I know. Please do.

On Fri 23. Aug 2024 at 04:58, Aaron W Morris @.***> wrote:

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...

— Reply to this email directly, view it on GitHub https://github.com/aaronwmorris/indi-allsky/issues/1444#issuecomment-2306133557, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACKKCKQXRIXMPIXWBYCTDZLZS2XNXAVCNFSM6AAAAABMGRSAJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBWGEZTGNJVG4 . You are receiving this because you authored the thread.Message ID: @.***>