1RT-SETUP-DATABASE(1)  User Contributed Perl Documentation RT-SETUP-DATABASE(1)
2
3
4

NAME

6       rt-setup-database - Set up RT's database
7

SYNOPSIS

9           rt-setup-database --action ...
10

OPTIONS

12       action
13           Several actions can be combined using comma separated list.
14
15           init
16               Initialize the database. This is combination of multiple
17               actions listed below.  Create DB, schema, setup acl, insert
18               core data and initial data.
19
20           upgrade
21               Apply all needed schema/acl/content updates (will ask for
22               version to upgrade from)
23
24           create
25               Create the database.
26
27           drop
28               Drop the database.  This will ERASE ALL YOUR DATA.
29
30           schema
31               Initialize only the database schema
32
33               To use a local or supplementary datafile, specify it using the
34               '--datadir' option below.
35
36           acl Initialize only the database ACLs
37
38               To use a local or supplementary datafile, specify it using the
39               '--datadir' option below.
40
41           coredata
42               Insert data into RT's database. This data is required for
43               normal functioning of any RT instance.
44
45           insert
46               Insert data into RT's database.  By default, will use RT's
47               installation data.  To use a local or supplementary datafile,
48               specify it using the '--datafile' option below.
49
50       datafile
51           file path of the data you want to action on
52
53           e.g. "--datafile /path/to/datafile"
54
55       datadir
56           Used to specify a path to find the local database schema and acls
57           to be installed.
58
59           e.g. "--datadir /path/to/"
60
61       dba dba's username
62
63       dba-password
64           dba's password
65
66       prompt-for-dba-password
67           Ask for the database administrator's password interactively
68
69       skip-create
70           for 'init': skip creating the database and the user account, so we
71           don't need administrator privileges
72
73       root-password-file
74           for 'init' and 'insert': rather than using the default
75           administrative password for RT's "root" user, use the password in
76           this file.
77
78       package
79           the name of the entity performing a create or upgrade. Used for
80           logging changes in the DB. Defaults to RT, otherwise it should be
81           the fully qualified package name of the extension or plugin making
82           changes to the DB.
83
84       ext-version
85           current version of extension making a change. Not needed for RT
86           since RT has a more elaborate system to track upgrades across
87           multiple versions.
88
89       upgrade-from
90           for 'upgrade': specifies the version to upgrade from, and do not
91           prompt for it if it appears to be a valid version.
92
93       upgrade-to
94           for 'upgrade': specifies the version to upgrade to, and do not
95           prompt for it if it appears to be a valid version.
96
97
98
99perl v5.28.1                      2019-05-08              RT-SETUP-DATABASE(1)
Impressum