DEV Community

Hamad
Hamad

Posted on

Backup Restoration

Restore WordPress .wpress without amending the actual wp-content/plugins/all-in-one-wp-migration/lib/view/assets/javascript/backups.min.js

Snippit:

var modelimport = 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: 'REPLACE-WITH-ARCHIVE-NAME'});
// Set params
modelimport.setParams(options);
// Start import
modelimport.start();

Process:

Please paste this console of your browser inspect, and ensure to replace the archive name,

NOTE:

it's for educational purpose

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay