Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

HDDen/simplePHPbackup

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
10 Commits
 
 
 
 

Repository files navigation

simplePHPbackup

Backing up site files and database with only ftp-access.
Also can restore database from .sql/.sql.gz previously backed or just uploaded file

Quick start

  • Edit backuper.php "settings"-section (you can rename backuper.php to any needed name);
  • Upload backuper.php to any web-accessible location of your site;
  • Navigate to this just using browser.

Useful settings

$params['backup_files'] – true/false. Enables files backup.
$params['backup_db'] – true/false. Enables database backup.

$params['pack_dir'] – directory to backup files. Default is document_root.
$params['exclude_folders'] – array of excluded files/folders from backup.

$params['gzip_db'] – true / false. Try to compress database dump.
$params['restore_db'] – true / false. Add possibility to deploy databases. If "false", button "Restore DB" will be not exists.

$params['filter_ip'] – false / string. For security reasons, you can limit access to script by allowed IP's. Comma-separated, '0.0.0.0,1.1.1.1' for example.

$params['backup_folder'] – path to storing backups.

More settings in the script code.

About

Backing up site files and database with only ftp-access

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.