https://bugzilla.wikimedia.org/show_bug.cgi?id=29160

--- Comment #1 from Brion Vibber <[email protected]> 2011-05-26 23:20:05 UTC 
---
By default, dumpBackup & Special:Export only list page revisions, and don't
include any of the uploaded file data.

There is an experimental mode to include upload data, using URL links to the
source files; but beware that it may not be well tested.

  php maintenance/dumpBackup.php --uploads --full > out.xml

This will add entries like this within the file pages' <page> records:

    <upload>
      <timestamp>2011-01-31T00:20:40Z</timestamp>
      <contributor>
        <username>Brionv</username>
        <id>1</id>
      </contributor>
      <comment>/* Modified in svg-edit */ !!!!</comment>
      <filename>SVG.svg</filename>
      <archivename>20110131004503!SVG.svg</archivename>
     
<src>http://stormcloud.local/trunk/images/archive/c/c7/20110131004503%21SVG.svg</src>
      <size>221307</size>
      <sha1base36>m0i2r1rkekul11zea86kcon2vxeu8pa</sha1base36>
      <rel>archive/c/c7/20110131004503!SVG.svg</rel>
    </upload>

Pass the same --uploads parameter to importDump to force it to process these:

  php maintenance/importDump.php --uploads in.xml

This should fetch the files over HTTP, save them into the uploads area, and
restore the full image & oldimage records.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to