Page MenuHomeMiraheze

How to make a backup?
Closed, ResolvedPublic

Description

Hello guys! How to make a backup?

Event Timeline

@Pfyh: Does Special:DataDump work for you?

This comment was removed by Pfyh.

@RhinosF1 Hello RhinosF1! How does it work? I saw here in other comments that it was just using Datadump. Then I went into special: datadump and downloaded a .xml file Is that all? What if I download in image is the same thing? And how do I restore? Have a basic explanation or link showing how to do the whole process from scratch?

@RhinosF1 I downloaded dreamsitwiki_image_3f5d29c12cfc9e04cce6.zip and
dreamsitwiki_xml_5f08f19b2007be236db1.xml.gz
Then I leave it saved and when I need to restore the backup if I need just ask you is that?

In T4868#92624, @Pfyh wrote:

@RhinosF1 Hello RhinosF1! How does it work? I saw here in other comments that it was just using Datadump. Then I went into special: datadump and downloaded a .xml file Is that all?

That would give you a backup of pages.

What if I download in image is the same thing?

That will give you a copy of images on your wiki

And how do I restore?

Ask the sysadmin of your wiki to use importDump.php and importImages.php

Have a basic explanation or link showing how to do the whole process from scratch?

https://phabricator.miraheze.org/phame/post/view/8/miraheze_launches_self_requested_dumps/ is the best I can find

@RhinosF1 Who is sysadmin from my wiki? I am myself? And how do I run the scripts? How to use importDump.php and importImages.php?

In T4868#92625, @Pfyh wrote:

@RhinosF1 I downloaded dreamsitwiki_image_3f5d29c12cfc9e04cce6.zip and
dreamsitwiki_xml_5f08f19b2007be236db1.xml.gz
Then I leave it saved and when I need to restore the backup if I need just ask you is that?

That's all you need.

In T4868#92627, @Pfyh wrote:

@RhinosF1 Who is sysadmin from my wiki?

Whoever operates the backend. Currently that's Miraheze Staff but if you moved host it would change.

And how do I run the scripts?

Depends on your exact setup but through wherever you would run all other commands.

How to use importDump.php and importImages.php?

They are Mediawiki Maintenance Scripts. You run them in the console.

Pfyh claimed this task.