Re: rsync help needed

2008-02-13 Thread Daniel Maher
> > Perhaps i've misunderstood what you're attempting to do; however, if > > you simply want to exclude some files (not delete them), then you > > should be using --exclude instead. > > > > As far as the time requirement is concerned, you may wish to > > consider generating the file listing ahead

Re: rsync help needed

2008-02-13 Thread Daniel Maher
On Wed, 13 Feb 2008 18:04:48 +0530 "piyush joshi" <[EMAIL PROTECTED]> wrote: > Dear All, >I want to exclude some files from the backup server. I got > this option --delete-excluded but i want to only exclude those files > which are older than one month from the current date and does no

rsync help needed

2008-02-13 Thread piyush joshi
Dear All, I want to exclude some files from the backup server. I got this option --delete-excluded but i want to only exclude those files which are older than one month from the current date and does not exist on server how can i achieve this with the help of rsync. Please help me i will

Re: Rsync help needed

2007-12-05 Thread Paul Slootman
On Mon 03 Dec 2007, piyush joshi wrote: >I am new to rsync command and i need your help .I have one > mail server I take the back up of mail server on backup server but what > happen all users delete there mail's from mail server but that does'nt > deleted from back up server after

Rsync help needed

2007-12-02 Thread piyush joshi
Dear All , I am new to rsync command and i need your help .I have one mail server I take the back up of mail server on backup server but what happen all users delete there mail's from mail server but that does'nt deleted from back up server after that i used --delete option problem s

Re: Rsync help needed...

2006-03-22 Thread lsk
option and network connection fails. I need to trransfer files that are on 40 drives abt (16000 files) I am trying to find the best possible solution to transfer it as fast i can without any issues. Thanks, lsk. -- View this message in context: http://www.nabble.com/Rsync-help-needed...-t1170765.html#a354

Re: Rsync help needed...

2006-03-09 Thread Wayne Davison
On Thu, Mar 09, 2006 at 06:40:20AM -0800, lsk wrote: > - with datafiles in dsetination takes more time I assume you could use --whole-file instead of removing the destination files manually. ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before post

Re: Rsync help needed...

2006-03-09 Thread lsk
a.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- View this message in context: http://www.nabble.com/Rsync-help-needed...-t1170765.html#a3320951 Sent from the Samba - rsync forum at Nabble.com. -- To unsubscribe or change options: https:

Re: Rsync help needed...

