vereo
← SQL Manager

Help for SQL Manager

Version 1.0.5

Installation

The package is not signed by QNAP; QNAP grants such signatures only to vendors in its own programme. The App Center therefore accepts it only once you allow it:

  1. Open the App Center
  2. Top right the gear (settings)
  3. Switch on «Allow installation of applications without a valid digital signature» and confirm
  4. In the App Center choose Install → Install manually
  5. Select the file SQLManager_1.0.5.qpkg and confirm the installation

Checking the hash before installing is worth it. Over SSH on the NAS:

sha256sum SQLManager_1.0.5.qpkg

Expected is f4232c6d2959783ed6f58f88ebc658b6546a331eee0f7d7532d6e8c70cd4d999.

«The package is not compatible with this model»

Then the NAS has an Intel or AMD processor. The package is built for ARM (QTS 5.0 and newer); there is no build for x86 models.

Opening the interface

After installation SQL Manager appears in the App Center and in the QTS main menu. It is reachable at /sqlmanager/ on the same port you use for QTS.

If the entry stays empty or «Not found» appears, a firmware update has removed the mount point: stop and start the package once in the App Center, then it is set again.

First steps

  1. Tab Backup: enter host, port, user and password of the database. For the QNAP MariaDB package that is localhost:3306 with the user root.
  2. Select databases — «All databases» also takes along those added later.
  3. Set the target directory, /share/Backups/MariaDB for instance.
  4. Press Back up now and check in the Log tab whether it got through. Only once a manual run works is the schedule worth setting.
  5. Tab Schedule: set the time and the retention period.

The backup does not run at night

Look in the Log first. The most common cause is a target directory on a drive that is asleep or not mounted at that time.

The path to mysqldump is not the cause: it is resolved anew on every run, precisely because /usr/local/mariadb can be somewhere else after a reboot or a MariaDB update.

Where things are

Settings config/sql-manager.conf in the package directory, readable by root only
Schedule as an entry in /etc/config/crontab, marked SQLManager-QPKG
Backups in the directory you set — one folder per run, with a timestamp

Uninstalling

Through the App Center. The cron entry is removed with it; backups already made stay where they are — they are yours, not the package’s.

Still stuck?

Write to kontakt@vereo.ch. If you have a customer account, open a request there instead — then the whole exchange stays in one place.