This guide explains how to create a complete backup of your database and how to send it to the SCC support team.
Specify Backup
In Specify 7.11.2 or later, authorized users can create a full backup of their database directly from the Specify 7 interface. This provides a simple and secure way to download a complete snapshot of your data for archival purposes, migrations, or peace of mind.
Command-Line Backup
[!caution]- Packet-Size Adjustment
Large Specify 7 WorkBench and Batch Edit Data Sets live in the
spdatasettable, sometimes exceeding MySQL/MariaDB’s default packet-size limit and causing incomplete dumps. To ensure a full backup, increase themax_allowed_packeton both server and client:
- Open your MySQL/MariaDB configuration file (e.g.,
my.cnformy.ini).- Under the
[mysqld]header add:max_allowed_packet=1024M net_read_timeout=3600 net_write_timeout=3600- Under the
[client]header add the samemax_allowed_packetsetting.- Restart the database service.
For more information, see the MySQL docs on packet-too-large errors and the
max_allowed_packetvariable:
-
Open a terminal (macOS/Linux) or Command Prompt (Windows).
-
Execute one of these commands, replacing
DB_HOST,DB_PORT,DB_USER, andSPECIFY_DATABASE_NAMEwith your values:mariadbdump \ --host=DB_HOST \ --port=DB_PORT \ --user=DB_USER \ --password \ --single-transaction \ --quick \ SPECIFY_DATABASE_NAME \ > specify_backup.sqlAfter pressing Enter you’ll be prompted for your database password. The resulting
specify_backup.sqlis a plain-text dump of your entire database. -
(Optional) Compress the dump to save space:
gzip specify_backup.sqlThis produces
specify_backup.sql.gz, a compressed copy of your database.
Sending Your Backup to Specify
Once you have your .sql, .sql.gz, or .zip archive:
- Go to our Hightail page: https://spaces.hightail.com/uplink/specify
- Enter your email address and any notes.
- Click Select a file, choose your backup archive, then click Send It.
The SCC support team will be notified automatically and can retrieve your file.
