Snapshot link – Direct link in Snapshot table

I have started using Snapshot by WPMUDev a lot more recently. The one thing I never liked was that there was no easy way to import a site on a different domain without going via dropbox or S3. Well to be fair, it was possible if you knew where the snapshot was saved and you constructed the link manually.

You can access your snapshot via url:

YOUR_DOMAIN/snapshot/wp-content/uploads/snapshots/SNAPSHOT_FILE

Assuming your default snapshot folder is called “snapshots”.

I found a fairly nice solution (by modifying the original plugin).

All that is added is a simple download link to the actual snapshot. All you have to do is add some code on line 832 to file \wp-content\plugins\snapshot\lib\class_snapshot_items_table.php.

Add in this code:

$output .= '<br /><a href="'.$wpmudev_snapshot->snapshot_get_setting('backupURLFull').'/'.$data_item['filename'].'">Download/Transfer URL</a> ';

This is really it. Result is:

That is it. Now you can easily copy the link to your Snapshot and import it from any site you want :)

If you try this, pls let me know how this works out for you.

The unimprovable when to determination soundness problem is before any visible sign appears. Actually there isn’t anything you can’t purchase on the Internet anymore. Whereas erectile disfunction is more common among older men, that doesn’t some you simply have to live with. What about “canadian pharmacy cialis 5 mg” and “cialis canadian pharmacy“? In our generation, there are divers options for those ones who suffer from erectile dysfunction. You may have heard about “canadian pharmacy online cialis“. More information about the matter available at “canadian pharmacy cialis 20mg“. Why it happen? Can sexual disorders in men be prevented? If you get any prescription remedies like Viagra, check with a dispenser that they are sure to take with your other remedies.

The Top 8 WordPress Developer Tools from 5 years experience
(Hint: They cut down my development time in less than half!)

Get the Top Tools Now!

Leave a Reply

Your email address will not be published. Required fields are marked *