Skip to content

Commit

Permalink
Merge pull request #15 from infectedw/patch-2
Browse files Browse the repository at this point in the history
Create Paymenter Migration.md
  • Loading branch information
CorwinDev authored Jan 1, 2024
2 parents 91694a1 + be9d565 commit c2b9eac
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions content/docs/Paymenter Migration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Here are the instructions in a more professional and clear format:

1. **Backup Your Hidden `.env` File:**
- Locate your hidden `.env` file containing the decryption key `APP_KEY` in the directory `/var/www/paymenter/`.

2. **Export the Database:**
- Export your database named `paymenter` using the following command:
```
mysqldump -u root -p --opt paymenter > /var/www/paymenter/panel.sql
```
- This command will save the `.sql` file to the `/var/www/paymenter/` folder.
3. **Follow Paymenter Installation Documentation:**
- Refer to the Paymenter installation documentation for step-by-step instructions on how to install Paymenter on your new server.
4. **Transfer and Import the Database:**
- Transfer the `paymenter.sql` file to your new server.
- Import the database using the following command. Make sure you are in the folder where your `.sql` dump is located:
```
mysql -u root -p paymenter < paymenter.sql
```
5. **Complete the Panel Migration:**
- Transfer your old `.env` file to the `/var/www/paymenter` location.
These steps will help you back up your `.env` file, export and import the database, and successfully migrate your Paymenter panel to a new server.

0 comments on commit c2b9eac

Please sign in to comment.