This page describes Calíope 1.8, the version I am building right now. 1.7 is on the App Store for the Mac, iPad, iPhone, Apple Watch, Apple TV and Apple Vision Pro. The changelog says which version each feature landed in.

Adds an “Open in Calíope” button to every topic. It only works with the app installed.

Backup & Restore

Generate a backup

Export selected databases and objects to a .sql or .sql.gz file without blocking the UI.

Where it is: Workspace › Tools › Backup

Open Backup from the workspace navigation bar. In the Backup tab, select the databases and objects to include using the tree on the left. Configure the options and choose the destination file. Press Create Backup.

Background processing:
The backup runs entirely off the main thread. The UI remains fully responsive while the engine dumps data. The log panel below shows per-object progress in real time.

Estimated time remaining (ETA):
Once the first object is processed, an estimated time counter appears next to the progress bar, calculated from the current dump rate.

Cancelling a backup:
Click Cancel at any time. The engine stops after the current operation completes and removes the partial file from disk.

macOS: Save to… chooses the file in the save panel; when it finishes, Show in Finder takes you to it.
iPad: on completion, the Share file button appears to export the file to device storage or iCloud Drive.

Notification on completion:
If you minimize or switch apps during a long backup, Calíope sends a local notification when it finishes or if it fails. Requires notification permission (macOS: Notification Center; iPad: Settings › Notifications). Enable or disable this in Settings › General › Notifications › Manual backup in background.

On iPad and iPhone the system gives Calíope about half a minute in the background: if the backup has not finished by then, it pauses with what is done saved in the file, and continues where it left off when you return to the app.

A note at the bottom of the tab says so, and while the backup runs the screen does not turn off by itself: Calíope keeps it on without you turning anything on, and lets it go when it ends. If it pauses anyway, the row says so and offers to carry on or to discard it. On the Lock Screen and in the Dynamic Island its Live Activity follows it.

ClickHouse

With ClickHouse the dump carries each object's DDL as SHOW CREATE writes it, and the rows as INSERT statements, read as they arrive; if the server fails halfway, the backup fails instead of leaving a cut-off table. A materialized view without TO keeps its rows in an inner table that isn't in the dump: once restored it starts empty, and a comment next to its CREATE says how to bring back its history. A dictionary keeps no rows, and if its source has a password the server returns it hidden: a comment warns about it. Bytes that aren't UTF-8 are written as \xHH.

Oracle

With Oracle the dump carries each object's DDL as DBMS_METADATA writes it, without storage or its schema's name, and the rows as INSERT statements; every PL/SQL block ends with / on a line of its own, so SQL*Plus and SQLcl run the file too. The dump does not create the schema: its header says what is needed first —the account with its quota and privileges—, and it is restored in the schema of the session that runs it. A LOB over 16 MiB does not fit in the dump, and an object type with an attribute that is another object, a collection or a LOB has no text: in both cases NULL is written and a comment says so.

Apple Vision Pro: as on iPad, with the Share file button.

Keywords: backup, export, mysqldump, sql, dump, background, eta, cancel, progress, notification

Select objects for backup

Choose which tables, views, routines, and users to include.

Where it is: Backup › Selection tree

The tree on the left shows each database with its object types: Tables, Views, Routines and Triggers, plus Events where the server has them. Everything starts selected when the tool opens. Select all and Deselect all mark or clear everything, and the quick links All, Only tables and Schema only select in bulk (Schema only also turns off Include data); or check and uncheck items one by one. The Server users section lets you include the server's user accounts and their privileges in the backup.

The tree also has a filter by name in its header and shows the estimated size next to each table. Each database checkbox selects or clears everything under it, and to its right you see how many objects are selected out of the total. The Server users section sits below the tree, not inside it: users belong to the server and hang from no database. If the session’s account can’t read the server’s accounts, or sees only some of them, a banner above the section says so, with the server’s text or the missing permission, and the backup’s log notes it when it starts. A database created after opening the tool appears with Refresh database list in the tree's context menu.

If the account doesn’t see every object in a database, a banner above the tree says so and names the missing privilege, and the backup log notes it at the start. If the server won’t let it read the definition of any selected object, the backup fails and says so, instead of writing a file that creates nothing and can’t be restored.

SQL Server