2006-03-03 Thread Linus Hicks
Carson Gaspar wrote: --On Friday, March 03, 2006 9:21 AM -0500 Linus Hicks Please configure your email client to not quote email addresses... wrote: This is certainly not true for the source machine. It typically has 70gb free (it's still running a 32-bit Oracle database server). The desti

Re: Rsync help needed...

2006-03-03 Thread Carson Gaspar
--On Friday, March 03, 2006 9:21 AM -0500 Linus Hicks <[EMAIL PROTECTED]> wrote: This is certainly not true for the source machine. It typically has 70gb free (it's still running a 32-bit Oracle database server). The destination machine started out with about 2.8gb free. I will run it again and

Re: Rsync help needed...

2006-03-03 Thread Linus Hicks
Wayne Davison wrote: On Fri, Mar 03, 2006 at 09:21:25AM -0500, Linus Hicks wrote: I'm transferring one file, which is obvious from my command line. Is the FAQ incorrect? The FAQ is incomplete in how the size of the file can affect the sender's memory. If the destination file already exists, t

Re: Rsync help needed...

2006-03-03 Thread Wayne Davison
On Fri, Mar 03, 2006 at 09:21:25AM -0500, Linus Hicks wrote: > I'm transferring one file, which is obvious from my command line. Is the > FAQ incorrect? The FAQ is incomplete in how the size of the file can affect the sender's memory. If the destination file already exists, the sender needs to b

Re: Rsync help needed...

2006-03-03 Thread Linus Hicks
Linus Hicks wrote: Wayne Davison wrote: On Thu, Mar 02, 2006 at 02:07:14PM -0500, Linus Hicks wrote: I do not understand the exceeding long times shown in the last two runs. Since the user/sys CPU time didn't also mushroom, I would suggest that you check to see if your system ran out of free

Re: Rsync help needed...

2006-03-03 Thread Linus Hicks
Wayne Davison wrote: On Thu, Mar 02, 2006 at 02:07:14PM -0500, Linus Hicks wrote: I do not understand the exceeding long times shown in the last two runs. Since the user/sys CPU time didn't also mushroom, I would suggest that you check to see if your system ran out of free memory and started t

Re: Rsync help needed...

2006-03-02 Thread Wayne Davison
On Thu, Mar 02, 2006 at 02:07:14PM -0500, Linus Hicks wrote: > I do not understand the exceeding long times shown in the last two > runs. Since the user/sys CPU time didn't also mushroom, I would suggest that you check to see if your system ran out of free memory and started to thrash as memory wa

Re: Rsync help needed...

2006-03-02 Thread lsk
en create a database using control file so I am desperate of trying all options that would suffice my need to get this done in less amount of time. Thanks, lsk. -- View this message in context: http://www.nabble.com/Rsync-help-needed...-t1170765.html#a3215145 Sent from the Samba - rsync forum at

Re: Rsync help needed...

2006-03-02 Thread Linus Hicks
Here's my contribution to information on performance. There are two different cases. The first is a 1.6gb file that has a low volume of updates. The second case is a 4gb file that has a high volume. All are non-local transfers. I do not understand the exceeding long times shown in the last two r

Re: Rsync help needed...

2006-02-28 Thread Matthew Hannigan
On Tue, Feb 28, 2006 at 07:45:20AM -0800, lsk wrote: > > > Matt I have strange results to report I transferred 300 oracle datafiles of > total 30 GB in size. Using the option " rsync -zv --no-whole-file --stats" > it took 1:15 min and using "rsync -cvz" options earlier had took 1:25 min so > the

Re: Rsync help needed...

2006-02-28 Thread Matt McCutchen
On Tue, 2006-02-28 at 07:43 -0800, lsk wrote: > Matt I have strange results to report I transferred 300 oracle datafiles of > total 30 GB in size. Using the option " rsync -zv --no-whole-file --stats" > it took 1:15 min and using "rsync -cvz" options earlier had took 1:25 min so > there wasn't much

Re: Rsync help needed...

2006-02-28 Thread Matt McCutchen
On Tue, 2006-02-28 at 09:20 -0500, Linus Hicks wrote: > rsync -a srchost:/ / --files-from=dbf-list > > and dbf-list would contain this: > > p02/oradata/OSID/redo01.log > p03/oradata/OSID/redo02.log > p04/oradata/OSID/redo03.log > p01/oradata/OSID/system01.dbf > p04/oradata/OSID/undotbs01.dbf > p0

Re: Rsync help needed...

2006-02-28 Thread lsk
File list transfer time: 0.000 seconds Total bytes sent: 184089 Total bytes received: 254026 sent 184089 bytes received 254026 bytes 2131.95 bytes/sec total size is 167780352 speedup is 382.96 Thanks, lsk. -- View this message in context: http://www.nabble.com/Rsync-help-needed...-t117

Re: Rsync help needed...

2006-02-28 Thread lsk
File list transfer time: 0.000 seconds Total bytes sent: 184089 Total bytes received: 254026 sent 184089 bytes received 254026 bytes 2131.95 bytes/sec total size is 167780352 speedup is 382.96 Thanks, lsk. -- View this message in context: http://www.nabble.com/Rsync-help-needed...-t117

Re: Rsync help needed...

2006-02-28 Thread Linus Hicks
Matt McCutchen wrote: On Mon, 2006-02-27 at 06:58 -0800, lsk wrote: Could you give an example with syntax for rsync using file option "--files-rom=FILE". If my-list in the current directory contains a b b/c b/d b/d

Re: Rsync help needed...

2006-02-27 Thread Matt McCutchen
On Mon, 2006-02-27 at 06:58 -0800, lsk wrote: > Could you give an example with syntax for rsync using file > option "--files-rom=FILE". If my-list in the current directory contains a b b/c b/d b/d/e , then the command

Re: Rsync help needed...

2006-02-27 Thread lsk
alling it for each > file will wait for several network round trips per file. Thanks Matt. I thought that might be the case. -- //*** lsk => Could you give an example with syntax for rsync using file option "--files-rom=FILE". Thanks, lsk. -- View this message in context: h

Re: Rsync help needed...

2006-02-27 Thread Linus Hicks
Matt McCutchen wrote: On Fri, 2006-02-24 at 18:40 -0500, Linus Hicks wrote: I did something similar to what lsk is doing a few months back, I believe using rsync 2.6.5. I wrote a script to query the database for all the datafiles and rsync'ed them individually by specifying the full path to th

Re: Rsync help needed...

2006-02-24 Thread Matt McCutchen
On Fri, 2006-02-24 at 18:40 -0500, Linus Hicks wrote: > I did something similar to what lsk is doing a few months back, I believe > using > rsync 2.6.5. I wrote a script to query the database for all the datafiles and > rsync'ed them individually by specifying the full path to the file. What I

Re: Rsync help needed...

2006-02-24 Thread Linus Hicks
Matt McCutchen wrote: On Fri, 2006-02-24 at 11:08 -0800, lsk wrote: /// lsk:- Thanks for the clarification Wayne, in my case no one would be allowed to use the destination file until the process is complete. As soon as my destination server is upgraded to the newer version of rsync whic

Re: Rsync help needed...

2006-02-24 Thread Matt McCutchen
On Fri, 2006-02-24 at 11:08 -0800, lsk wrote: > /// lsk:- Thanks for the clarification Wayne, in my case no one > would be allowed to use the destination file until the process is > complete. As soon as my destination server is upgraded to the newer > version of rsync which supports --inpla

Re: Rsync help needed...

2006-02-24 Thread lsk
sync -zv --no-whole-file --stats /d01/app/testfile2.dbf > tarser:/t01/app/testfile2.dbf > > Thanks, > lsk. > > -- View this message in context: http://www.nabble.com/Rsync-help-needed...-t1170765.html#a3113956 Sent from the Samba - rsync forum at Nabble.com. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: Rsync help needed...

2006-02-24 Thread Wayne Davison
On Fri, Feb 24, 2006 at 05:58:26AM -0800, lsk wrote: > 2) And Matt could explain little more on what do you mean by "atomicity" What he meant is that, without --inplace, rsync creates an updated file and moves it into place, making the update atomic (i.e. none of the destination files are ever in

Re: Rsync help needed...

2006-02-24 Thread Mario Ohnewald
Hello, On Fri, 2006-02-24 at 05:58 -0800, lsk wrote: > I am back with the results..here are the options I tried on a 7.0 GB file. > > =>No file on target (rm the file on the target and rsync) with "rsync -czv" > it took 1 hr. > =>File on target with but header info change on source with "rsync -

Re: Rsync help needed...

2006-02-24 Thread lsk
more on what do you mean by "atomicity" 3) We need to RSYNC a 5 TB worth of datafiles and the create a target database by replicating the source so I need the best option to RSYNC only the changes instead of the whole 5 TB database. Thanks, lsk -- View this message in context: http://www.

Re: Rsync help needed...

2006-02-23 Thread Matt McCutchen
On Thu, 2006-02-23 at 14:32 -0500, Linus Hicks wrote: > At a minimum, when an Oracle database is opened and closed, the timestamps on > all datafiles will be updated because the header blocks will get updated with > a > new SCN. So the timestamps on all datafiles will always look different the

Re: Rsync help needed...

2006-02-23 Thread lsk
Thanks Matt since morning I am running some real time tests with 7 GB datafile as you had suggested I should post back the results as soon as that finishes...and we could find out whether rsync algorithm works as it should. lsk. -- View this message in context: http://www.nabble.com/Rsync-help

Re: Rsync help needed...

2006-02-23 Thread Linus Hicks
Matt McCutchen wrote: On Wed, 2006-02-22 at 11:43 -0800, lsk wrote: Currently I use "rsync -czv" c for checksum. If each data file's first few bytes ("header information") change between rsync transfers, then --checksum buys you nothing. Normally rsync will skip transferring a file if the

Re: Rsync help needed...

2006-02-22 Thread Matt McCutchen
On Wed, 2006-02-22 at 11:43 -0800, lsk wrote: > lsk: This is oracle database the header information(timestamp..etc) on each > datafile constantly changes which might be very small change but the data > inside most of the datafiles are same they wont change much. New oracle > datafiles will be added

Re: Rsync help needed...

2006-02-22 Thread lsk
s to refresh target server we remove all datafiles on target and rsync all datafiles again from source. My question is if we leave the older datafiles and rsync will it be faster ? Currently I use "rsync -czv" c for checksum. Thanks, lsk. -- View this message in context: http://www.

Re: Rsync help needed...

2006-02-22 Thread Gian G. Spicuzza
osely, and compresses files during transfer to speed it up. If you would like to watch it happen, add --progress for cool status view. What is the rsync command to be used ? Thanks, lsk. -- View this message in context: http://www.nabble.com/Rsync-help-needed...-t1170765.html#a3075671 Sent from

Rsync help needed...

2006-02-22 Thread lsk
cleaning the old files so in the old files only the changes will be copied and new files also needs to be rsynced. What is the rsync command to be used ? Thanks, lsk. -- View this message in context: http://www.nabble.com/Rsync-help-needed...-t1170765.html#a3075671 Sent from the Samba - rsync forum