wiki-toolkit-revert-to-date(1p)

wiki-toolkit-revert-to-date1p

Revert the state of a wiki::toolkit instance to an earlier point in time.

Usage

wiki-toolkit-revert-to-date --type postgres --name mywiki \ --user wiki \ --pass wiki \ --host 'db.example.com' \ --port 1234 \ --date 2007-01-05 \ --time 11:23:21

Overview

Takes three mandatory arguments:

type

The database type. Should be one of 'postgres', 'mysql' and 'sqlite'.

name

The database name.

date

The date to revert the state back to, in the format YYYY-MM-DD

five optional arguments:

time

The time (on the specified date) to revert the state back to, in the format hh:mm:ss. If not specified, will use midnight.

user

The user that connects to the database. It must have permission to create and drop tables in the database.

pass

The user's database password.

host

The hostname of the machine the database server is running on (omit for local databases).

port

The port number that the database server is expecting connections to.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 5 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9–10
  6. 11–13

Author

Nick Burch

From libwiki-toolkit-perl 0.86-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.