]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices/2001/001120.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices / 2001 / 001120.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] Panic / Segmentation fault?
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Panic%20/%20Segmentation%20fault%3F&In-Reply-To=03bb01c08111%24aaa94120%249c011ac4%40africa.didata.local">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="001119.html">
11 <LINK REL="Next" HREF="001114.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] Panic / Segmentation fault?</H1>
15 <B>Sean Kelly</B>
16 <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Panic%20/%20Segmentation%20fault%3F&In-Reply-To=03bb01c08111%24aaa94120%249c011ac4%40africa.didata.local"
17 TITLE="[IRCServices] Panic / Segmentation fault?">smkelly at zombie.org
18 </A><BR>
19 <I>Wed Jan 17 22:02:49 PST 2001</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="001119.html">[IRCServices] Panic / Segmentation fault?
22 </A></li>
23 <LI>Next message: <A HREF="001114.html">[IRCServices] Channel suspension
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#1120">[ date ]</a>
27 <a href="thread.html#1120">[ thread ]</a>
28 <a href="subject.html#1120">[ subject ]</a>
29 <a href="author.html#1120">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>On Thu, Jan 18, 2001 at 07:44:04AM +0200, Andrew Kempe wrote:
35 &gt;<i> Have a cron job that runs every X hours (e.g. 12) that tars and gzips *.db
36 </I>&gt;<i> and moves the archive to a new location with a nice name. If you have some
37 </I>&gt;<i> trust in the box's hardware not falling over, you can have another cron that
38 </I>&gt;<i> mails you the latest DB once a week or something. Otherwise mail it to
39 </I>&gt;<i> yourself once a day - if you're the paranoid type. Or... just
40 </I>&gt;<i> SCP/FTP/something-it to another server.
41 </I>
42 Here's what we do:
43
44 (1) <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">services at area51</A>:~$ crontab -l
45 0 23 * * * /usr/home/services/bin/sendbackup &gt;/dev/null 2&gt;&amp;1
46 (2) <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">services at area51</A>:~$ cat bin/sendbackup
47 #!/bin/sh
48 cd ~/data; tar czf - *.db *.conf *.motd|uuencode services-`date +'%Y-%m-%d-%a'`.tar.gz|mail -s &quot;Services backup for `date`&quot; &lt;userlist here&gt;
49
50
51 Then on my machine where I receive mail, I have a procmail rule:
52 (212) <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">smkelly at edgemaster</A>:~$ cat .procmailrc
53 :<i>0:
54 </I>* ^Subject: Services backup for.*
55 boxes/snserv-backup
56
57 Thus, I have a mailspool format file with daily backups as far back as I need
58 them. I generally keep a week's worth of them on hand. I just use my mail
59 user agent (mutt) to save the message to disk if I need the backup.
60
61 --
62 Sean Kelly | PGP KeyID: 77042C7B
63 <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">smkelly at zombie.org</A> | <A HREF="http://www.zombie.org">http://www.zombie.org</A>
64
65 For PGP key, send e-mail with subject &quot;send pgp key&quot;
66
67
68 </PRE>
69
70 <!--endarticle-->
71 <HR>
72 <P><UL>
73 <!--threads-->
74 <LI>Previous message: <A HREF="001119.html">[IRCServices] Panic / Segmentation fault?
75 </A></li>
76 <LI>Next message: <A HREF="001114.html">[IRCServices] Channel suspension
77 </A></li>
78 <LI> <B>Messages sorted by:</B>
79 <a href="date.html#1120">[ date ]</a>
80 <a href="thread.html#1120">[ thread ]</a>
81 <a href="subject.html#1120">[ subject ]</a>
82 <a href="author.html#1120">[ author ]</a>
83 </LI>
84 </UL>
85
86 </body></html>