Re: Rysnc Schedule
On 7/18/07, Charles Marcus <[EMAIL PROTECTED]> wrote: Is there an alternate way to remove an entire directory *without* traversing the directory itself? No filesystem that I know of provides one, although it would be great to be able to issue a single unlink or rmdir call and have the filesystem traverse the directory and free its insides in the background. Matt -- 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: Rysnc Schedule
On 7/18/2007, Chuck Wolber ([EMAIL PROTECTED]) wrote: In linux, you delete files with the "rm" command... OT follow-up... Is there an alternate way to remove an entire directory *without* traversing the directory itself? -- Best regards, Charles -- 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: Rysnc Schedule
On Wed, 18 Jul 2007, sparty2809 wrote: > I understand how to do the rsync part, but how would I delete the files? In linux, you delete files with the "rm" command... In windows you'd probably want to use "deltree"... Or, you could get really fancy and use directed charges of thermite, although that might make it difficult to re-use portions of the disk... ..Chuck.. -- http://www.quantumlinux.com Quantum Linux Laboratories, LLC. ACCELERATING Business with Open Technology "The measure of the restoration lies in the extent to which we apply social values more noble than mere monetary profit." - FDR 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 -- 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: Rysnc Schedule
I understand how to do the rsync part, but how would I delete the files? Chuck Wolber wrote: > > On Wed, 18 Jul 2007, sparty2809 wrote: > >> >> What I want to do is use rsync to back up a folder to an external drive. >> >> I would like to keep 30 days worth. >> >> For example: I have backups of June 1 - June 30. Once July 1 comes >> along, I want to keep June 2 - July 1 and delete June 1, and so forth. >> >> Any ideas how I can accomplish this? > > Do the backups with rsync and write a shell script that runs every night > that deletes the 31st (and greater) backup. > > ..Chuck.. > > > -- > http://www.quantumlinux.com > Quantum Linux Laboratories, LLC. > ACCELERATING Business with Open Technology > > "The measure of the restoration lies in the extent to which we apply > social values more noble than mere monetary profit." - FDR > > 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 > -- > To unsubscribe or change options: > https://lists.samba.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/Rysnc-Schedule-tf4104577.html#a11678999 Sent from the Samba - rsync mailing list archive 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
DO NOT REPLY [Bug 4402] Incorrect time logged with glibc 2.5 inside chroot area
https://bugzilla.samba.org/show_bug.cgi?id=4402 --- Comment #7 from [EMAIL PROTECTED] 2007-07-18 17:24 CST --- (In reply to comment #5) > Strangely enough, none of the several variations of the program > that I tried exhibit the problem, while an rsync daemon I set up does. Did you try using localtime() instead of localtime_r()? I wonder if the latter would help rsync? Did you try forking after the chroot? -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- 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: Rysnc Schedule
On Wed, 18 Jul 2007, sparty2809 wrote: > > What I want to do is use rsync to back up a folder to an external drive. > > I would like to keep 30 days worth. > > For example: I have backups of June 1 - June 30. Once July 1 comes > along, I want to keep June 2 - July 1 and delete June 1, and so forth. > > Any ideas how I can accomplish this? Do the backups with rsync and write a shell script that runs every night that deletes the 31st (and greater) backup. ..Chuck.. -- http://www.quantumlinux.com Quantum Linux Laboratories, LLC. ACCELERATING Business with Open Technology "The measure of the restoration lies in the extent to which we apply social values more noble than mere monetary profit." - FDR 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 4402] Incorrect time logged with glibc 2.5 inside chroot area
https://bugzilla.samba.org/show_bug.cgi?id=4402 --- Comment #6 from [EMAIL PROTECTED] 2007-07-18 13:44 CST --- I should add that I tested on Fedora 7 with glibc-2.6-4 . -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 4402] Incorrect time logged with glibc 2.5 inside chroot area
https://bugzilla.samba.org/show_bug.cgi?id=4402 --- Comment #5 from [EMAIL PROTECTED] 2007-07-18 13:41 CST --- Created an attachment (id=2829) --> (https://bugzilla.samba.org/attachment.cgi?id=2829&action=view) Chroot + timezone test program I wrote a small test program in C to try to reproduce the problem without rsync (attached). Strangely enough, none of the several variations of the program that I tried exhibit the problem, while an rsync daemon I set up does. I wonder what rsync is doing differently. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
DO NOT REPLY [Bug 4402] Incorrect time logged with glibc 2.5 inside chroot area
https://bugzilla.samba.org/show_bug.cgi?id=4402 [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] --- Comment #4 from [EMAIL PROTECTED] 2007-07-18 12:40 CST --- Is there anything to be done about this? Problem still exists today with 2.6.9 and both glibc-2.5 and glibc-2.6. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug, or are watching the QA contact. -- 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: Rysnc Schedule
On 7/18/07, sparty2809 <[EMAIL PROTECTED]> wrote: What I want to do is use rsync to back up a folder to an external drive. I would like to keep 30 days worth. For example: I have backups of June 1 - June 30. Once July 1 comes along, I want to keep June 2 - July 1 and delete June 1, and so forth. Any ideas how I can accomplish this? You can do this very easily with rsnapshot ( http://www.rsnapshot.org/ ), a backup program built around rsync. It manages a rotating set of snapshots that all appear to be full, but unchanged files are hard-linked from one snapshot to the next to save storage. You would configure it with a single backup point and a single interval, "daily", with 30 snapshots. If space on the external disk is an issue, you could use rdiff-backup ( http://www.nongnu.org/rdiff-backup/ ) instead. It represents old versions of a file using a chain of backward deltas instead of full copies. Matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Rysnc Schedule
What I want to do is use rsync to back up a folder to an external drive. I would like to keep 30 days worth. For example: I have backups of June 1 - June 30. Once July 1 comes along, I want to keep June 2 - July 1 and delete June 1, and so forth. Any ideas how I can accomplish this? -- View this message in context: http://www.nabble.com/Rysnc-Schedule-tf4104577.html#a11672997 Sent from the Samba - rsync mailing list archive 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: Internal error: wrong write used in receiver.
On 7/18/07, kimry <[EMAIL PROTECTED]> wrote: ### patch -p1 < rsync-acl-patch (Stripping trailing CRs from patch.) patching file flist.c patch unexpectedly ends in middle of line ===>> is that ok? I think you are just missing the newline at the very end of rsync-acl-patch, following the second closing brace. Add it and the warning should go away. Matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Internal error: wrong write used in receiver.
## patch -p1 < rsync-acl-patch { http://lists.samba.org/archive/rsync/2006-November/016706.html} (Stripping trailing CRs from patch.) patching file flist.c patch unexpectedly ends in middle of line ===>> is that ok? Hunk #2 succeeded at 1003 with fuzz 1. ## -- _ Basem Elkimry -- 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: Internal error: wrong write used in receiver.
On 7/18/07, kimry <[EMAIL PROTECTED]> wrote: I just started to use rsync-acl-2.6.9.tar.bz2 And I got the same error Internal error: wrong write used in receiver. Is there a fix for that? The patch is here: http://lists.samba.org/archive/rsync/2006-November/016706.html Matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Internal error: wrong write used in receiver.
Hi, I just started to use rsync-acl-2.6.9.tar.bz2 And I got the same error Internal error: wrong write used in receiver. rsync error: protocol incompatibility (code 2) at io.c(1204) [generator= 2.6.9] rsync error: received SIGUSR1 (code 19) at main.c(1182) [receiver=2.6.9] it runs just fine without "--delete --force" I thought just --force is the cause of the error but I guess it is --delete Is there a fix for that? Regards, -- 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 replacement
Jason Haar wrote: > Jamie Lokier wrote: > > Check out the "TCP: advanced congestion control" option in a 2.6 Linux > > kernel, and there is plenty of research on the topic. See SCTP and > > DSCP (among others) for the more transaction oriented side. > > > Hi there Jamie > > Like yourself, our WAN (VPN over Internet) suffers majorly from "large > pipe, but large latency" issues. The jargon is "large bandwidth-delay product". > e.g. we have a 10Mbs Internet link, but > can only get ~2Mbs for a single TCP stream (e.g. HTTP, Rsync). If you aren't suffering from congestion (in the form of significant latency jitter, or dropped packets), then the limit is due to the TCP window size, which you can increase. It is easy to tell if window size is the problem by looking at the packet stream using Ethereal: every transmit will keep the window full. Individual applications can increase it using the SO_SNDBUF and SO_RCVBUF options. (Use the appropriate option at the sending and receiving sides :-) The default (for applications which don't use those options) is increased in an OS-specific way. On Linux, you'd write different values to /proc/sys/net/ipv4/{tcp_wmem,tcp_rmem,tcp_window_scaling} and possibly other window-related settings. Googling for "TCP window size" and configuring Apache, Samba etc. will probably yield plenty of suggestions. If the slowdown is due to congestion or latency jitter, there's a lot of tuning knobs on Linux and BSD, and the best choice depends on the types of link you are running over. You may also be limited by your router _intentionally_ limiting a single TCP stream. Or, if your 10Mbs link is implemented by an aggregation of slower links, the aggregating routers may be mapping individual TCP streams on to only one of those links (I've seen this, I think), limiting the speed to one link. If you have those router limits, all you can do is used multiple streams. If you switched to another protocol over UDP, the routers would probably have the same limitation. Assuming so, you can work around it by bonding multiple UDP-based VPNs and run a single TCP stream over that. Don't try that until you're sure it's the problem :-) > Are protocols like SCTP and DSCP really capable of helping in such > situations? i.e would they improve the throughput of single streamed > transactions? No, SCTP and DSCP are not designed for that; they are more aimed at having multiple concurrent transactions or streams multiplexed into a single stream of larger packets, without individual delays affecting every transaction, and sharing congestion control. (However, you could implement any of the things which run over UDP, using DSCP instead and get OS-level congestion management, I think). -- Jamie -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html