[dokuwiki] Re: What about backup?

  • From: Stefan Waidele <Stefan@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 13 Jun 2008 21:54:27 +0200

Uwe Koloska schrieb:
> [...]
> Question: What do you use for backing up your wiki? Is there no need for a 
> decent backup plugin?  Or is there a best-practice that can be used on a 
> normal webhost?

I do my backups on a filesystem-basis. I copy the whole document-root to
another location and make a .tar.bz2 from it.

Like that I have it all: The DW-system, the users, the wiki-pages, the
media-folder, the plugins - everything.

Moving to another webserver with that archive is only a matter of
unpacking. Easy.

That is one of the reason I love the fact that DW does _not_ use a
SQL-Database for storage.

Pros:
  * cron-driven
  * save to any server you have access to
  * encrypt the archive and make it publicly available if you want to
(using gpg)
  * send by mail if you want to
  * more flexible than any out-of-the-box-solution
  * not integrated into DW -> not accessible via HTTP

Cons:
  * needs shell-access for the webhost (or on the backup server if you
get the data via ftp)
  * no easy out-of-the-box-solution
  * not integrated into DW

> Any other ideas?

When backing up to another server, rsync springs to my mind...

Stefan


Other related posts: