mirror of
https://github.com/Llewellynvdm/Backup-System.git
synced 2024-12-12 08:57:47 +00:00
29 lines
998 B
Bash
29 lines
998 B
Bash
#!/bin/bash
|
|
|
|
##############################################################
|
|
############## ##########
|
|
############## CONFIG ##########
|
|
############## ##########
|
|
##############################################################
|
|
#### just update these to point to your server ###
|
|
##############################################################
|
|
|
|
## BACKUP TYPE (1 = REMOTE SERVER || 2 = DROPBOX)
|
|
BACKUPTYPE=1
|
|
|
|
## REMOTE SERVER DETAILS (1)
|
|
REMOTESSH="user@yourserver.com"
|
|
|
|
## DROPBOX DETAILS (2) (get it from https://github.com/andreafabrizi/Dropbox-Uploader)
|
|
DROPBOX="/home/path/to/Dropbox-Uploader/dropbox_uploader.sh"
|
|
|
|
# PATH DETAILS
|
|
REMOTEDBPATH="your_db_path/"
|
|
REMOTEWEBPATH="your_website_path/"
|
|
|
|
## WEBSITE BACKUP TYPE (1 = PER/FILE || 2 = ZIPPED)
|
|
WEBBACKUPTYPE=1
|
|
|
|
## 0 = no date | 1 = year | 2 = year-month | 3 = your-month-day | 4 = your-month-day:time # For DB file name
|
|
USEDATE=0
|