+1 vote
117 views
how to sync two different linux server directories?
in Programming by (333 points) | 117 views

Please log in or register to answer this question.

2 Answers

0 votes
Use scp command to sync different server directories.
by (15 points)
0 votes
To sync files between 2 Linux servers follow these basic steps:

1-Establish trust between both servers via SSH.

2-Create script to sync files and restart a service.

3-Create a new service to monitor for changes and execute the script.

4-Test for success!
by (256 points)