It seems that I've found the way:
Export(in the FROM wiki directory): php maintainance/dumpBackup.php
--current --pagelist=tmp --uploads > ~/dmp
Import(in the TO wiki directory) : php maintainance/importDump.php
~/dmp --uploads

Here dmp is the list of files.




On Wed, Jan 16, 2013 at 5:34 PM, Yury Katkov <katkov.ju...@gmail.com> wrote:
> Hi again!
>
> Put it another way: what is the right way of exporting/importing a
> bunch of files from one MediaWiki to another?
>
> Cheers,
> Yury Katkov, WikiVote
>
>
>
> On Mon, Dec 24, 2012 at 6:38 PM, Yury Katkov <katkov.ju...@gmail.com> wrote:
>> Hi everyone!
>>
>> I want to move my wiki from one server (A) to another (B). On server A I
>> have a lot of files. I don't need them on server B, but I need all my
>> wikipages.
>> What I've done is: I removed the 'images' directory and ran:
>>
>> php maintainance/rebuildall.php
>>
>> Unfortunately now wiki still thinks that all the files are at the places
>> where they need to be. This is clearly not true since the images directory
>> is empty.
>> Questions:
>> 1) how to property delete the files permanently?
>> 2) is there any script to make the files and their description in MediaWiki
>> DB consistent?
>>
>> Cheers,
>> -----
>> Yury Katkov, WikiVote
>>

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to