文件名称:php_backup_class:一个用于备份站点文件和 mysql 数据库的 php 类
文件大小:2KB
文件格式:ZIP
更新时间:2024-07-21 21:03:14
PHP
脚步: 1- create an instance of the BackUp class. the constructor accepts two arguments, your src folder and your destenation folder. $backup = new BackUp('src','destination'); 2- if you want to backup your db as well,use the 'export_database' method; the method accepts three arguments db_name,username and password. $backup->export_database('db_name','username','password');
【文件预览】:
php_backup_class-master
----BackUp.php(2KB)
----app.php(208B)
----README.md(497B)