1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices] Panic / Segmentation fault?
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">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices] Panic / Segmentation fault?
</H1>
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
19 <I>Wed Jan
17 22:
02:
49 PST
2001</I>
21 <LI>Previous message:
<A HREF=
"001119.html">[IRCServices] Panic / Segmentation fault?
23 <LI>Next message:
<A HREF=
"001114.html">[IRCServices] Channel suspension
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>
34 <PRE>On Thu, Jan
18,
2001 at
07:
44:
04AM +
0200, Andrew Kempe wrote:
35 ><i> Have a cron job that runs every X hours (e.g.
12) that tars and gzips *.db
36 </I>><i> and moves the archive to a new location with a nice name. If you have some
37 </I>><i> trust in the box's hardware not falling over, you can have another cron that
38 </I>><i> mails you the latest DB once a week or something. Otherwise mail it to
39 </I>><i> yourself once a day - if you're the paranoid type. Or... just
40 </I>><i> SCP/FTP/something-it to another server.
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
>/dev/null
2>&1
46 (
2)
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">services at area51
</A>:~$ cat bin/sendbackup
48 cd ~/data; tar czf - *.db *.conf *.motd|uuencode services-`date +'%Y-%m-%d-%a'`.tar.gz|mail -s
"Services backup for `date`
" <userlist here
>
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
54 </I>* ^Subject: Services backup for.*
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.
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>
65 For PGP key, send e-mail with subject
"send pgp key
"
74 <LI>Previous message:
<A HREF=
"001119.html">[IRCServices] Panic / Segmentation fault?
76 <LI>Next message:
<A HREF=
"001114.html">[IRCServices] Channel suspension
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>