1WIKI-TOOLKIT-REVERT-TO-UDsAeTrE(C1o)ntributed Perl DocumWeInKtIa-tTiOoOnLKIT-REVERT-TO-DATE(1)
2
3
4

NAME

6       wiki-toolkit-revert-to-date - Revert the state of a Wiki::Toolkit
7       instance to an earlier point in time.
8

SYNOPSIS

10         # Removes any changes made to a Wiki::Toolkit instance since a given date
11         #  (and optionally time), restoring it to the state at that point.
12
13         wiki-toolkit-revert-to-date --type postgres
14                  --name mywiki \
15                  --user wiki  \
16                  --pass wiki \
17                  --host 'db.example.com' \
18                  --port 1234 \
19                  --date 2007-01-05 \
20                  --time 11:23:21
21

DESCRIPTION

23       Takes three mandatory arguments:
24
25       type
26           The database type.  Should be one of 'postgres', 'mysql' and
27           'sqlite'.
28
29       name
30           The database name.
31
32       date
33           The date to revert the state back to, in the format YYYY-MM-DD
34
35       five optional arguments:
36
37       time
38           The time (on the specified date) to revert the state back to, in
39           the format hh:mm:ss. If not specified, will use midnight.
40
41       user
42           The user that connects to the database. It must have permission to
43           create and drop tables in the database.
44
45       pass
46           The user's database password.
47
48       host
49           The hostname of the machine the database server is running on (omit
50           for local databases).
51
52       port
53           The port number that the database server is expecting connections
54           to.
55

AUTHOR

57       Nick Burch
58
60            Copyright (C) 2006 Nick Burch.  All Rights Reserved.
61
62       This code is free software; you can redistribute it and/or modify it
63       under the same terms as Perl itself.
64

SEE ALSO

66       Wiki::Toolkit
67
68
69
70perl v5.30.1                      2020-01-30    WIKI-TOOLKIT-REVERT-TO-DATE(1)
Impressum