These scripts are designed to work by using the following convention (example.com used as an example duh!):
DEBIAN: download
Usage:
$ sudo wp_porter_debian -export$ sudo wp_porter _debian -importCLEAR LINUX: download
Usage:
$ sudo wp_porter_clearlinux -export$ sudo wp_porter_clearlinux -importWhen selecting the -export argument the script exports two files: the database dump in a .sql file and the public_html content in a tar.gz file.
When selecting the -import argument, it is necessary to use the two files exported above during the process of importing. Additionally, the -import argument configures the LEMP Block Server by creating a /etc/nginx/conf.d/example.com.conf file and adding a new entry in /etc/hosts file.