$ -weight: 600;">sudo -weight: 500;">apt -weight: 500;">update && -weight: 600;">sudo -weight: 500;">apt -weight: 500;">install openssh-client
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">update && -weight: 600;">sudo -weight: 500;">apt -weight: 500;">install openssh-client
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">update && -weight: 600;">sudo -weight: 500;">apt -weight: 500;">install openssh-client
wsl ---weight: 500;">install
wsl ---weight: 500;">install
wsl ---weight: 500;">install
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
# tar
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">install tar # Debian/Ubuntu
-weight: 600;">sudo -weight: 500;">yum -weight: 500;">install tar # CentOS/RHEL # mysqldump (part of the MySQL client)
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">install mysql-client # Debian/Ubuntu
-weight: 600;">sudo -weight: 500;">yum -weight: 500;">install mysql # CentOS/RHEL
# tar
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">install tar # Debian/Ubuntu
-weight: 600;">sudo -weight: 500;">yum -weight: 500;">install tar # CentOS/RHEL # mysqldump (part of the MySQL client)
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">install mysql-client # Debian/Ubuntu
-weight: 600;">sudo -weight: 500;">yum -weight: 500;">install mysql # CentOS/RHEL
# tar
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">install tar # Debian/Ubuntu
-weight: 600;">sudo -weight: 500;">yum -weight: 500;">install tar # CentOS/RHEL # mysqldump (part of the MySQL client)
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">install mysql-client # Debian/Ubuntu
-weight: 600;">sudo -weight: 500;">yum -weight: 500;">install mysql # CentOS/RHEL
ssh root@ip_address
ssh root@ip_address
ssh root@ip_address
tar -czvf ~/public_html/backup-site.tar.gz -C ~/ public_html
tar -czvf ~/public_html/backup-site.tar.gz -C ~/ public_html
tar -czvf ~/public_html/backup-site.tar.gz -C ~/ public_html
scp root@ip_address:~/public_html/backup-site.tar.gz ~/Downloads/
scp root@ip_address:~/public_html/backup-site.tar.gz ~/Downloads/
scp root@ip_address:~/public_html/backup-site.tar.gz ~/Downloads/
mysqldump -u root -p your_database_name > ~/public_html/backup-db.sql
mysqldump -u root -p your_database_name > ~/public_html/backup-db.sql
mysqldump -u root -p your_database_name > ~/public_html/backup-db.sql
scp root@ip_address:~/public_html/backup-db.sql ~/Downloads/
scp root@ip_address:~/public_html/backup-db.sql ~/Downloads/
scp root@ip_address:~/public_html/backup-db.sql ~/Downloads/
rm ~/public_html/backup-site.tar.gz
rm ~/public_html/backup-db.sql
rm ~/public_html/backup-site.tar.gz
rm ~/public_html/backup-db.sql
rm ~/public_html/backup-site.tar.gz
rm ~/public_html/backup-db.sql
tar -xzvf backup-site.tar.gz -C ~/
tar -xzvf backup-site.tar.gz -C ~/
tar -xzvf backup-site.tar.gz -C ~/
mysql -u root -p your_database_name < backup-db.sql
mysql -u root -p your_database_name < backup-db.sql
mysql -u root -p your_database_name < backup-db.sql - SSH access to your server
- The server's IP address
- Your SSH credentials (username and password, or an SSH key)
- scp or an SFTP client installed on your local machine - Upload the .tar.gz file back to the server using scp
- Extract it with: - Import the database with: