* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. */ /** ensure this file is being included by a parent file */ defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); if($_COOKIE['auth_clone'] != 1) setcookie('auth_clone', '1'); class mosTabs{ function mosTabs($int){ echo "
"; } function startTab($name, $class){ echo "

"; } function endTab(){ echo "

"; } function endPane(){ echo "
"; } } /** * @package Joomla * @subpackage JoomlaCloner */ class HTML_cloner { function header(){ global $mosConfig_live_site, $task; $excl_tasks = array("view", "config",""); /*if(!in_array($_REQUEST['task'], $excl_tasks)){ $seconds_to_cache = 3600; $ts = gmdate("D, d M Y H:i:s", time() + $seconds_to_cache) . " GMT"; @header("Expires: $ts"); @header("Pragma: cache"); @header("Cache-Control: maxage=$seconds_to_cache"); }*/ ?> XCloner Backup and Restore


".strip_tags($_REQUEST['mosmsg'])."

"; } function footer(){ ?>



Powered by XCloner. Backup and Restore Made Easy!

Initializing backup..."; echo "

Backup $filename created, we may continue!


"; $urlReturn = "index2.php?option=com_cloner&lines=" . $perm_lines . "&task=refresh&backup=$backupFile&excl_manual=$excl_manual"; if(!$_CONFIG['refresh_mode']){ echo "Please click here to continue!"; echo " 5"; echo ""; }else{ echo ""; ?>

Database backup...


Filesystem backup...


Scanning files system...

Processing Files: 0% ( files)

Backup Name:

Backup Size: MB


Backup completed!

Backup name:

Backup size: MB

Number of files:

Backup Parts:

Backup Start Path Check: 0 and $stat['code'] < 3){ echo "".$stat['message']; $error = 1; } else{ echo "OK"; } echo " ($_CONFIG[backup_start_path])"; ?>
Backup Store Path Check: 0){ echo "".$stat['message']; $error = 1; } else{ echo "OK"; } echo " ($_CONFIG[backup_store_path])"; ?>
Temporary Path Check: 0){ echo "".$stat['message']; $error = 1; } else{ echo "OK"; } echo " ($_CONFIG[temp_dir])"; ?>
Authentication: Change default password 'admin'"; $error = 1; } else{ echo "OK"; } ?>
Backup Ready: NO"; $error = 1; } else{ echo "YES"; } ?>

Authentication Area:
Username:
Password:
 



  • curl http://website/path_to_xcloner_folder/cloner.cron.php
  • wget -q http://website/path_to_xcloner_folder/cloner.cron.php
  • lynx -sourcehttp://website/path_to_xcloner_folder/cloner.cron.php


For Running Multiple Crons, you need to first create a custom configuration file in the XCloner Configuration -> Cron tab and then replace "cloner.cron.php" with "cloner.cron.php?config=myconfig.php", only use 'links' or 'lynx' options to run the cronjob

If you would like to use the php SSH command for running Multiple Crons, you will need to replace the "cloner.cron.php" with "cloner.cron.php myconfig.php" in the command line.


$value) if($def_data[$key]!="") { if($i++ %2 == 0) $bgcolor = '#eeeeee'; else $bgcolor = '#dddddd'; ?>
Default Variable Translation
'>
">
" />

 
startTab(LM_TAB_GENERAL,"1"); ?>



> >
> >
> >

>


>

Public Key Management

Public Key
Use this code in the MultiSite XCloner Manager XCloner.com Members area
Leave it empty to disable it

endTab(); $tabs->startTab(LM_TAB_MYSQL,"2"); ?>





> >

endTab(); $tabs->startTab(LM_TAB_AUTH,"3"); ?>


please change the default password 'admin'"?>

endTab(); $tabs->startTab(LM_TAB_SYSTEM,"4"); ?>



> >

> >

>
>
> MB
> MB
> miliseconds
> >
Note: this option might break your backup process if the Manual backup option is also enabled
> >
> >

endTab(); $tabs->startTab(LM_TAB_CRON,"5"); ?>

- all configs are saved in directory configs/

.php
$fcron"; echo " - execute cron"; echo " | delete config"; echo "\n
"; } } closedir($handle); } ?>


> > >
> > >


value='1'>

value='1'> value='1'>

>

value='1'>

days:

endTab(); $tabs->startTab(LM_TAB_INFO,"6"); ?>






DISABLED"; echo HTML_cloner::get_color($val, 'DISABLED'); ?>

writeable":$tmp_dir. " incorrect or unreadable";?>
readable":$_CONFIG['backup_path']. " incorrect or unreadable";?>
writeable":$_CONFIG['clonerPath']. " unwriteable";?>


endTab(); $tabs->endPane(); ?>
$val"; else echo "$val"; } function TransferForm($option, $files){ global $baDownloadPath, $mosConfig_absolute_path, $clonerPath, $task; ?>
Transfer details:
Attempting to backup(s):
",$files)?>
>
" /> $value) { ?>
startPane("BGeneratePane"); if($_CONFIG['enable_db_backup']){ $tabs->startTab(LM_TAB_G_DATABASE,"users-databse-options-tab"); ?>
 
 


endTab(); } $tabs->startTab(LM_TAB_G_FILES,"users-files-options-tab"); ?>

endTab(); $tabs->startTab(LM_TAB_G_COMMENTS,"users-comments-options-tab"); ?>


endTab(); $tabs->endPane(); ?>

 
  
 
 
 
 
 
  
:
:
:
:
:
### END REPORT

$file){ echo ""; } ?>
".LM_RENAME." $file ".LM_RENAME_TO."