help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wiki?


From: Etienne Grossmann
Subject: Re: Wiki?
Date: Wed, 22 Sep 2004 09:25:06 -0400
User-agent: Mutt/1.4.2.1i

  Hi All,

a slight modif. of Laurent's script, I'm putting this to run daily -
it seems to work.

======================================================================
#!/bin/bash

# wiki dir and location
baksrc=octave-wiki
srcwhere=/home/etienne/public_html

# backup location and name
bakdir=/home/etienne/public_html
bakfile=octave-wiki-bak.tar.gz

# number of backups
nbak=4

# Rotate previous backups

[ -f $bakdir/$bakfile.$nbak ] && rm -f $bakdir/$bakfile.$nbak
for ((i=$nbak; $i>0; i--)) ; do
    j=$(($i-1))
    [ -f $bakdir/$bakfile.$j ] && mv $bakdir/$bakfile.$j $bakdir/$bakfile.$i
done

# Create new backup
tar czf $bakdir/$bakfile.0 -C $srcwhere $baksrc
======================================================================

  Anyone willing can wget

    http://omni.isr.ist.utl.pt/~etienne/octave-wiki-bak.tar.gz.0 

and put the wiki in a safe. Comments, suggestions welcome.

  Hth,

  Etienne


On Wed, Sep 22, 2004 at 12:36:17PM +0200, Stefan van der Walt wrote:
# Is the Wiki currently being backed up?  How about a crontab entry to
# pack it every day and ship it off somewhere safe?
# 
# Regards
# Stefan
# 
# On Tue, Sep 21, 2004 at 08:35:50AM -0400, Etienne Grossmann wrote:
# > 
# >   Hi David,
# > 
# > I should have answered your 1st message. I +/- take care of the
# > wiki. What should be done? Could you tell me how to set up this file
# > robot.txt?
# > 
# >   Etienne
# > 
# > On Tue, Sep 21, 2004 at 09:25:53AM +0200, David Bateman wrote:
# > # Dear All,
# > # 
# > # On the advise of Paul I resubmit this message here, rather than on 
# > # octave-dev.
# > # 
# > # I notice that there is no file http://wiki.octave.org/robots.txt ?
# > # Does this mean that all of the website is indexed? If so RecentChanges
# > # and all old versions of the pages are indexed and so be the spammers
# > # to the website get what they want, page rank with google since even
# > # after getting rid of their garbage google would see it.
# > # 
# > # I'm not sure who is in charge of the wiki, but can someone confirm
# > # that the RecentChanges and old versions of the pages aren't being
# > # indexed by google?
# > # 
# > # Regards
# > # David
# > # 
# > # 
# > # 
# > # -- 
# > # David Bateman                                address@hidden
# > # Motorola CRM                                 +33 1 69 35 48 04 (Ph) 
# > # Parc Les Algorithmes, Commune de St Aubin    +33 1 69 35 77 01 (Fax) 
# > # 91193 Gif-Sur-Yvette FRANCE
# > # 
# > # The information contained in this communication has been classified as: 
# > # 
# > # [x] General Business Information 
# > # [ ] Motorola Internal Use Only 
# > # [ ] Motorola Confidential Proprietary
# > # 
[snip]

-- 
Etienne Grossmann ------ http://www.cs.uky.edu/~etienne



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]