ServerPress / clean-import

Prepare and clean archives for import into DesktopServer.
2 stars 0 forks source link

Ability to import a UpDraftPlus archive #28

Open GreggFranklin opened 6 years ago

GreggFranklin commented 6 years ago

UpDraftPlus does not create a complete archive and creates folders for different parts of a WordPress site.

To make this into a viable archive for DS we would need to grab the WordPress core.

Here is links to the zips it creates: https://www.dropbox.com/s/phuolps1xfqz0ux/backup_2018-08-24-1612_test_6ae24350675d-plugins.zip?dl=0 https://www.dropbox.com/s/hqmlv3qrmzhfx10/backup_2018-08-24-1612_test_6ae24350675d-themes.zip?dl=0 https://www.dropbox.com/s/dw5485g92a3bcdv/backup_2018-08-24-1612_test_6ae24350675d-uploads.zip?dl=0 https://www.dropbox.com/s/d6dpodxp5airwnc/backup_2018-08-24-1612_test_6ae24350675d-others.zip?dl=0 https://www.dropbox.com/s/2ff2eeh1bkidi99/backup_2018-08-24-1612_test_6ae24350675d-db.gz?dl=0

davejesch commented 6 years ago

@GreggFranklin So are each of these .zip files above a complete UpDraft archive? Or does the collection of all 5 .zip files make up one archive?

GreggFranklin commented 6 years ago

Came across this info that I thought you should know:

For larger sites, your backup may be split over multiple zips files. For performance reasons, by default, UpdraftPlus splits the data every 400MB. So, you may have more than one “uploads” zip (with names ending in uploads.zip, uploads2.zip, uploads3.zip, etc.). You need to unzip and upload all of these, so that the final wp-content/uploads folder (in this example) is the resulting of merging all those zips (i.e. unzipping them all on top of each other).

davejesch commented 6 years ago

@GreggFranklin Do you have a sample of an Updraft Plus archive that spans multiple files for the uploads.zip files? I can guess but I think we'll want to test against this.

GreggFranklin commented 6 years ago

backup_2018-08-27-1658_test_fb5ec1b6bfb9-db.gz backup_2018-08-27-1658_test_fb5ec1b6bfb9-others.zip backup_2018-08-27-1658_test_fb5ec1b6bfb9-plugins.zip backup_2018-08-27-1658_test_fb5ec1b6bfb9-themes.zip backup_2018-08-27-1658_test_fb5ec1b6bfb9-uploads.zip

davejesch commented 6 years ago

@GreggFranklin This only has one ...uploads.zip file. Do you have an example that has multiple uploads files?

GreggFranklin commented 6 years ago

backup_2018-08-27-2350_test_6934875dbc13-db.gz backup_2018-08-27-2350_test_6934875dbc13-others.zip backup_2018-08-27-2350_test_6934875dbc13-plugins.zip backup_2018-08-27-2350_test_6934875dbc13-themes.zip https://www.dropbox.com/s/gop3fjxqtqxxm3w/backup_2018-08-27-2350_test_6934875dbc13-uploads.zip?dl=0 https://www.dropbox.com/s/36uo40anpkd79gx/backup_2018-08-27-2350_test_6934875dbc13-uploads2.zip?dl=0