Manual:DumpBackup.php

dumpBackup.php dumps the wiki page database into an XML interchange wrapper format for export or backup.

XML output is sent to stdout; progress reports are sent to stderr.

This is not a full backup of the wiki database, as it does not include users, passwords, etc.

From the source code (from 1.11.1): Usage: php dumpBackup.php [ ] Actions: --full     Dump complete history of every page. --current  Includes only the latest revision of each page.

Options: --quiet    Don't dump status reports to stderr. --report=n Report position and speed after every n pages processed. (Default: 100) --server=h Force reading from MySQL server h  --start=n   Start from page_id n  --end=n     Stop before page_id n (exclusive) --skip-header Don't output the header --skip-footer Don't output the footer --stub     Don't perform old_text lookups; for 2-pass dump

Fancy stuff: --plugin= [: ]  Load a dump plugin class --output= :     Begin a filtered output stream; s: file, gzip, bzip2, 7zip --filter= [: ] Add a filter on an output branch

Many people have reported having to create an AdminSettings.php file to be able to use dumpBackup.php. See e.g. Manual Talk:Backing up a wiki.