-
Notifications
You must be signed in to change notification settings - Fork 0
/
iomad-tools.conf.default
89 lines (80 loc) · 3.41 KB
/
iomad-tools.conf.default
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#######################################################################
# #
# For backup-update script #
# #
#######################################################################
# base location where your virtual hosts reside
# example 1: you have only one host on your server and the Directory structure is:
#
# └── var
# └── www
# └── html
# ├── iomad
# ├── logs
# └── moodledata
#
# www_rootdir=/var/www
# choose 'html'
#
#
# EXAMPLE 2: Multiple virtualhosts on your server, directory structure:
# └── var
# └── www
# │
# └── vhosts
# ├── iomad.400.domain.ca
# │ ├── iomad
# │ ├── logs
# │ └── moodledata
# └── iomad.401.domain.ca
# ├── iomad
# ├── logs
# └── moodledata
#
# www_rootdir=/var/www/vhosts
www_rootdir=/var/www/vhosts
host_htmlroot=iomad
host_dataroot=moodledata
host_config=config.php
# This directory will be created in the same location
# the scripts are run from if it doesn't exist
# eg: /home/[you]/
# will create /home/[you]/IOMAD_BACKUPS as the archive root folder
archive_root=IOMAD_BACKUPS
# let the script upgrade the current IOMAD to the latest commit
# The branch will not change.
auto_update=no
# Additional offsite SCP host for backups.
# Be sure to copy ssh-id to the remote host to bypass password prompts
# rsync_enabled= [yes/no]
# rsync_localuser= local username to run as (sudo -u $rsync_localuser)
# rsync_remoteuser= remote username on offsite host
# rsync_remotehost= domain name or IP address of remote host
# rsync_remotepath= Don't use a leading / unless you have access, or a jailed/chrooted remote account
# The directory would be relative to the remote users home.
# example: /home/$rsync_remoteuser/$rsync_remotepath
# Make sure this folder exists.
#
rsync_enabled=no
rsync_localuser=firetrain
rsync_remoteuser=backup_user
rsync_remotehost=smoothbore.sgvfr.com
rsync_remotepath=BACKUP/REMOTE/sandbox
#############################################################################
# The site will be put into maintenance mode automatially when the script runs
# You can choose to re-enable the site automatically, or choose no to manually re-enable
# with ./admin/cli/maintenance.php --disable
enable_host=yes
# This gives a warning and a countdown to users before putting the host into maintenance mode
# for a custom HTML offline page, save it to $host_dataroot/climaintenance.html.off
# The script will copy that into the custom offline page if it exists
# and remove it when maintenance mode is disabled
delay_timer=0
enabled=yes
# enabled=no
#######################################################################
# #
# For restore script #
# #
#######################################################################
preserve_config=yes