About

Members

Administrators

Developers

Tutorials

Hubzilla Documentation: Administrators

Contents

Hub Snapshot Tools

Hubzilla developers frequently need to switch between branches that might have
incompatible database schemas or content. The following two scripts create and
restore complete snapshots of a Hubzilla instance, including both the hub web
root and the entire database state. Each script requires a config file called
hub-snapshot.conf residing in the same folder and containing the specific
directories and database details of your hub.

Config

The format of the config file is very strict. There must be no spaces between the
variable name and the value. Replace only the content inside the quotes with your
configuration. Save this file as hub-snapshot.conf alongside the scripts.