[Pmwiki-users] Backup wiki.d and uploads
Stefano
steagl
Tue Jan 18 11:31:28 CST 2005
Il Tue, 18 Jan 2005 13:35:47 +0000, su internal.ml.pmwikiuser scrivi:
>I was wondering if anyone got a backup script, which would download
>any new/modified wiki pages in wiki.d and any new/modified uploaded
>files in uploads. It does not need to run automatically at scheduled
>times (yet), but just started manually.
>
>In the moment i am backing up the files from the webhosting server by
>downloading all files. i thought a script may reduce the download time
>by selecting just modified and new files.
>
>Or are there general (free) utilities for this job which i am not aware of?
Actually i do it just using a normal FTP program (Filezilla) i look at
the wiki.d dir and i sort the files by modification date, and i
download only files modified since last time i did it.
Should be easy to write a script that parse the directory, serach or
file with a mod date younger than a one u give (or does a full backup)
and generate a zip/gzip/tgz archive and put it into a backup directory
giving you the chance to download it immediatly. And maybe having
restore funztion too.
Packing files into a unique zip file compress them a lot (the are
text) and reduce download time. You give me a good idea, let me see if
i can put up something like that :)
--
Stefano Aglietti - StallonIt on IRCnet - ICQ#: 2078431
Email: steagl at people.it - steagl at despammed.com
BlogPage: http://www.40annibuttati.it/
PGP keys available on keyservers (cripted & signed PGP mail welcome)
More information about the pmwiki-users
mailing list