-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.sh.ini
52 lines (38 loc) · 1.57 KB
/
config.sh.ini
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/sh
# ========================================================================
# Base directory: Absolute path of root directory of files to be backed up
# ========================================================================
directories_base_dir='/project/directory'
# ============================================================================
# Directories: List of folders/files to backup, relative to the base directory
# ============================================================================
directories='
myproject 1
myproject 2
'
# =================================================
# Databases: List of database names to be backed up
# =================================================
databases='
mydb
another_db
'
# ============================================
# Settings for the mysql connection
# ============================================
MYSQL_USER="homestead"
MYSQL_PASSWORD="secret"
# ===============================================
# Directory containing the temporary backup files
# ===============================================
backups_dir='backups'
thetime=`date +%Y-%m-%d_%H-%M-%S`
backup_dir="$backups_dir/$thetime"
# ========================================================
# Choose if you want to delete the backups after uploading
# ========================================================
delete_created_backups=true
# ====================================================
# Choose if you want to upload backup files to dropbox
# ====================================================
upload_to_dropbox=true