X

Welcome to WP Clone by WP Academy

You can use this tool to create a backup of this site and (optionally) restore it to another server, or another WordPress installation on the same server.

Here is how it works: the "Backup" function will give you a URL that you can then copy and paste into the "Restore" dialog of a new WordPress site, which will clone the original site to the new site. You must install the plugin on the new site and then run the WP Clone > Restore function.

Choose your selection below: either create a backup of this site, or choose which backup you would like to restore.

 

If enabled during a backup, all the tables in the database will be included in the backup.
If enabled during a restore, search and replace will alter all the tables in the database.
By default, only the tables that share the wordpress table prefix are included/altered during a backup/restore.

This will check the MySQL connection inside the main loop before each database query during restore. Enable this if the restored site is incomplete.

Overriding the Maximum memory and Execution time

You can use these two fields to override the maximum memory and execution time on most hosts.
For example, if you want to increase the RAM to 2GB, enter 2048 into the Maximum memory limit field.
And if you want to increase the execution time to 15 minutes, enter 900 into the Script execution time field.
Default values will be used if you leave them blank. The default value for RAM is 1024MB and the default value for execution time is 600 seconds (ten minutes).

Exclude directories from backup, and backup database only

Depending on your web host, WP Clone may not work for large sites. You may, however, exclude all of your 'wp-content' directory from the backup (use "Backup database only" option below), or exclude specific directories. You would then copy these files over to the new site via FTP before restoring the backup with WP Clone.

You could also skip files that are larger than the value entered into the below field. For example, enter 100 if you want to skip files larger than 100MB. The default value of 25MB will be used If you leave it blank. Enter 0 if you want to disable it.

 MB

Enter one per line, i.e. uploads/backups,use the forward slash / as the directory separator. Directories start at 'wp-content' level.

For example, BackWPup saves its backups into /wp-content/uploads/backwpup-abc123-backups/ (the middle part, 'abc123' in this case, is random characters). If you wanted to exclude that directory, you have to enter uploads/backwpup-abc123-backups into the above field.

Create Backup

$backup) : $filename = convertPathIntoUrl(WPCLONE_DIR_BACKUP . $backup['name']); $url = wp_nonce_url( get_bloginfo('wpurl') . '/wp-admin/admin.php?page=wp-clone&del=' . $key, 'wpclone-submit'); ?> log', convertPathIntoUrl(WPCLONE_DIR_BACKUP . $backup['log'] ) ); } else { echo ''; } ?>
Restore backup ()   Copy URL Delete
Restore from URL:

I AGREE (Required for "Restore" function):
1. You have nothing of value in your current site []
2. Your current site at [] may become unusable in case of failure, and you will need to re-install WordPress
3. Your WordPress database [] will be overwritten from the database in the backup file.
Advanced Settings

"; } echo "

Scan and repopulate the backup list" . "
Use the above button to refresh your backup list. It will list all the zip files found in the backup directory, it will also remove references to files that no longer exist.

"; wpa_wpc_sysinfo(); echo "

Delete backups and remove database entries" . "
WP Clone does not remove backups when you deactivate the plugin. Use the above button if you want to remove all the backups.

"; echo '

Search and Replace

'; ?>

'; echo '

System Info:

'; echo 'Memory limit: ' . ini_get('memory_limit'); if( false === ini_set( 'memory_limit', '257M' ) ) { echo ' memory limit cannot be increased
'; } else { echo '
'; } echo 'Maximum execution time: ' . ini_get('max_execution_time') . ' seconds
'; echo 'PHP version : ' . phpversion() . '
'; echo 'MySQL version : ' . $wpdb->db_version() . '
'; if (ini_get('safe_mode')) { echo 'PHP is running in safemode!
'; } printf( 'Root directory : %s
', WPCLONE_ROOT ); if ( ! file_exists( WPCLONE_DIR_BACKUP ) ) { echo 'Backup path :Backup directory not found. ' . 'Unless there is a permissions or ownership issue, refreshing the backup list should create the directory.
'; } else { echo 'Backup directory : ' . WPCLONE_DIR_BACKUP . '
'; } echo 'Files :
'; if ( file_exists( WPCLONE_DIR_BACKUP ) && !is_writable(WPCLONE_DIR_BACKUP)) { echo 'Backup directory is not writable, please change its permissions.
'; } if (!is_writable(WPCLONE_WP_CONTENT)) { echo 'wp-content is not writable, please change its permissions before you perform a restore.
'; } if (!is_writable(wpa_wpconfig_path())) { echo 'wp-config.php is not writable, please change its permissions before you perform a restore.
'; } echo '

'; } function wpa_fetch_feed ($feed, $limit) { include_once(ABSPATH . WPINC . '/feed.php'); $rss = fetch_feed($feed); if (!is_wp_error( $rss ) ) : $maxitems = $rss->get_item_quantity($limit); $rss_items = $rss->get_items(0, $maxitems); endif; if ( isset($maxitems) && $maxitems == 0 ) echo '
  • No items.
  • '; else // Loop through each feed item and display each item as a hyperlink. foreach ( $rss_items as $item ) : ?>
  • get_date('j F Y | g:i a'); ?>'> get_title() ); ?>