简体   繁体   中英

Sync from shared CentOS server to VPS CentOS server

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 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM