Cpanel does not support importing mysql big data and remote wget data under SSH

Cpanel does not support importing mysql big data and remote wget data under SSH

Some Cpanels do not support SSH, so how to wget remote data and restore mysql data? This can be achieved using the Cron Jobs feature.

1. Remote wget data

Enter the Cpanel panel and enter Cron Jobs.

The time can be set according to actual conditions. Generally, US time is 13 hours behind China.

In commend: enter

 wget -P /home/bkcrcnao/public_html/tu/ 76.72.xxx.xxx/xxx.sql

Among them, /home/bkcrcnao/public_html/tu/ means to put the file in the directory of the current Cpanel host.
76.72.xxx.xxx/xxx.sql refers to the remote file.

2. Restore MySQL data

Still at Cron Jobs.

In commend: enter

 mysql -ubkcrcnao_root -p123 bkcrcnao_tu < /home/bkcrcnao/public_html/tu/tu.sql

bkcrcnao_root is your database user name, 123 is the database password, and /home/bkcrcnao/public_html/tu/tu.sql is the .sql data storage path.

<<:  Easy.gr 50% discount on .gr domains: 12€ for 2 years

>>:  Chicago VPS: $5/month/2GB RAM/80GB storage/3TB bandwidth/Windows/New York/Los Angeles

Recommend

AwesomeRDP: $18/month/U2250/2GB memory/160GB hard disk/unlimited traffic/1 IP

AwesomeRDP is a European hosting company founded ...

FreeRangeCloud: Fremont/Norway KVM VPS, 1G memory, 10 USD for half a year

Single CPU Core 1024MB ECC RAM 15GB SSD 3TB trans...

WootHosting: $4/year/15GB space/750GB traffic/New York

WootHosting, an American hosting provider, was fo...

Aoyouhost 2 cores 2GB memory San Jose CN2 high defense KVM VPS review

Details : Aoyouhost: 68 yuan/month/2GB memory/40G...

ThomasHost: $8.5/month/2GB memory/50GB space/500GB traffic/KVM/Windows/Dallas

ThomasHost, an American hosting company, was foun...

AcrosVM: 60 yuan/year/128MB memory/10GB space/250G traffic/OpenVZ

AcrosVM is a brand that provides VPS hosting serv...

Teet 1GB RAM Los Angeles Cera KVM VPS Review

Details : Teet: 35 yuan/month/512MB memory/10GB s...