-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.conf.sample
26 lines (23 loc) · 1.29 KB
/
settings.conf.sample
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
# Mail settings
mail_from="[email protected]"
mail_to="[email protected]"
postmark_token="token-created-by-postmak-service"
# MySQL settings
# Use your root account credentials if you want to back all your databeses.
# If you use an account other than root, you will only be able to backup databeses accessible to that particular user.
# mysql_output is the target directory for MySQL dumps, it will hold archives for all dbs with rotating 7 days back.
# You can use $scriptpath and $HOME parameters while setting mysql_output. It's probably best if you use an absolute path.
mysql_user="root"
mysql_password="my-very-strong-password"
mysql_output="./dbs"
mysql_exclude="information_schema mysql performance_schema sys"
# Root directory of vhosts
root_vhosts="/path/to/vhosts/root/"
# Google Cloud Storage settings
# You might want to add -n to gs_sync_params if you want a test run before sending your backups to Google Cloud Storage.
# If you want to backup your dbs and vhosts to the same bucket, put its name to both gs_bucket_vhosts & gs_bucket_dbs.
# Be careful: If you use same bucket for both, make sure that you don't use -d option, which deletes files that are not in origin.
gs_sync_params="-r -C -d -e"
gs_bucket_vhosts="my-vhosts-bucket"
gs_bucket_dbs="my-dbs-bucket"
gs_sync_exclude="^.*\/lscache\/.*$"