Answer the question
In order to leave comments, you need to log in
How and with what to transfer / synchronize files between servers?
Hello connoisseurs!
I myself am not very strong in Linux, so I turn here for help. Actually TK:
We have server No. 1 (Ubuntu server 16.04), server No. 2 (Ubuntu server 14.04) and server No. 3 (Ubuntu server 16.04).
On servers No. 2 and No. 3, files are recorded around the clock, and they are laid out in the following folders:
/media/rec/camera1/%Y/%m/%d/%H.mp4,
/media/rec/camera2/%Y/ %m/%d/%H.mp4,
/media/rec/camera3/%Y/%m/%d/%H.mp4,
. . . etc.
You need to make a script or some other reliable solution that would copy the recorded files from servers #2 and #3 once an hour to a shared folder on server #1 while maintaining paths like /cameraX/%Y/%m/%d/% H.mp4
IMPORTANT! Files being written (in progress) in the current hour should not be copied.
Who is ready to take on such a script and how much will it cost? All suggestions and questions write here, leave contacts for communication.
Thank you in advance!
Answer the question
In order to leave comments, you need to log in
Why didn't you like rsync ? This thing is used by many fairly serious projects. At the same time, traffic is minimized, that is, if you change one letter in one 1GB file, you will not need to send a whole gigabyte again, only changes will be sent.
Wiki excerpt (link above):
With a task scheduler such as cron, it is possible to organize automated rsync-based mirroring over a cryptographically secure channel between many computers and a central server.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question