开发者

Sync from shared CentOS server to VPS CentOS server

开发者 https://www.devze.com 2023-02-14 10:24 出处:网络
I have a php/mysql doc management app on shared CentOS server and docs from all clients/users are saved in one folder(not in public_html).

I have a php/mysql doc management app on shared CentOS server and docs from all clients/users are saved in one folder(not in public_html).

I backed all docs to开发者_JAVA百科 a VPS box but now would like just to sync difference every hour or so from shared CentOS box to VPS.

How can I do that?

Thanx


Use a cronjob in combination with rsync. rsync is able to transfer diffs of files.

The rsync manpage will tell you how to do so, or any of the many tutorials on the web.

0

精彩评论

暂无评论...
验证码 换一张
取 消