]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices/2001/001179.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices / 2001 / 001179.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] Tcl &amp; IRC Bots for Backup
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Tcl%20%26%20IRC%20Bots%20for%20Backup&In-Reply-To=">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="001178.html">
11 <LINK REL="Next" HREF="001186.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] Tcl &amp; IRC Bots for Backup</H1>
15 <B>Sinan Ku&#351;do&#287;an</B>
16 <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Tcl%20%26%20IRC%20Bots%20for%20Backup&In-Reply-To="
17 TITLE="[IRCServices] Tcl &amp; IRC Bots for Backup">kusdogan at boun.edu.tr
18 </A><BR>
19 <I>Mon Jan 22 18:52:18 PST 2001</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="001178.html">AW: [IRCServices] Backup Feature?
22 </A></li>
23 <LI>Next message: <A HREF="001186.html">[IRCServices] new problem
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#1179">[ date ]</a>
27 <a href="thread.html#1179">[ thread ]</a>
28 <a href="subject.html#1179">[ subject ]</a>
29 <a href="author.html#1179">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>Hi everyone,
35
36 Because of my interest in tcl and bots i thought of a TCL backup system that
37 consists of two services running on different machines with separate DB's
38 and two IRCbots (or only TCL codes).
39
40 Let's call the first bot as MasterBot and the other as SlaveBot.
41
42 MasterBot runs only for 1 or 2 minutes after the main service starts and
43 SlaveBot runs always.
44
45 Assume SlaveBot backups database to slave services' DBs on every 5 minutes
46 when it finds OperServ1 (you can check this nickname or another specific
47 signal for main services) running safely. When the check fails it uses its
48 privileges and connects the secondary services with the server immediately
49 and it may store the time of the server.
50
51 When main services come back it first runs MasterBot to check the case. If
52 the time that the secondary service ran is long enough it quits the
53 connection and loads secondary DB to the master one and connects the main
54 services.
55
56 What is the advantage of this? You can run two separate services on
57 different machines (should be on the same network, low connection speed may
58 result with some data problems). You lost at max the SlaveBot's check time
59 period. Cronjob and running two services on the same machine fails if that
60 machine fails :)
61 This is only another view. It may be improved. That's all from me at
62 midnight :)))
63
64 Sinan &quot;abbas&quot; Kusdogan
65
66
67
68 </PRE>
69
70 <!--endarticle-->
71 <HR>
72 <P><UL>
73 <!--threads-->
74 <LI>Previous message: <A HREF="001178.html">AW: [IRCServices] Backup Feature?
75 </A></li>
76 <LI>Next message: <A HREF="001186.html">[IRCServices] new problem
77 </A></li>
78 <LI> <B>Messages sorted by:</B>
79 <a href="date.html#1179">[ date ]</a>
80 <a href="thread.html#1179">[ thread ]</a>
81 <a href="subject.html#1179">[ subject ]</a>
82 <a href="author.html#1179">[ author ]</a>
83 </LI>
84 </UL>
85
86 </body></html>