summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-November/019806.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-November/019806.html')
-rw-r--r--zarb-ml/mageia-dev/2012-November/019806.html102
1 files changed, 102 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-November/019806.html b/zarb-ml/mageia-dev/2012-November/019806.html
new file mode 100644
index 000000000..1e4f97c55
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-November/019806.html
@@ -0,0 +1,102 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] Barry's cronsync script - Bugs
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Barry%27s%20cronsync%20script%20-%20Bugs&In-Reply-To=%3C50991934.2020702%40zen.co.uk%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="019782.html">
+ <LINK REL="Next" HREF="019808.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Barry's cronsync script - Bugs</H1>
+ <B>Barry Jackson</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Barry%27s%20cronsync%20script%20-%20Bugs&In-Reply-To=%3C50991934.2020702%40zen.co.uk%3E"
+ TITLE="[Mageia-dev] Barry's cronsync script - Bugs">zen25000 at zen.co.uk
+ </A><BR>
+ <I>Tue Nov 6 15:05:40 CET 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="019782.html">[Mageia-dev] Barry's cronsync script - Bugs
+</A></li>
+ <LI>Next message: <A HREF="019808.html">[Mageia-dev] Barry's cronsync script - Bugs
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#19806">[ date ]</a>
+ <a href="thread.html#19806">[ thread ]</a>
+ <a href="subject.html#19806">[ subject ]</a>
+ <a href="author.html#19806">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On 05/11/12 19:36, Johnny A. Solbu wrote:
+&gt;<i>
+</I>&gt;<i> I have problems customizing it for my own use. (I'm testiing manually for the time being)
+</I>&gt;<i> It won't exclude the things I say it should exclude.
+</I>&gt;<i> My copy have this line:
+</I>&gt;<i> ==
+</I>&gt;<i> myexcludes=&quot;--exclude={debug/,backports_testing,updates_testing/}&quot;
+</I>&gt;<i> ==
+</I>&gt;<i> It does Not exclude them. (Note that I am excluding all debug and _testing folders, but Not SRPMS)
+</I>&gt;<i> That line used in my manuall rsync command, works. They are excluded.
+</I>&gt;<i>
+</I>&gt;<i> So, why won't this work in cronsync?
+</I>&gt;<i>
+</I>Hi Johnny,
+Sorry for delay - I missed the post.
+It's your syntax.
+This works using your excludes with the syntax in line 20 of this new
+script.
+
+<A HREF="http://paste.kde.org/598076/">http://paste.kde.org/598076/</A>
+
+I fixed another bug and changed it slightly to better display rsync
+errors in the log.
+I have not seen any problems recently and it's running every hour. It
+currently keeps a filecount history log as well, but that's just for
+interest and testing.
+
+The problem with your syntax seems to be related to the {} - I don't
+fully understand why, but it causes a pair of ' to be wrapped around the
+--exclude option in the final rsync command :
+
+rsync -rlptgoDhHSn --stats --delete-after --delete-excluded
+--protect-args '--exclude={debug/,backports_testing,updates_testing/}'
+<A HREF="rsync://distrib-coffee.ipsl.jussieu.fr:/pub/linux/Mageia/distrib">rsync://distrib-coffee.ipsl.jussieu.fr:/pub/linux/Mageia/distrib</A>
+/zmrepo/pub/linux/Mageia/
+
+With my syntax it appears like this:-
+
+rsync -rlptgoDhHSn --progress --stats --delete-after --max-delete=1000
+--delete-excluded --protect-args --exclude=debug
+--exclude=backports_testing --exclude=updates_testing
+<A HREF="rsync://distrib-coffee.ipsl.jussieu.fr:/pub/linux/Mageia/distrib">rsync://distrib-coffee.ipsl.jussieu.fr:/pub/linux/Mageia/distrib</A>
+/zmrepo/pub/linux/Mageia/
+
+Regards
+Barry
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="019782.html">[Mageia-dev] Barry's cronsync script - Bugs
+</A></li>
+ <LI>Next message: <A HREF="019808.html">[Mageia-dev] Barry's cronsync script - Bugs
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#19806">[ date ]</a>
+ <a href="thread.html#19806">[ thread ]</a>
+ <a href="subject.html#19806">[ subject ]</a>
+ <a href="author.html#19806">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>