0 votes
46 views
in Ubuntu by (5k points)
How to transfer files from one server to another?

I have two online ubuntu servers both have dedicated ips. I want to transfer my one server files to another. What is the best possible solution for this ? both servers has good internet speeds and online 24 hours i want to transfer them from one to another.
by (5k points)

If you want to transfer files from one server to another by using scp (Secure Copy) command.

See the following syntax for scp files from one server:-

scp <file> <username>@<IP address or hostname>:<Destination>

Example:-

scp -r /opt/myproject/ [email protected]:~

1 Answer

0 votes
by (5k points)

If you want to transfer files from one server to another by using scp (Secure Copy) command.

See the following syntax for scp files from one server:-

scp <file> <username>@<IP address or hostname>:<Destination>

Example:-

scp -r /opt/myproject/ [email protected]:~

Share:- Whatsapp Facebook Facebook


Welcome to Developerhelpway Q&A, where you can ask questions and receive answers from other members of the community.

Categories

...