Each entry of the tree is a database with one of its schemas (demo.dbo, demo.rrhh): the backup writes the database, the schema and its objects.

PostgreSQL

Each entry of the tree is a schema of the database you are connected to: the backup writes the schema, the extensions it uses and its objects. The objects an extension brings —PostGIS's functions, for instance— are not listed: on restore, the file creates the extension again.

Oracle

Each entry of the tree is a schema. Packages go with the routines. The schema's types and sequences are not chosen: they always go, before its tables.

TiDB

The tree has no Routines, Triggers or Events, which TiDB doesn't have. Sequences aren't chosen: they always go, ahead of their tables, and a restored one starts again from its START, because TiDB won't tell which number it had reached without using one up. Tables with AUTO_RANDOM keep their ids: the file turns on allow_auto_random_explicit_insert to write them.

Keywords: select, tables, users, routines, triggers, backup, views, events

Restore from SQL file

Execute a .sql or .sql.gz file against the server to restore data.

Where it is: Backup › Restore tab

In the Restore tab, choose the file with Choose file…. Both .sql and .sql.gz (gzip-compressed) files are accepted; Calíope detects the format via the file's magic number rather than the extension, so renaming the file does not change the result.

Preview: press Preview to inspect the first ~200 lines before running. Useful to verify which databases and statements a dump contains before applying it.

Prior confirmation: pressing Restore shows a summary with the number of statements detected and the affected databases (read from the statements that select, create or drop them). If the script contains DROP statements, the summary warns that existing objects will be removed.

SQL Server

The file goes in batches separated by GO lines, and the restore cuts only at those lines: a procedure body with ; inside arrives whole.

PostgreSQL

The file is restored into the database you are connected to: its schemas are created there.

Oracle

