SnapShots

SnapShots Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 3,992 downloads
SnapShots Icon

Try plugin: SnapShots

We'll create fresh WordPress site with SnapShots installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About SnapShots

Quickly Create SnapShots of your development sites and restore them with a click.

1


0


0


0


1

updated: 10 months ago
since: 4 years ago
author: EverPress

Description

You are developing things on a WordPress site and would like to have a snapshot of the current state of your site? SnapShots will help you save states of your WordPress environment.

  • Save snapshots of your site with a simple click.
  • Name your snapshots for easy distinction.
  • SnapShots stores current location and redirects after restore.
  • Stores and restores database tables and files in upload folder.
  • Automatically logs in current user.
  • Automatically clears old snapshots with same name.
  • Small footprint and minimal UI.

Options

All options are defined via constants and can get overwritten with a filter. The format of options is

SNAPSHOTS_[OPTION_NAME]

Best to define your custom option constants in the wp-config.php file.

You can use filters options like

add_filter( 'snapshots_[option_name]', function( $default_option ){
 return $my_option;
});

Default Options

// Default save location.
SNAPSHOTS_FOLDER : WP_CONTENT_DIR . '/.snapshots'

// add '--allow-root' to each command if you run the commands as root.
SNAPSHOTS_CLI_ALLOW_ROOT: false

// define the location of your 'wp' binaries.
SNAPSHOTS_CLI_PATH: '/usr/local/bin'

// Number of shots kept with the same name.
SNAPSHOTS_MAX_SHOTS: 2

// SnapShot includes files from content folder.
SNAPSHOTS_SAVE_FILES: true

// SnapShot includes location (URL) during creation to redirect on restore.
SNAPSHOTS_SAVE_LOCATION: true