Skip to content

KonstantinPankratov/PHP-Backup-Utility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Backup Utility

What does it can?

  • Backup websites and other files on server
  • Bulk database backup

Usage

$backup = new Backup;

$exclude = array( // Define directories to exclude
    '/bin/',
    '/var/www/example.com'
);

$backup->exclude_dirs($exclude); // Set paths to exclude
$backup->set_backup_dir('/home/www/');  // Set path to the directory that needs to be backup
$backup->set_backup_storage('/home/www/backup/'); // Set path to the directory where backups will be stored
$backup->db_credentials('localhost', 'root', 'pass'); // Your database credentials

$backup->run(); // run backup

About

Backup your websites, databases and other files!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages