- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: how to copy updated files to the server automa...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2005 05:31 AM
тАО07-21-2005 05:31 AM
how to copy updated files to the server automatically
there is a directory "/project" on a server(10.1.1.9).
I also have copy the "/project" directory from 10.1.1.9 to another server(10.1.1.10).
Now I want that whenever any file in /project/ directory on 10.1.1.9, updates/modified that file also automatically copies to the "/project" directory of 10.1.1.10
I know how to use 'scp', but what should i do, so that updated files will be automatically copied to the destination.
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2005 05:37 AM
тАО07-21-2005 05:37 AM
Re: how to copy updated files to the server automatically
The rsync service can copy only files that where modified, so you can run a "cron" to continuously copy the files, but only the modified files will be copied.
There is also the posibility to run RAID on network block devices (NBD), to mirror the data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2005 05:39 AM
тАО07-21-2005 05:39 AM
Re: how to copy updated files to the server automatically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2005 05:50 AM
тАО07-21-2005 05:50 AM
Re: how to copy updated files to the server automatically
1, Dear Ivan, and Rick what rpm should i have to install to work with rsync ? i m using rhel 3.0.
2, I dont know how to configure the rsync.. if u can plz guide me, i'll be highly thankfull to u all.
And if u can plz write me the syntax of cron, for my situation/scenario ?
Thanks n Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2005 05:58 AM
тАО07-21-2005 05:58 AM
Re: how to copy updated files to the server automatically
I have the version rsync-2.6.3-1 installed.
You should get a return to the rpm command if the utility is installed.
As to cron
minutes hours day-of-month month day-of-week
So...
00 05 15 8 *
Says that at 0500 hrs on the 15th day of the 8th month
Not knowing what it is you are trying to accomplish, I would direct you to the man pages (man rsync) There are examples in the man pages that can help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2005 06:03 AM
тАО07-21-2005 06:03 AM
Re: how to copy updated files to the server automatically
Rsync works with a daemon, and a client that is the rsync command itselv (rsync -avz).
It uses rsh commands, so if you want security, find a document that describes how to use rsync with ssh.
Regards.