forked from Llewellynvdm/Backup-System
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.txt
32 lines (24 loc) · 1.01 KB
/
config.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
##############################################################
############## ##########
############## CONFIG ##########
############## ##########
##############################################################
#### just update these to point to your server ###
##############################################################
## BACKUP TYPE (1 = REMOTE SERVER || 2 = DROPBOX)
BACKUPTYPE=1
## BACKUP AREAS
BACKUPWEBSITES=1
BACKUPDATABASE=1
## REMOTE SERVER DETAILS (1)
REMOTESSH="[email protected]"
## DROPBOX DETAILS (2) (get it from https://github.com/andreafabrizi/Dropbox-Uploader)
DROPBOX="/home/path/to/Dropbox-Uploader/dropbox_uploader.sh"
# PATH DETAILS
REMOTEDBPATH="db_path/"
REMOTEWEBPATH="website_path/"
## WEBSITE BACKUP TYPE (1 = PER/FILE || 2 = ZIPPED)
WEBBACKUPTYPE=2
## 0 = no date | 1 = year | 2 = year-month | 3 = your-month-day | 4 = your-month-day:time # For DB file name
USEDATE=1