An open API service indexing awesome lists of open source software.

https://github.com/devzstudio/cloud-backup

☁️ Backup your database and website files easily to dropbox
https://github.com/devzstudio/cloud-backup

backup cloud-backup database dropbox mysql php web-application

Last synced: about 1 year ago
JSON representation

☁️ Backup your database and website files easily to dropbox

Awesome Lists containing this project

README

          

# Cloud-Backup
Backup your database and website files easily to dropbox.


[![Build Status](http://img.shields.io/badge/Version-1.0-green.svg)]( http://img.shields.io/badge/Version-1.0-green.svg )

[![License](http://img.shields.io/badge/License-MIT-lightgrey.svg)](http://img.shields.io/badge/License-MIT-lightgrey.svg)

# 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 = "";
```

4) 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
```