.

copy WordPress using SSH

HowTo copy WordPress from one Hetzner account to another Hetzner account using SSH

First create the new hosting and setup the DNS (external in this case).

YouTube

Mit dem Laden des Videos akzeptieren Sie die Datenschutzerklärung von YouTube.
Mehr erfahren

Video laden

I recommend to copy all credentials to one local TXT file to be faster in the later steps. All credentials are changed after this video.

If you have the new hosting set up and the credentials from the source and the target hosting we can start the copy process:

YouTube

Mit dem Laden des Videos akzeptieren Sie die Datenschutzerklärung von YouTube.
Mehr erfahren

Video laden

### for export from source wordpress
mysqldump -u[user_name] -p -h [host] [db_name] >  backup_[project_name]_[date].sql

tar cfz backup_[project_name]_[date].tgz ./

### for import into target wordpress
tar xvfz backup_[project_name]_[date].tgz

mysql --default-character-set=utf8 -u[dbuser] -p[passwort] -h [host] [dbname] < backup_[project_name]_[date].sql

If you have questions, please feel free to ask.

glindemann.digital
hat 4,98 von 5 Sternen
25 Bewertungen auf ProvenExpert.com