-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbackup.sample.yml
22 lines (22 loc) · 1.18 KB
/
backup.sample.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: myproj # Used to name the tarball we upload to S3
amazon:
bucket: my_bucket_name # Must be created manually
secret_access_key: 'secret key here'
access_key_id: access_key_here
gpg:
encryption_key: "ABCD1234" # (optional) Encrypt tarball with this gog key before upload. Supply key id here.
database: # Backup a database with mysqldump
- # Repeat this block if you need to back up multiple databases.
name: main # Used to identify the database when creating file names.
username: mysql_username
password: 'mysql_password'
hostname: localhost
database: name_of_database
touch: /wwwroot/myproj/maintenance.flag # (optional) Create a file while the database backup is performed and delete it afterwards. Can be used to put magento into maintenance mode.
files: # Backup a folders including all files and subfolders.
- # Repeat this block if you want to back up multiple folder.
name: assets # Used to identify this path when creating backup folder,
path: /wwwroot/myproj/media
exclude: # Used to exclude a relative path (file or folder) from the backup can be a scalar or an array for multiple excludes
- thumbnails
- cache