Skip to content

Instantly share code, notes, and snippets.

@thetwopct
Created June 7, 2024 09:04
Show Gist options
  • Save thetwopct/a8caf5ea6c828dd2237c0bad06e41e12 to your computer and use it in GitHub Desktop.
Save thetwopct/a8caf5ea6c828dd2237c0bad06e41e12 to your computer and use it in GitHub Desktop.
WP All-in-one Migration plugin - restore a backup bypass code
# Upload your .wpress file to ai1wm-backups and make a note of the name
# Go to the WP All-in-One Migration plugin > Backups
# Open the console in the browser
var filename = 'YOUR-FILE.wpress';
var importer = new Ai1wm.Import();
var storage = Ai1wm.Util.random(12);
var options = Ai1wm.Util.form('#ai1wm-backups-form').concat({name: 'storage', value: storage}).concat({name: 'archive', value: filename});
importer.setParams(options);
importer.start();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment