I've got a project I'm working on, and I need some advice on how to code something. Let me explain the goal.
I have 3 servers that my team uploads files too every day. I have a backup server that I run. It's tedious as all hell to download from each one, every day. I don't know what is new, and what isn't. The 3 Servers run CentOS, while my server runs Windows. Here's what I need it to do.
Every 24 hours, I want it to check for new files, if there are new files, it initiates a download to my back up server. There is a specific time frame that the server will be able to download. I have a relatively fast internet, however the server is only running a dual core with 15TB of Storage in a Pooled Environment. The download can run from 12AM PST to 3PM PST, a 15 hour window. At most that would be uploaded/downloaded would be 5GB or less, depending on whats being updated. My server at home will be running sftp, so there isn't that problem. I could make the files download in ftps, and only accept connections from my 3 servers.
I've never worked on anything in Linux, it's always been Windows. I'm open to suggestions for other software for syncing, but I'd like to build this on my own.
Question
BinaryData
I've got a project I'm working on, and I need some advice on how to code something. Let me explain the goal.
I have 3 servers that my team uploads files too every day. I have a backup server that I run. It's tedious as all hell to download from each one, every day. I don't know what is new, and what isn't. The 3 Servers run CentOS, while my server runs Windows. Here's what I need it to do.
Every 24 hours, I want it to check for new files, if there are new files, it initiates a download to my back up server. There is a specific time frame that the server will be able to download. I have a relatively fast internet, however the server is only running a dual core with 15TB of Storage in a Pooled Environment. The download can run from 12AM PST to 3PM PST, a 15 hour window. At most that would be uploaded/downloaded would be 5GB or less, depending on whats being updated. My server at home will be running sftp, so there isn't that problem. I could make the files download in ftps, and only accept connections from my 3 servers.
I've never worked on anything in Linux, it's always been Windows. I'm open to suggestions for other software for syncing, but I'd like to build this on my own.
Link to comment
https://www.neowin.net/forum/topic/1292346-c-recursive-sftp-sync-guidance-needed/Share on other sites
6 answers to this question
Recommended Posts