Please I need help On Nginx

Milagro

Senior Member
Joined
Sep 17, 2016
Messages
852
Reaction score
153
sorry i have to disturb you guys, please i am having issues transferring file of 58gb from one server to another with this command scp /var/www/filesname.tar.gz root@the other server ip :/var/www/......... the transfer will start with 34mb per upload , then it will start going down untill it get to 56kb ... please i need help, i cant solve this issues by self
 
i think your issue might be Space, check and ensure the target receiving has enough space.
 
I have 400Gb space
 
Have you tried using SCP? it's basically s a command-line tool that allows you to transfer large files securely between servers using the SSH protocol. It is an easy-to-use option for transferring large files between servers and i have never encounter any issue using this method.
 
Hi, I do not see how this is an NGINX issue, but scp makes multi connections and sometimes speed drops on the transfer, I experienced it before. I would just use rsync
 
Have you tried using SCP? it's basically s a command-line tool that allows you to transfer large files securely between servers using the SSH protocol. It is an easy-to-use option for transferring large files between servers and i have never encounter any issue using this method.
Can I see the command , I am using MacBook and I have try this scp /var/www/filesname.tar.gz root@the other server ip :/var/www/
 
Hi, I do not see how this is an NGINX issue, but scp makes multi connections and sometimes speed drops on the transfer, I experienced it before. I would just use rsync
Can you write the command for me
 
You would replace it with your ssh login, if you are running locally. If you are already in ssh through the shell then you can skip that part.
i am already in ssh so it should be: sudo r sync -P --rsh=ssh /var/www/filesname.tar.gz:root@the other server ip /var/www/.
 
alright seems i need to install : sudo apt-get install -y r-cran-littler first before i can use the command
not sure about that, if you are talking about install rsync it will be
apt-get install rsync

here is some useful commands when using rsync https://www.hostinger.com/tutorials/how-to-use-rsync

i am getting this error

sync: No such file or directory

Check your file path, make sure its valid.
 
First of install rsync on both machine, then you can either pull or push depending on your need. For pulling you can use


rsync -chavzP -e "ssh -p 22" --stats username@OLDServerIPaddress:/location/of/your/oldfolder/where/from/you/are/pulling /location/of/newserver/where/youare/keeping

as you are pulling so you have to run this code from your new server.
 
First of install rsync on both machine, then you can either pull or push depending on your need. For pulling you can use


rsync -chavzP -e "ssh -p 22" --stats username@OLDServerIPaddress:/location/of/your/oldfolder/where/from/you/are/pulling /location/of/newserver/where/youare/keeping

as you are pulling so you have to run this code from your new server.
+1 to this. Don’t use scp. Use rsync instead. The quoted command looks fine.
 
Have you tried rsync instead of scp?

By the way, what does this have to do with nginx?
 
not sure about that, if you are talking about install rsync it will be
apt-get install rsync

here is some useful commands when using rsync https://www.hostinger.com/tutorials/how-to-use-rsync



Check your file path, make sure its valid.
I have installed it thanks
Did you try to install it?
yes I have
First of install rsync on both machine, then you can either pull or push depending on your need. For pulling you can use


rsync -chavzP -e "ssh -p 22" --stats username@OLDServerIPaddress:/location/of/your/oldfolder/where/from/you/are/pulling /location/of/newserver/where/youare/keeping

as you are pulling so you have to run this code from your new server.
thanks you so much for the clear instructions
 
Back
Top