Devzstudio / Cloud-Backup

☁️ Backup your database and website files easily to dropbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cloud-Backup

Backup your database and website files easily to dropbox.

Build Status

License

Donate

Donate

Configuration

  1. Create a directory on your site . For eg. BackUp

  2. Upload all the files.

  3. Edit the configuration.

$dropbox_folder = "CXTEST"; // Dropbox foldername
$files_dir = "../"; // Files directory to take backup
$dropbox_file_prefix = "FILE"; // File backup prefix name
$dropbox_database_prefix = "DB"; // Database backup prefix


//your access token from the Dropbox App Panel
$dropbox_accessToken = '';


//Database Configuration
$database_host = "localhost";
$database_user =  "";
$database_pass = "";
$database_name = "";
  1. Enter key and secret in config.json

Usage

Go to the URL http://www.YourDomain.com/BackUp/

From there you can take backup on files / database.

If you need to do back up automatically then use cron jobs for these

wget http://www.YourDomain.com/BackUp/files.php
wget http://www.YourDomain.com/BackUp/database.php

About

☁️ Backup your database and website files easily to dropbox


Languages

Language:PHP 92.3%Language:CSS 5.8%Language:Shell 1.3%Language:Hack 0.6%