queue upgrade

Sometimes we need to change the internal representation of the persistent queues (queue-base), hence we provide a tool for this upgrade, casual-queue-upgrade.

backup

It’s highly recommended to take backups of all persistent queue-groups before an upgrade.

casual will not do any backups under the hood. We do the sqlite schema upgrade within a sqlite transaction, so it should either work or be back in the old state, but we provide no absolute guarantees.

upgrade

casual-queue-upgrade --files <queue-base-file>...

example:

Assuming all queue-base-files is located under $CASUAL_DOMAIN_HOME/queue.

$ casual-queue-upgrade --files $CASUAL_DOMAIN_HOME/queue/*.qb