![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Transfering file from unix server to a windows pc | Preet | IP Networking | 1 | 05-13-2008 03:00 PM |
| FTP multiple files from remote server to local server | berlin_germany | Shell Programming and Scripting | 2 | 12-20-2006 03:24 AM |
| automatic transfering of files using scp | tcruicksh | Shell Programming and Scripting | 1 | 06-22-2006 09:57 PM |
| transfering files unix to pc | intern | UNIX for Dummies Questions & Answers | 8 | 05-30-2006 05:35 AM |
| Transfering files | vbs | UNIX for Dummies Questions & Answers | 5 | 06-25-2002 11:24 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
My oracle database is generating archive logs. I want to copy those archive logs over to backup server on a regular basis. I know how to create an ftp job and I can put it in my crontab. My problem is that I don't know how to send the files just once instead of sends all the files in the directory over and over.
Example: I have archives 1, 2 & 3 when the cron job starts. It sends archives 1, 2 & 3 over to the other server. Now 6 hours later when the cront job runs again there are archives 1, 2, 3, 4 & 5. How do I make the program know that I have already sent over 1, 2 & 3 so that is only sends 4 & 5? I am thinking that if the ftp could return the contents of the directory on the backup server then some how compare what is in the directories of the two servers and only send over the difference that would solve my problem. I know that I can do a dir to find out what is over there but I don't know how to handle what comes back and then compareing them. Does any one have any ideas or am I on the wrong track entirelly? I appericate your help. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|