Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7895849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T07:44:33+00:00 2026-06-03T07:44:33+00:00

Using the MediaWiki maintenance script called dumpBackup.php I want to create an XML dump

  • 0

Using the MediaWiki maintenance script called dumpBackup.php I want to create an XML dump of my MediaWiki.

To do this you have to login to the server using an SSH client, I’m using Putty (Windows), but I also tried it on OSX using Terminal.

According to the MediaWiki Manual for dumpBackup.php this is done using these commands:

cd w/maintenance
php dumpBackup.php --full >d:\backup.xml

Since I am using GoDaddy hosting the last line is a bit different for me. The reason is that SSH for GoDaddy by default still uses php4 (unlike the HTTP server). For this reason my command is (assuming you are also in the maintenance folder):

usr/local/php5/bin/php dumpBackup --full >d:\backup.xml

The however, all this does for me is print everything on the screen and no file is created. Does anybody know why this is and how to make sure the file is created.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T07:44:35+00:00Added an answer on June 3, 2026 at 7:44 am

    You left out the > from the original example:

    php dumpBackup.php --full >d:\backup\dump.xml
    

    The > tells the shell to redirect the output of the script to the file d:\backup\dump.xml instead of the screen.

    By the way, d:\backup\dump.xml is a Windows file name. Since your server seems to be using a Unixish OS (probably Linux), you probably don’t want to use that filename. However, if you don’t mind having the file created in your current directory, just plain dump.xml will work fine on both Windows and *nix.

    You could also try e.g. ~/dump.xml or $HOME/dump.xml (both of which create the file in your home directory) or $TMP/dump.xml (which creates it in the directory designed for temporary files, usually /tmp.) This could be useful if you don’t have enough space available in the directory you installed MediaWiki in.

    To see how much space you do have, try the commands df -h (which shows the amount of actual free space) and quota -vs (which shows how much of that space you’re allowed to use, if that has been limited). For more help with these commands, try man df and/or man quota.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to parse Wikipedia XML Dump using Parse-MediaWikiDump-1.0.4 along with Wikiprep.pl script.
How to modify MediaWiki(v 1.15) user password without using the maintenance script, direct to
I am currently using MediaWiki as a documentation website, with login authenticated by LDAP.
I am using MediaWiki version 1.18.2, I know that if I want my links
I have played with the idea of using a wiki (MediaWiki) to centralize all
I found a nice script to import xml using powershell http://slash4.de/tutorials/Automatic_mediawiki_page_import_powershell_script Currently I don't
Here's what I'm trying to do using the Wikipedia (MediaWiki) API - http://en.wikipedia.org/w/api.php Do
I had MediaWiki installed in as the default site on my server using IIS
I'm using the MediaWiki API to update some pages with an experimental robot. This
I want to wrap a mediawiki site inside another site - using the header.inc

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.