X7ROOT File Manager
Current Path:
/home/katmhsmi/public_html/wp-content/plugins/xagio/pages
home
/
katmhsmi
/
public_html
/
wp-content
/
plugins
/
xagio
/
pages
/
📁
..
📄
.htaccess
(420 B)
📁
emails
📁
metabox
📁
notices
📄
page_clone_backup.php
(17.23 KB)
📄
page_link_management.php
(24.8 KB)
📄
page_log.php
(16.77 KB)
📄
page_projects.php
(353.22 KB)
📄
page_ranktracker.php
(9.37 KB)
📄
page_rescue.php
(13.73 KB)
📄
page_reviews.php
(84.7 KB)
📄
page_security.php
(57.81 KB)
📄
page_seo.php
(78.77 KB)
📄
page_settings.php
(71.72 KB)
📄
page_silo.php
(51.48 KB)
📄
page_upgrade_clone.php
(1.15 KB)
📄
page_upgrade_linkmanagement.php
(1.17 KB)
📄
page_upgrade_log.php
(1.16 KB)
📄
page_upgrade_projectplanner.php
(1.17 KB)
📄
page_upgrade_rescue.php
(1.16 KB)
📄
page_upgrade_reviews.php
(1.15 KB)
📄
page_upgrade_seo.php
(1.15 KB)
📄
page_upgrade_silo.php
(1.16 KB)
📁
templates
Editing: page_clone_backup.php
<!-- HTML STARTS HERE --> <div class="wrap prs" style="max-width: 1200px;margin-left: auto;margin-right: auto;"> <h2 class="logo-title"> <span class="logo-title-center"> <img class="logo-image" src="<?= XAG_URL; ?>assets/img/logo-xagio-smaller.png"/> Xagio - Clone & Backup - <small class="hand">transfer or backup whole websites...</small> </span> </h2> <p class="logo-paragraph uk-block-xagio rescue-info"> <i class="fa fa-question-circle"></i> By using <b>Xagio Clone & Backup</b> you will be able to effortlessly transfer or backup whole websites. </p> <ul class="uk-tab uk-tab-big" data-uk-tab="{connect:'#tab-content'}"> <li class="uk-active"><a href=""><i class="fa fa-magic"></i> Clone</a></li> <li><a href=""><i class="fa fa-user-cog"></i> Backup</a></li> </ul> <div id="tab-content" class="uk-switcher"> <!-- Clone --> <div> <form class="verify"> <div class="uk-grid uk-grid-small"> <input type="hidden" name="action" value="xag_verify_connection"/> <div class="uk-form-icon uk-width-6-10"> <i class="fa fa-globe-americas"></i> <input name="url" type="url" class="uk-input-big clone-url" placeholder="Website to clone from... eg. https://website.com" required value=""/> </div> <button type="submit" class="verify-button uk-button uk-button-success uk-button-large uk-width-2-10"><i class="fa fa-plug"></i> Verify Connection</button> <button type="button" class="clone-button uk-button uk-button-primary uk-button-large uk-width-2-10" disabled><i class="fa fa-code-branch"></i> Start Cloning</button> </div> <div class="uk-grid uk-grid-small "> <div class="uk-width-2-10"> <p class="clone-status api-key"> <i class="fa fa-key"></i> Obtaining API key for Remote Website </p> </div> <div class="uk-width-2-10"> <p class="clone-status creating-copy"> <i class="fa fa-copy"></i> Creating copy of Remote Website </p> </div> <div class="uk-width-2-10"> <p class="clone-status downloading-copy"> <i class="fa fa-download"></i> Downloading copy of Remote Website </p> </div> <div class="uk-width-2-10"> <p class="clone-status extracting-files-merging-databases"> <i class="fa fa-database"></i> Extracting Files & Merging Databases </p> </div> <div class="uk-width-2-10"> <p class="clone-status finishing-cloning"> <i class="fa fa-question-circle"></i> Finishing Cloning and Verify Status </p> </div> </div> <div class="output-window"> <p class="output-status"><i class="fa fa-info-circle"></i> Waiting for action...</p> </div> </form> </div> <!-- Backup --> <div> <div class="uk-panel uk-block-xagio"> <h3 class="uk-panel-title"><i class="fa fa-database"></i> Full Backup</h3> <p> A full backup creates an archive of all your WordPress files and database settings. You can use this file to move your website to another location or to keep a copy of your website. </p> <div class="uk-grid"> <div class="uk-width-medium-1-2"> <button type="button" class="uk-button uk-button-primary action-button create-backup-local-button"><i class="fa fa-database"></i> Create and Download a <b>Full Backup</b></button> <p class="uk-alert uk-hidden"> ... </p> <?php $backups = glob(XAG_PATH . '/backups/*_full_*.zip'); if (!empty($backups)): ?> <ul class="backups"> <?php foreach($backups as $backup): ?> <?php $date = date("F d Y H:i:s.", filectime($backup)); $name = basename($backup); $url = XAG_URL . '/backups/' . $name; ?> <li><span class="backup-name"><?=$name;?></span> <br> <small><?=$date;?></small> <i class="fa fa-trash remove-backup" data-name="<?=$name;?>" data-uk-tooltip title="Remove this backup"></i> <i class="fa fa-download download-backup" data-url="<?=$url;?>" data-uk-tooltip title="Download this backup"></i> </li> <?php endforeach; ?> </ul> <?php endif; ?> <hr> <button type="button" class="uk-button uk-button-primary action-button create-backup-remote-button"><i class="fa fa-database"></i> Create a new <b>Remote Backup</b></button> <p> <?php $backup_location = get_option('ps_backup_location'); ?> <?php if (!empty($backup_location)): ?> This will create a backup of your website and upload it directly to <b><?=ucfirst($backup_location);?></b>. <?php else: ?> In order to use this action, first set up <b>Backup Location</b> on <a href="https://app.xagio.net/backups">Xagio Backups</a> for this website. <?php endif; ?> </p> </div> <div class="uk-width-medium-1-2"> <div class="uk-form-file"> <button type="button" class="uk-button uk-button-primary action-button restore-backup-local-button"><i class="fa fa-database"></i> Restore a <b>Full Backup</b></button> <input type="file" class="select-restore-full"> </div> <div class="restore-full-progressbar uk-progress uk-hidden"> <div class="uk-progress-bar" style="width: 0%;">...</div> </div> <p class="restore-full-status uk-alert uk-hidden"> ... </p> </div> </div> </div> <div class="uk-panel uk-block-xagio uk-margin-top"> <h3 class="uk-panel-title"><i class="fa fa-database"></i> Partial Backups</h3> <p> Here, you are able to either backup and restore files or databases only of this website. </p> <div class="uk-grid"> <div class="uk-width-medium-1-2"> <button type="button" class="uk-button uk-button-primary action-button create-backup-file-button"><i class="fa fa-database"></i> Create and Download a <b>Files Backup</b></button> <p class="uk-alert uk-hidden"> ... </p> <?php $backups = glob(XAG_PATH . '/backups/*_files_*.zip'); if (!empty($backups)): ?> <ul class="backups"> <?php foreach($backups as $backup): ?> <?php $date = date("F d Y H:i:s.", filectime($backup)); $name = basename($backup); $url = XAG_URL . '/backups/' . $name; ?> <li><span class="backup-name"><?=$name;?></span> <br> <small><?=$date;?></small> <i class="fa fa-trash remove-backup" data-name="<?=$name;?>" data-uk-tooltip title="Remove this backup"></i> <i class="fa fa-download download-backup" data-url="<?=$url;?>" data-uk-tooltip title="Download this backup"></i> </li> <?php endforeach; ?> </ul> <?php endif; ?> <hr> <button type="button" class="uk-button uk-button-primary action-button create-backup-mysql-button"><i class="fa fa-database"></i> Create and Download a <b>Database Backup</b></button> <p class="uk-alert uk-hidden"> ... </p> <?php $backups = glob(XAG_PATH . '/backups/*_mysql_*.zip'); if (!empty($backups)): ?> <ul class="backups"> <?php foreach($backups as $backup): ?> <?php $date = date("F d Y H:i:s.", filectime($backup)); $name = basename($backup); $url = XAG_URL . '/backups/' . $name; ?> <li><span class="backup-name"><?=$name;?></span> <br> <small><?=$date;?></small> <i class="fa fa-trash remove-backup" data-name="<?=$name;?>" data-uk-tooltip title="Remove this backup"></i> <i class="fa fa-download download-backup" data-url="<?=$url;?>" data-uk-tooltip title="Download this backup"></i> </li> <?php endforeach; ?> </ul> <?php endif; ?> </div> <div class="uk-width-medium-1-2"> <div class="uk-form-file"> <button type="button" class="uk-button uk-button-primary action-button restore-backup-file-button"><i class="fa fa-database"></i> Restore a <b>Files Backup</b></button> <input type="file" class="select-restore-file"> </div> <div class="restore-file-progressbar uk-progress uk-hidden"> <div class="uk-progress-bar" style="width: 0%;">...</div> </div> <p class="restore-file-status uk-alert uk-hidden"> ... </p> <hr> <div class="uk-form-file"> <button type="button" class="uk-button uk-button-primary action-button restore-backup-mysql-button"><i class="fa fa-database"></i> Restore a <b>Database Backup</b></button> <input type="file" class="select-restore-mysql"> </div> <div class="restore-mysql-progressbar uk-progress uk-hidden"> <div class="uk-progress-bar" style="width: 0%;">...</div> </div> <p class="restore-mysql-status uk-alert uk-hidden"> ... </p> </div> </div> </div> </div> </div> <!-- Masked URL Modal --> <div id="cloneNotice" class="uk-modal"> <div class="uk-modal-dialog"> <button type="button" class="uk-modal-close uk-close"></button> <div class="uk-modal-header"> <h2><i class="fa fa-info-circle"></i> Cloning Requirements</h2> </div> <div class="uk-alert uk-alert-info" data-uk-alert="" style="margin-bottom: 5px;"> <a href="" class="uk-alert-close uk-close"></a> <p> <i class="fa fa-exclamation-triangle"></i> Since <b>Xagio Clone</b> is a robust feature that will automatically copy over your entire website, it will have certain requirements in order to run smoothly. Before you start cloning, make sure that all of the requirements are met and checks have been verified. <br><br> <b>In order for Xagio Clone to work correctly, please make sure that BOTH websites meet the requirements from the list below.</b> <br><br> Also note that these are <b>Soft-Requirements</b>, meaning that we won't stop you from trying to Clone a website, even if it doesn't meet all of these requirements, just because it can work out depending on many different factors. </p> </div> <table class="uk-table uk-block-xagio"> <tbody> <tr> <td>PHP Maximum Execution Time:</td> <?php $execution = ini_get('max_execution_time'); if ($execution < 120) { ?> <td> <?php echo $execution; ?> <i class="fa fa-times uk-text-danger"></i> </td> </tr> <tr class="danger"> <td colspan="2">It's important to have <kbd>max_execution_time</kbd> in <kbd>php.ini</kbd> set to at least <kbd>120</kbd> seconds, since process of creating backups is often something that takes some time and in the event of smaller <kbd>max_execution_time</kbd> values, PHP tends to time out and so the Clone process fails.</td> </tr> <?php } else { ?> <td> <?php echo $execution; ?> <i class="fa fa-check uk-text-success"></i> </td> </tr> <?php } ?> <tr> <td>PHP Memory Limit:</td> <?php $memory_limit = ini_get('memory_limit'); if ($memory_limit != '-1' && str_replace('MB', '', $memory_limit) < 256) { ?> <td> <?php echo $memory_limit; ?> <i class="fa fa-times uk-text-danger"></i> </td> </tr> <tr class="danger"> <td colspan="2">It's important to have <kbd>memory_limit</kbd> in <kbd>php.ini</kbd> set to at least <kbd>256</kbd> Megabytes, but lower values will work as well, depending on the final size of your website.</td> </tr> <?php } else { ?> <td> <?php echo ($memory_limit == '-1') ? 'Unlimited' : $memory_limit; ?> <i class="fa fa-check uk-text-success"></i> </td> </tr> <?php } ?> <tr> <td>PHP cURL Module:</td> <td><?= (function_exists('curl_init')) ? '<i class="fa fa-check uk-text-success"></i>' : '<i class="fa fa-times uk-text-danger"></i>'; ?></td> </tr> <tr> <td>PHP ZipArchive Module:</td> <td><?= (class_exists('ZipArchive')) ? '<i class="fa fa-check uk-text-success"></i>' : '<i class="fa fa-times uk-text-danger"></i>'; ?></td> </tr> <tr> <td>Using CloudFlare/CDN:</td> <td><i class="fa fa-question-circle"></i></td> </tr> <tr> <td colspan="2">Using <b>CloudFlare</b> should be fine in most cases, where the websites that are being cloned are small in size, but if you try to clone a website with larger content with <b>Xagio Clone</b> while the website is behind <b>CloudFlare</b>, you will have issues with imposed timeouts that are controled by <b>CloudFlare</b>, meaning that files won't have enough time to be transfered because of <b>CloudFlare</b> limits.</td> </tr> </tbody> </table> <div class="uk-modal-footer uk-text-right"> <button type="button" class="uk-button uk-modal-close"><i class="fa fa-hand-o-right"></i> I Understand, and I have checked the Requirements.</button> </div> </div> </div> </div> <!-- .wrap -->
Upload File
Create Folder