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
- Host: GitHub
- URL: https://github.com/devzstudio/cloud-backup
- Owner: Devzstudio
- Created: 2015-11-24T05:06:50.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-07-13T15:47:04.000Z (almost 7 years ago)
- Last Synced: 2025-04-11T21:08:11.450Z (about 1 year ago)
- Topics: backup, cloud-backup, database, dropbox, mysql, php, web-application
- Language: PHP
- Homepage:
- Size: 397 KB
- Stars: 8
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Cloud-Backup
Backup your database and website files easily to dropbox.
[]( http://img.shields.io/badge/Version-1.0-green.svg )
[](http://img.shields.io/badge/License-MIT-lightgrey.svg)
# 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
```
