#migration

1 messages · Page 1 of 1 (latest)

ancient hound
#

How can i migrate panel to new host

warm rapidsBOT
empty moss
gusty prairie
#

backup your database and the .env file located in var/www/controlpanel/.env

#

then you are good to go to migrate

elfin mantle
#

Is it the same if migrating ptero?

gusty prairie
#

uhm

#

basically

elfin mantle
#

how can i download the database and .env files to my computer

#

then reupload them to the new server

trail lance
# elfin mantle then reupload them to the new server

To download the database and .env files to your computer, you can use a tool such as FTP or SSH to transfer the files to your local machine.

Here are the steps to follow:

Connect to your server using your preferred method of SSH or FTP.
Locate the .env file in the root directory of Controlpanel (var/www/controlpanel/.env).
Download the file to your local machine.
To backup your database, you can use a tool like phpMyAdmin or mysqldump to export a copy of your database. The specific steps to do this will depend on the tool you use, but in general, you will need to connect to your MySQL server, select the database you want to backup, and then choose the option to export the database as an SQL file.
Once you have downloaded both the .env file and the database backup to your local machine, you can upload them to the new server using the same FTP or SSH tool.
If you encounter any issues during this process or require further assistance, please don't hesitate to let me know.

dreamy sapphire
#

To generate the file follow our backup guide