#How should i move my data

1 messages · Page 1 of 1 (latest)

lusty oyster
#

My control panel instance is probably half a year outdated and i need to move the data from it to a new instance, i cant access ui without having to reconfigure networking for ctrlpanel(trying to avoid).

and assuming putting a 6 month old db on the latest release = bad, should i update the instance to the latest version then setup a new instance and copy paste the db? Or

willow crown
wide loom
#

Or you can move the old DB and import it, then run that sudo php artisan migrate --seed --force command

As far as 1Day toled me this should update the DB no matter how old it was

lusty oyster
#

Am. Igonna have to transfer them too

#

I lost all that data

#

All my nodes were whipped, whoops

#

Or is there some sort of way to make new ptero users

wide loom
#

No clue whats you exact situation, sorry

lusty oyster
lusty oyster
#

Then replace its db file with the old one and run that?

#

Do i gotta repalce any encription keys in .env?

wide loom
#

Yep, you need the old one.

lusty oyster
#

Alright i downloaded my .env

#

Thank you

wide loom
#

I´m sure Ice or 1Day can awnser it for sure. I never moved my DB yet

hearty nimbus
#

actually updating should be no problem

#

laravel handels all updates to the DB in migrations step by step