]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices-coding/2003/001856.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices-coding / 2003 / 001856.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices Coding] Backup Idea...?
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20Backup%20Idea...%3F&In-Reply-To=000901c2b5ce%24d49ffb60%24316419ac%40caphealth.org">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="001855.html">
11 <LINK REL="Next" HREF="001859.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices Coding] Backup Idea...?</H1>
15 <B>Ballsy</B>
16 <A HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20Backup%20Idea...%3F&In-Reply-To=000901c2b5ce%24d49ffb60%24316419ac%40caphealth.org"
17 TITLE="[IRCServices Coding] Backup Idea...?">ballsy at mystical.net
18 </A><BR>
19 <I>Mon Jan 6 14:11:55 PST 2003</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="001855.html">[IRCServices Coding] Backup Idea...?
22 </A></li>
23 <LI>Next message: <A HREF="001859.html">[IRCServices Coding] Backup Idea...?
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#1856">[ date ]</a>
27 <a href="thread.html#1856">[ thread ]</a>
28 <a href="subject.html#1856">[ subject ]</a>
29 <a href="author.html#1856">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE> It seems to me the question with respect to
35 auto-backups via Services has come up on this list before, and I think the
36 general concensus was that it should be done by the services
37 administrator via small scripts in cron, etc.
38 As for your idea about the auto-FTP'ing stuff, I used to do
39 something very similar. Without giving away all the fun, it went
40 something like this...
41
42 1) create a file (chmod 600) containing all the FTP commands you'd like to
43 issue....for example, assuming you're connecting to the services shell
44 from some other unix machine....
45
46 user usernamehere passwordhere
47 cd servicesdir/data/
48 mget *.db
49 bye
50
51 2) now, you just issue the following, which pipes the commands above into
52 the interactive FTP command....
53 `cat filefromabove | ftp -in services.hostname.com`
54
55 3) you can now tar/gzip the newly downloaded .dbs
56
57 Naturally, you could have done this the opposite way, where you
58 ftp TO a remote host FROM the services shell itself. Take your pick.
59 If available, it would obviously be more secure to use the `scp`
60 command from the SSH package to do secure transfers. These are even
61 easier to automate, as you can avoid passwords by employing authorized
62 keys, etc.
63
64 David
65
66
67 Quoth Saturn on Jan 6 at 13:59,
68
69 &gt;<i> An Idea... any chance of some sort of built in log/database backup
70 </I>&gt;<i> function -- something that makes a daily automatic backup copy of the
71 </I>&gt;<i> databases and that day's log (dated), and stuffs it into a designated
72 </I>&gt;<i> location (like some other backup dir) or even better, can auto-FTP send it
73 </I>&gt;<i> to another machine? I know this is something above and beyond the call of
74 </I>&gt;<i> duty for Services, but it would sure make catastrophic failures of the
75 </I>&gt;<i> primary machine more bearable...
76 </I>&gt;<i>
77 </I>&gt;<i> Just a thought... meanwhile, anyone know of a linux utility that can be bent
78 </I>&gt;<i> into an automatic FTP send of files to a remote FTP server? Maybe via a
79 </I>&gt;<i> script? Thanks
80 </I>&gt;<i>
81 </I>&gt;<i> Saturn
82 </I>&gt;<i>
83 </I>&gt;<i>
84 </I>&gt;<i>
85 </I>&gt;<i> ------------------------------------------------------------------
86 </I>&gt;<i> To unsubscribe or change your subscription options, visit:
87 </I>&gt;<i> <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">http://www.ircservices.za.net/mailman/listinfo/ircservices-coding</A>
88 </I>&gt;<i>
89 </I>
90
91 </PRE>
92
93 <!--endarticle-->
94 <HR>
95 <P><UL>
96 <!--threads-->
97 <LI>Previous message: <A HREF="001855.html">[IRCServices Coding] Backup Idea...?
98 </A></li>
99 <LI>Next message: <A HREF="001859.html">[IRCServices Coding] Backup Idea...?
100 </A></li>
101 <LI> <B>Messages sorted by:</B>
102 <a href="date.html#1856">[ date ]</a>
103 <a href="thread.html#1856">[ thread ]</a>
104 <a href="subject.html#1856">[ subject ]</a>
105 <a href="author.html#1856">[ author ]</a>
106 </LI>
107 </UL>
108
109 </body></html>