An Oracle dump does not carry the name of its schema: the tab asks for Into schema, and everything the file creates goes into the one chosen (by default, the session's). The schema must already exist, with quota on its tablespace, because the dump does not create the account. Each statement is committed as it runs: if it stops halfway, what was applied stays. A dump of several schemas lands entirely in the chosen one.

MySQLMariaDBAuroraTiDB

A dump from mysqldump or mariadb-dump is restored as the command-line client would: its executable comments (/*!40101 … */) reach the server, and binary columns dumped raw, without --hex-blob, arrive byte for byte.

Cancellation: during restore you can press Cancel to stop after the current statement. On iPad and iPhone, if Calíope goes to the background and the system takes its time away —about half a minute—, the restore stops between two statements: what was applied stays, it does not resume when you return, and the log says how many statements ran.

A note at the bottom of the tab says so, and while the restore runs the screen does not turn off by itself; it is let go when it ends, when you stop it or if it fails. On the Lock Screen and in the Dynamic Island its Live Activity follows it, with the statements run.

Errors: the restore runs in a single session and stops at the first error. The log names the statement that failed (the object and its database) with the server's message, and says at which statement it stopped.

When it ends: a system message is left —finished, with the statements run, or stopped, with the statement where it stopped— and, if Calíope is not in front of you, a notification. It is turned on and off in Settings › General › Notifications › Restore in background; with Calíope in front of you it stays silent, because you are already seeing it here.

macOS: the picker opens the standard Finder dialog.
iPad: the picker uses the system document browser with access to iCloud Drive and compatible apps. A security-scoped bookmark is generated so the file can be re-read after closing the picker.

Requires an active connection: the button is disabled if no server is connected. An orange warning flags the state.

ClickHouse

With ClickHouse it sends one statement per request and without a transaction: if it stops halfway, what was applied stays. You can restore with the session inside the database the dump drops and creates again: once it's dropped, what follows runs without a database, and the dump names each object with its own.

Apple Vision Pro: the same system document browser opens as on iPad (Recents, Shared, iCloud Drive, On My Apple Vision Pro).

With a read-only environment tag, the restore form is replaced by a notice that names the tag. With one that confirms writes, the restore confirmation carries its name in the title and is the only question.

Keywords: restore, import, sql file, sql.gz, gzip, compressed, script, icloud, file picker, preview, confirmation, cancel

Backup options

Configure the content, format, and compression of the generated backup file.

Where it is: Backup › Options section

In the Backup tab, the options section lets you adjust what the generated file includes:

  • DROP before CREATE — adds DROP TABLE IF EXISTS (or DROP VIEW, DROP PROCEDURE, etc.) before each CREATE statement. Recommended for clean restores that overwrite existing objects.
  • Include data — adds INSERT statements with the data from each selected table. Disable this to generate the schema only (structure without data).
  • Include user passwords — appears when server users are included. Explicit opt-in, off by default. When off, the password —or its hash— is written as '***REDACTED***'. Turn it on only if you plan to restore the file on the same server and the destination folder is not synced to iCloud Drive, Dropbox or any other service.
  • Include date in filename — adds the date and time to the file name; on macOS, to the name that Save to… suggests (e.g. backup_2026-06-05_14-30.sql).
  • Include server users — the checkbox of the Server users section, below the tree: exports the accounts ticked there and their privileges with the statements that create them and their privileges.
  • Compress output (.sql.gz) — applies gzip compression to the file as it is generated, without keeping the full SQL in memory. The resulting file is typically 70–85 % smaller than the equivalent .sql file. Compression uses Apple's Compression framework in real time.
  • Mask personal data — makes the copy with the personal data replaced by fake values with the same shape, and without the server users; the topic “Masked backups” explains it.

If the server doesn't let the session read an account —it lacks the permission—, that account isn't written halfway: it's left out, and the file footer names it among the write errors.

MySQLMariaDBAurora

Server users are written as CREATE USER and GRANT.

SQL Server

Server users are the logins: each one is written as CREATE LOGIN … WITH PASSWORD = … HASHED, with its user, roles and permissions in each database. DROP before CREATE also drops, first, every object of each schema the file brings. A SQL login's hash is only visible with CONTROL SERVER; without it, that login is left out and the footer names it.

PostgreSQL

Server users are the roles: each one is written as CREATE ROLE, and the predefined pg_ roles only with their grants, because every server already has them. DROP before CREATE drops each schema whole (DROP SCHEMA … CASCADE) before creating it again. The password hash lives in pg_authid, which only a superuser can read: without it, each role is written without PASSWORD and, with Include user passwords on, the file says so next to the account, with the server’s text, and the footer counts it among the write errors.

macOS: Save to… chooses the file in the standard save panel.
iPad: on completion, the Share file button lets you export the .sql or .sql.gz to any destination supported by the system file picker.

Oracle

Server users are written as CREATE USER and GRANT. Oracle does not give an account's password, not even hashed: the restored account is created without one, and the file says so. DROP before CREATE drops each object before creating it, but not the schema, which the dump neither creates nor drops.

Apple Vision Pro: as on iPad, with the Share file button.

Keywords: backup options, DROP IF EXISTS, include data, include users, schema, structure, data, filename date, drop before create, compress, gzip, sql.gz, compression

Scheduled automatic backups

Set up recurring backups (daily, weekly, weekdays, monthly or every N hours), with a system notification when one fails.

Where it is: Workspace › Tools › Backup

Calíope can run backups automatically without manual intervention. To configure them, open the Backup panel from the Workspace sidebar.

How to set up a scheduled backup:

  1. In the Scheduled tab of the Backup panel, press New.
  2. Give it a name and choose the connection, the frequency (daily, weekly, Monday to Friday, monthly, every N hours, or on demand), the time, the destination folder and how many copies to keep.
  3. The switch on its row turns it on and off.

A scheduled backup copies every database of its connection, with DROP before CREATE and the data, uncompressed. To back up only some databases, save a preset from the Backup tab and give it a frequency with its pencil button.

Behavior:

  • At the configured time it runs even with Calíope closed, as the topic “Scheduled runs with Calíope closed” explains; with the app open, it runs in the background without blocking the UI.
  • While it runs it shows in the activity panel, with the table it is on: Go to opens the Backup tab of its connection, and Stop stops it and deletes the half-written file.
  • If it fails, you will receive a system notification with the reason, and tapping it opens that backup’s history. If it succeeds, it is recorded in the history without a notification, unless you turn on Also notify when it finishes successfully in its sheet.
  • If it couldn’t run at the scheduled time —the device asleep or off—, it runs once as soon as it can, however many were missed, and shows in the history as Late. One with no connection profile chosen needs a connected session: without one it stays pending on its row, and Run now launches it. A new one cannot be saved without a connection, and one created earlier without it shows Choose the connection so it runs with Calíope closed on its row: tapping it opens its sheet to choose one.
  • Older backups are automatically deleted when the configured maximum number of copies is exceeded.
  • If the account doesn’t see everything the schedule backs up, the log says so at the start and the history row repeats it, with the missing privilege. If none of its databases has an object the account can see, no empty file is written: the backup is recorded as failed.

Destination folder selection:
Calíope runs in a strict sandbox (an App Store requirement). When you pick the folder with Choose folder…, a persistent permission is created for that specific path. If you later move or rename the folder, the app will warn you that it needs you to select it again. Editing the path by hand in the profile is not enough — always use Choose folder….

Performance:
Scheduled backups use the same streaming engine as manual ones: data is written directly to disk object by object, without buffering the full SQL in memory. This allows backing up databases of any size without risk of RAM exhaustion or app freezing.

Deleting a scheduled backup: open its row's context menu and choose Delete; on iPad and iPhone you can also swipe the row to the left. The files it already wrote stay in their folder.

On iPhone and iPad, a scheduled backup that runs also shows on the Lock Screen as a Live Activity, and if Calíope goes to the background it pauses like a manual one and carries on when you come back.

Verification. With Verify the backup turned on in its sheet, Calíope checks every backup by restoring it into a test connection, as the topic “Verifying backups” explains.

Masking. With Mask personal data turned on in its sheet, the backup comes out with the personal data replaced by fake values, as the topic “Masked backups” explains.

Available on macOS, iPad, iPhone and Apple Vision Pro. Requires system notification permission.

Keywords: backup, scheduled, automatic, daily, weekly, notification, scheduler, schedule, background, streaming

Scheduled runs with Calíope closed

How scheduled backups and reports run without Calíope open: on the Mac, on iPad and iPhone, and on Apple Vision Pro.

Where it is: Workspace › Tools › Backup

Scheduled backups and reports run even when Calíope is closed. How depends on the device, and the line at the top of the schedule sheet says which case yours is.

On the Mac. A small helper with no window or menu travels inside Calíope. It is added to Login Items & Extensions in System Settings the first time you save a schedule on the Mac —a backup, or a report that runs on it— and removed when none is left; it is never added when the app is installed. It checks for anything due at startup, every 5 minutes and when the Mac wakes. If something is due and Calíope isn’t open, it opens it with no windows: Calíope runs what is due with its usual passwords, folders and connections, and quits by itself when done. It works even if you quit it with ⌘Q. While it starts, its icon may bounce for a moment in the Dock.

If the helper is turned off in Login Items & Extensions, the line at the top of the sheet says “Turn on Calíope in Login Items & Extensions so it runs while closed” and offers Open Login Items & Extensions.

If the device was asleep or off at the time, what is due runs only once when it wakes, or when you open Calíope, and shows in the history as Late. However many hours or days were missed, it runs once, never once per missed run.

On iPad and iPhone the system decides the moment. Calíope asks it for a background task at the scheduled time, and the system grants it at that time or later, usually at night while the device charges: there is no exact time. Background App Refresh must be on for Calíope in Settings.

The task also comes with the device locked. That’s why the password of a connection with something scheduled —and that of its SSH tunnel, if it has one, and its masking key, if it makes masked backups— is stored so it can be read with the device locked, after the first unlock; when the connection’s last schedule is removed it goes back to its earlier protection, and other connections don’t change. After restarting the device you need to unlock it once: until then there are no passwords to read, and the task neither runs nor records anything. If the system cuts the task short, what was running shows in the history as failed, with the reason “The system cut the background time short before it finished”, and you are notified.

On Apple Vision Pro nothing runs in the background: scheduled runs happen with Calíope open, and it catches up when you open it.

A report runs on one device only, the one that scheduled it. On the others, its sheet says where it is scheduled and offers Run it here.

SSH tunnel with nobody there. It runs if everything it needs is saved: the server already confirmed and the passphrase in the keychain, or a key without one. If something is missing it doesn’t run, and it shows in the history as failed with its reason. For a backup, the notification says what is missing and asks you to connect once with Calíope open.

Notifications. A failure sends a system notification, and tapping it opens that schedule’s history. A success only goes into the history, unless you turn on Also notify when it finishes successfully in its sheet.

Backup verification. If a backup checks its files, the verification runs in the same turn, right after the backup, and the password of its test connection is also stored so it can be read with the device locked. The topic “Verifying backups” explains it.

Schema watching. The scheduled snapshots of a watched connection run just like a backup, and that connection's password is also stored so it can be read with the device locked. It's covered in the topic “DDL change history”.

The weekly security review. With Review security every week on in Users, the review of a connection’s accounts runs every seven days just like a backup, with its own connection and from the device where it was turned on, and that connection’s password is also stored so it can be read with the device locked. It only notifies when a new high or medium finding appears that hasn’t been accepted. See “Security review”.

Older backups without a connection. One created before this without a chosen connection only runs with Calíope open, on the first connected session, and shows Choose the connection so it runs with Calíope closed on its row: once you choose its connection it runs on its own.

Keywords: scheduled, closed, background, helper, login items, late, keychain, locked, background task, background app refresh

Verifying backups

Checks that a scheduled backup restores: Calíope restores it into a test connection, compares tables, columns, rows and objects with what the file says it holds, and deletes the copy.

Where it is: Workspace › Tools › Backup

A backup that doesn’t restore is only found out the day you need it. With Verify the backup turned on in a scheduled backup’s sheet —the topic “Scheduled automatic backups” explains how to create one—, Calíope checks its files by restoring them on another server.

What it does. Every backup carries, at the end of the file, what it contains: the tables with their columns and types, the rows it wrote for each one, and how many views, routines, triggers and events there were. To verify it, Calíope creates a temporary database on the Test connection, restores the file into it, compares what was restored with that list, and deletes the temporary database, also if something fails. The file isn’t touched, and restoring it by hand ignores those lines.

What it compares and what it doesn’t. It compares tables, columns with their types, rows per table and objects. It doesn’t compare the contents of the rows, nor the users and privileges the backup carries, which aren’t restored into the temporary database. In ClickHouse, a table whose engine merges rows when they are inserted (ReplacingMergeTree, SummingMergeTree, AggregatingMergeTree or CollapsingMergeTree) or that is the target of a materialized view has no row count that must match: for it, the table and its columns are compared, and the result says so as a note. A backup made before Calíope 1.8 doesn’t carry the list and can’t be verified.

The test connection. You choose it in the sheet, which only offers connections of the same product as the backup’s, to another server and without the read-only label. Three rules protect it, and every run checks them again before restoring:

  • It never touches a database that already exists: if the temporary database’s name is taken, it doesn’t restore.
  • It can’t be the same server. Once the temporary database is created, Calíope asks the backup’s connection whether it sees it; if it does, it is the same server, so Calíope deletes it and the verification fails with its reason. If the backup’s connection doesn’t answer, it verifies anyway and the row says so.
  • It can’t have a database named like one of the backed-up ones, except in PostgreSQL, where the whole file goes inside the temporary database. In the other engines the file names its databases and Calíope swaps them for the temporary one while restoring, so a statement that escaped the swap could only fail. While the test server has a database with that name, it can’t be used.

When you choose it, Calíope connects once to both without creating anything: it warns if the test server has an older version, and it won’t let you save if the account lacks the privilege to create the temporary database or if a database with the source name is already there. When the privilege can’t be seen without trying, it says so, and the first verification checks it. If the connection’s label asks for confirmation, the sheet asks once; that answer covers the runs with nobody there and only covers creating, filling and deleting caliope_verify_… databases.

The temporary database and its privilege. It is called caliope_verify_<date>_<time>_<n>, with the time in UTC, and what it is depends on the engine:

MySQLMariaDBTiDB

One database per database in the backup. Whoever creates a database gets no privilege inside it, so the test account needs every privilege on the databases whose names start with caliope_verify_ (a GRANT ALL PRIVILEGES with a database wildcard) and, if the backup has routines or triggers and the binary log is on, SUPER or log_bin_trust_function_creators; and if its objects carry another account’s DEFINER, SET_ANY_DEFINER.

PostgreSQL

A real database, with the file inside as it is. The account needs CREATEDB and SET on the session_replication_role parameter, which the file sets at the start. Extensions that only a superuser can install (pg_stat_statements, PostGIS) must already be in the test server’s template1, or the account must be a superuser: otherwise the verification stops at their CREATE EXTENSION and says so.

SQL Server

One database per database in the backup. The account needs CREATE ANY DATABASE, and inside the temporary database it is the owner.

ClickHouse

One database per database in the backup. The account needs CREATE DATABASE and DROP DATABASE, and to create tables, views and dictionaries and write in those databases.

Oracle

A user without permission to log in, acting as a schema: the file lands inside without naming it. The account needs CREATE USER, ALTER USER, DROP USER, GRANT ANY PRIVILEGE and the ANY privileges to create and fill tables, views, sequences, routines and triggers.

When. In When you choose After every backup or Once a week, which is the first one each week. The verification runs right after the backup and in the same turn, also with Calíope closed, as “Scheduled runs with Calíope closed” explains. It shows in the history as its own row, Verification, next to the backup’s; opened, it lists what doesn’t match and, separately, the notes. A failure notifies like a failed backup, and a success only with Also notify when it finishes successfully on. While it runs it shows in the activity panel, with Stop.

Verify now. In the history, every successful backup of a schedule that verifies has Verify now: it runs the same verification on that file, by hand and regardless of the frequency. If the file is no longer in the folder, the button is disabled and says why.

If something is left behind. Before creating its own, every verification deletes on the test connection the caliope_verify_… databases older than 24 hours, which a run cut short by the system leaves behind. If one couldn’t be deleted, the row names it so you can delete it. If the restore created on the test connection a database with the source name, Calíope doesn’t delete it —it isn’t a temporary one— and the row names it: delete it, because while it is there the verification doesn’t run on that server.

The verification’s statements go into the SQL Log with the source Backup check.

A masked backup is verified the same way: nothing that is compared depends on the values, as the topic “Masked backups” explains.

Available on macOS, iPad, iPhone and Apple Vision Pro.

Keywords: verify, check, restore, test connection, caliope_verify, manifest, scheduled backup, verify now, temporary database

Masked backups

Make a copy of the database with the emails, phone numbers, names and other personal data replaced by fake values with the same shape, for development and testing.

Where it is: Workspace › Tools › Backup

A masked backup is a copy of the database in which the personal data — emails, phone numbers, names, addresses, ID documents, cards, IP addresses, passwords — come out replaced by fake values with the same shape. It gives development or testing a database that behaves like the real one without handing over anyone’s data.

How to ask for one. In the options of the Backup tab, turn on Mask personal data, and open the sheet with the columns of what is checked with Review columns. The file carries a suffix in its name that tells it apart, and its first lines say which columns were masked and with which rule.

The proposal. When the sheet opens, Calíope proposes a rule for each column. By its name — email, phone, first_name, birth_date…, in the app’s six languages — with the mark Proposed; and in free text whose name says nothing, by what it finds in a sample of 200 rows — an email, a phone number, a card or an ID document written inside — with the mark Detected in the content. The sample is read only to propose: it is not stored. Everything can be changed column by column, Propose again goes back to the proposal, and what you keep with Save applies to every masked backup of that connection.

The rules.

  • Email — a made-up email at example.com. Different for each email.
  • Phone — other digits, with the same length and the separators in place. Different for each phone number.
  • Person name — a made-up name with as many words as the original. It repeats between people; in a unique column it carries a suffix that makes it unique.
  • Address — a made-up number and street. Like the name: it repeats, except in a unique column.
  • ID document — each digit for another digit and each letter for another letter, with the separators in place. Different for each document.
  • Card — another number of the same length and format, which still passes the check digit. Different for each card.
  • IP address — an address from the ranges reserved for documentation. In IPv4 it repeats; in IPv6 it is different.
  • Birth date — the same date shifted by between one day and half a year. It repeats.
  • Secret — masked; in a unique or fixed-length column, a different string with the original’s length.
  • Scramble — digits for digits and letters for letters, with the rest in place. Different for each value. It is the fallback rule: the one applied where the chosen one doesn’t fit.
  • Null — NULL, in the columns that allow it.
  • Fixed value — the value you type, the same in every row. Not allowed in a unique column.
  • Don’t mask — the column comes out as it is.

A rule that doesn’t fit in the column, that doesn’t give unique values in a unique column or that writes letters into a numeric one can’t be chosen, and the sheet says why.

Joined columns. Columns joined by a foreign key are masked together, with the rule of the column they point to: the same value gives the same fake in both tables, and JOINs keep working. A joined column has no picker of its own: the sheet says which one it inherits from.

ClickHouse

ClickHouse has no foreign keys, so no column inherits: one that repeats the value of another table needs its own rule. With the same rule, an email, a phone number or a card gives the same fake in both.

Always the same fakes. The fake comes from a secret key of the connection, which Calíope creates the first time you mask and keeps in this device’s keychain. With it, the same value always gives the same fake, in every table and in later backups; an email, a phone number or a card repeated in two tables without a foreign key gives the same fake in both. The key never leaves the device: your other devices mask the same columns, but each with its own fakes, and if the key is lost — when you reinstall Calíope or change devices — the fakes change. Deleting the connection deletes its key.

What travels. Which columns are masked and with which rule syncs with your connections through iCloud Drive (mask_selections.json) when sync is on. The key and the data don’t leave this device.

New columns. A column that appears after the selection was saved goes, in the next backup, through the proposal by its name and type — without a sample — and the sheet marks it New until you review it. The backup’s final message says how many were masked that way and how many came out unmasked.

No users. A masked backup doesn’t carry the server users: Include server users is turned off while the option is on.

What isn’t inspected. Binary and JSON columns, and those of types a text fake can’t reproduce — an enum, a UUID, a geometry — carry the mark Not inspected and come out as they are. Free text in which the sample found nothing also comes out as it is. A value that doesn’t have its rule’s shape is scrambled: the original never comes out. The proposal helps, but it doesn’t guarantee: review the columns before handing over the file. And if the columns of a checked table can’t be read, the sheet says so and the masked backup isn’t made: no table comes out unexamined.

Scheduled. A scheduled backup can also come out masked, with the same switch in the connection section of its sheet; the list marks it. The topic “Scheduled automatic backups” explains how to create one. Review columns needs an open session to that connection; without opening it, the backup uses the saved selection and proposes the new columns. It also runs with the device locked, as “Scheduled runs with Calíope closed” explains, and if the key can’t be read the backup fails and writes nothing. It is verified like any other, as “Verifying backups” explains.

Available on macOS, iPad, iPhone and Apple Vision Pro.

Keywords: mask, masked, masking, personal data, anonymize, pseudonymize, fake data, privacy, GDPR, development, testing, test copy

Save configuration as template (manual preset)

Reuse a backup's parameters without scheduling it. Presets run on demand with one click.

Where it is: Backup › Scheduled tab

In addition to automatic backups (daily, weekly, weekdays, monthly, or every N hours), the Scheduled tab can hold manual templates: named configurations that run only when you press the Run button on their row.

How to create a manual template:

  1. In the Backup tab, select what to back up and press Save as preset… next to Create Backup. The preset keeps the connection and the databases that hold the selected objects (whole databases), and is registered in the Scheduled tab with frequency "Manual — on demand". The folder is not carried over, because the file picked with Save to… gives no permission to write in its folder later: choose it with the pencil button (Choose folder…) before the first run. The options are those of every scheduled backup: DROP before CREATE and the data, uncompressed.
  2. Alternatively, in Scheduled › New, choose the option No schedule (run on demand) in the frequency picker.

Visual differences of a manual preset:

  • Indigo bolt.circle.fill icon (vs. green calendar.badge.checkmark for active scheduled ones).
  • Primary Run button always visible on the row.
  • No active/inactive toggle and no "next run" (do not apply).
  • No missedRuns accumulation (do not participate in the automatic cycle).

Available frequencies for automatic backups:

  • Daily at a fixed hour.
  • Weekly on a specific day of the week.
  • Mon-Fri (weekdays) Monday to Friday.
  • Monthly on a specific day (1–28) of the month.
  • Every N hours counted since the last run.
  • Manual (on demand) — no automatic schedule.

Run history: the clock.arrow.circlepath button on each row (View history) opens the runs of that backup: successes, failures, cancelled and skipped. With no runs yet, it says so.

Keywords: preset, template, manual, on demand, scheduled, frequency, monthly, weekdays, every N hours, history, run history