The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Convos::Command::upgrade - Upgrade Convos

DESCRIPTION

This command will stop any running backend and then upgrade the database.

IMPORTANT! BACKUP REDIS BEFORE RUNNING THE UPGRADE!

The upgrade process is tested, but you never know - and there is no downgrade script.

Usage: $ script/convos upgrade --backup # optional $ script/convos upgrade --yes # upgrade

The "--backup" will run the Redis commands below, which will block the database while doing the backup. In addition it will use twice as much disk space and it overwrite any existing "convos-backup.rdb" database that exists.

  CONFIG SET dbfilename convos-backup.rdb
  SAVE
  CONFIG SET dbfilename dump.rdb

ATTRIBUTES

description

Returns a description about this command.

usage

Returns a string describing how to use this command.

METHODS

run

Will start the upgrade process.

COPYRIGHT

Nordaaker

AUTHOR

Jan Henning Thorsen - jhthorsen@cpan.org