⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 backup.php

📁 jsp程序开发系统
💻 PHP
字号:
<?php
// +-------------------------------------------------------------+
// | DeskPRO v [2.0.1 Production]
// | Copyright (C) 2001 - 2004 Headstart Solutions Limited
// | Supplied by WTN-WDYL
// | Nullified by WTN-WDYL
// | Distribution via WebForum, ForumRU and associated file dumps
// +-------------------------------------------------------------+
// | DESKPRO IS NOT FREE SOFTWARE
// +-------------------------------------------------------------+
// | License ID : Full Enterprise License =) ...
// | License Owner : WTN-WDYL Team
// +-------------------------------------------------------------+
// | $RCSfile: backup.php,v $
// | $Date: 2004/02/10 01:34:24 $
// | $Revision: 1.11 $
// +-------------------------------------------------------------+
// | File Details:
// | - DeskPRO backup instructions page (administration interface)
// +-------------------------------------------------------------+

error_reporting(E_ALL & ~E_NOTICE);
require_once('./global.php');
//Nullify WTN-WDYL Team

admin_header('Backup', 'Backup');

php?>

<P><B>DeskPro does not offer a built-in backup facility.</B> However, there are
several ways to implement a backup system that includes DeskPro's data:

<OL>

	<LI>Use the <I>mysqldump</I> utility (that comes with MySQL) to back up the
	database DeskPro uses. The basic syntax for this is:<PRE>	mysqldump -u<?php echo constant('DATABASE_USER'); ?> -p <?php echo constant('DATABASE_NAME') ?> &gt; /path/to/backup.sql</PRE>

	You'll be prompted for the database password to complete the backup. The
	resulting file can be compressed and archived with your normal system
	backups.</LI>

	<LI>Use phpMyAdmin, a
	full-featured web-based MySQL administration interface. You can perform
	database dumps and restores with this software, along with many other
	administrative functions. Note that if you have a very large database, this
	<I>can</I> time out before the dump is complete unless you adjust your
	server's PHP configuration to permit longer runtimes. Refer to the PHP
	manual for details.</LI>

	<LI>Use MySQL, version 4.0 or greater,
	and establish a master/slave system that hosts your DeskPro database on the
	master, and backs up to the slave. This requires two systems, but with the
	addition of watchdog software and scripts to automate disaster recovery,
	you can dynamically reconfigure your applications, including DeskPro, to
	use the slave system when the master fails. You can also restore data from
	the slave if the master fails. The MySQL documentation suite has more
	details on this kind of implementation.</LI>

</OL>

</P>

<P>
Headstart Solutions Limited cannot be held responsible for data loss resulting
from inadequate, inappropriate, improperly administered, or non-existent
backups, whether obtained by the methods described above or by other methods.
Verify that your backups are being completed and include <I>all</I> DeskPro
data <I>before</I> committing the system to a production environment. If you
are interested in Headstart Solutions Limited performing your regular backups
for you.</P>

<?php

admin_footer();

php?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -