Moving backup file
I have a backup file on server1.com that I need to move to server2.com. It is around 100gb in size. If I type the direct URL into my web browser on windows it starts to download the whole thing but it won't transfer when using the command line on server2. I am using the command(s)
curl -o backup.tar.gz "https://www.server1.com/backup.tar.gz"
and also tried
wget https://www.server1.com/backup.tar.gz
In both cases the download just sits there and does not proceed like this (curl example):
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:06 --:--:-- 0^C
or for wget
Resolving server1.com (server1.com)... 199.xxx.xx.xxx Connecting to server1.com (server1.com)|199.xxx.xx.xxx|:443...
I have let it sit for up to one minute but see no progression on either attempt.
I know the file has temporary 777 permissions. I know that in the cpanel antileech and hotlink protection are turned off. Any idea what I am doing wrong?
I tried using wget and curl but the file does not download and I get no error message. Tried downloading via web browser and it works.
-
Hey there! I'm honestly not sure on this one, so you'll need to do some additional testing, but neither of those commands or connections would be related to cPanel. Both curl and wget have a "-v" flag so you can get verbose output of the connection, and maybe that will shed more light on what is happening there.
0 -
I would suggest using FTP/SFTP instead.
0
Please sign in to leave a comment.
Comments
2 comments