Chuyển tới nội dung chính

Backups

The Backups tab of the Hệ thống window. Once a day Qubix makes a copy of this whole server — the panel's data, QubDrive files, call recordings, the data of the sections that keep a database of their own and more — and sends it to Qubix storage. The copy of one moment is called a snapshot. The tab shows the state of the backups, starts a backup or a check, sets the schedule and the number of snapshots to keep, and records every run in a journal.

The keys that open the backups are described in Backup keys, bringing the server back to a snapshot — in Restoring from a backup, the meaning of pauses, stops and refusals — in Why backups pause, stop or fail.

Administrators only

The tab is shown to administrators of an installation; the demo does not carry it. Open it in the Hệ thống window, or as the Backups row of the Bảo trì group in the Cài đặt Qubix window.

How a daily backup runs​

The Backups job of Dịch vụ và tác vụ looks every 5 minutes whether the daily backup is due. After the key is saved, the backup runs at the start time; Back up now starts one at any moment. When the storage service asks to wait or gives no answer, the journal receives one skipped line with the reason, and the backup is tried again on the following passes of the job until the reason ends. A backup skipped for another reason — the key waits to be saved, the storage service held back the backups, the disk is short of space — is tried again at the next start time; Back up now starts one at once.

The question to the storage service is also entered in the Verification journal tab with the kind Backups: an answer identical to the previous one is entered again after 24 hours.

What a backup holds​

PartWhat it holds
Main databaseThe panel's main database — people, logins, rights, history and the rest of the panel's data — together with the files of comments.
Other databasesThe data of the sections that keep a database of their own, such as TeleQube.
Drive filesThe files of QubDrive.
Call recordingsThe recordings of calls.
Chat attachmentsThe files attached in TeleQube.
MailThe latest export of mail; the date of the part is the time of that export.
Search vectorsThe data of search by meaning.
Vector queueThe queue of vector work.
Other files and foldersFiles of the server that no other part names; Come back only with the whole box

The choice of parts when restoring is described in Restoring from a backup.

The header and the state​

The header of the tab holds the title, a status line with a coloured dot and, on the right, the Back up now button, which appears as soon as the tab has read the state. The line is chosen from the top of this table down: the first row that fits is shown.

Status lineDotWhen it is shown
No backup programorangeThe backup program is absent from this server.
Backup key not savedorangeThe key exists and waits to be marked saved outside the server.
In progress: …greenA run is going; the line names its kind (Backup, Restore, Check and so on).
Paused: …orangeThe storage service asks to wait or is cleaning the storage; the reason follows the colon.
Stopped: …redThe storage service holds back new backups; the reason follows the colon.
Service did not answerorangeThe storage service gave no answer.
No key yetorangeThe first key is made once the program runs and the storage service names the storage.
Next backup …greenAll is in order; the date and time of the next backup follow.

The State group below the header lists these rows, in this order:

RowWhat it shows
Backup keySaved outside the server, Not saved, No key yet, New key awaits saving or New chain awaits saving.
Backup serviceAccepts backups, a pause or a stop with the reason (Paused: … or Stopped: …), Not asked yet or Did not answer. When the service gave no answer, the technical reason is printed under the row in small type. The row shows the last answer of the storage service, which is asked before a run, a check or a restore.
UsedHow much of the storage limit the backups occupy, as … of …. The row appears when the service names a limit.
In progressThe kind of the current run and the time it began: … since …. The row appears while a run is going.
Last backupThe start time of the latest finished backup, or Not yet.
Next backupThe date and time of the next backup, or After saving the key while the key waits.
Backup programRunning or Not running.

Times are shown in your time zone; the start times in the schedule list are marked UTC: … UTC. A press of a button of the tab is confirmed by the word Started, and a started restore by Restore started; a run that was stopped is marked Cancelled in the journal. While a run is going, the tab reads the state again every 5 seconds, so the outcome appears by itself.

How to make a backup now​

  1. Open Hệ thống → Backups.
  2. Click Back up now in the header. The button is available between runs.
  3. The status line changes to In progress: … and the In progress row appears. At the end the Last backup row and the journal show the result.

The backup starts once the key is saved outside the server. Before that, a red strip under the Hành động group says: "Save the backup key outside this server first: there are no backups until then." The way to save the key is in Backup keys.

Checks​

The Check the backups row of the Hành động group holds these buttons:

  • Check verifies that the snapshots in the storage are consistent.
  • Full check reads every snapshot through. It takes longer and reads the whole storage.

Each button starts a run with the kind Check or Full check. Qubix also runs checks by itself after the daily backup, when none has passed within the number of days set in Check every and Full check every. A full check counts as a check as well.

Actions at a glance​

The buttons of the Hành động group are available between runs. The key and chain buttons also wait while a new key awaits saving, and the change button needs a saved key.

RowButtonWhat it doesDescribed in
Check the backupsCheck, Full checkStart a check.Checks, above
Backup keyChange the keyMakes a new key for the same snapshots. The button is available when the key is saved and no new key waits.Backup keys
Backup keyEnter a saved keyTakes a key saved earlier. The button is available when no new key waits.Backup keys
Backup chainNew chainOpens the window of a new chain: once the new key is marked saved, the previous snapshots are removed and the chain starts again with that key. The button is available when no new key waits.Backup keys
Restore from a backupRestore…Opens the restore sheet.Restoring from a backup

A refusal of a button of the group appears as a red strip under the group, in the words of the panel; a refusal inside a window (the password, the key) appears inside that window.

Backup settings​

The Backup settings group holds these settings.

SettingDefaultAllowed valuesWhat it does
Start time (UTC)AutomaticAutomatic, or a time of day in 30-minute steps (the server takes any minute of the day)The moment the daily backup begins. In the automatic mode Qubix derives a time from the licence number within 00:00–06:00 UTC, so that backups of different installations spread over the night; the list then reads Automatic, … UTC with the time that was derived.
Daily snapshots kept70 to 3650How many daily snapshots are kept.
Weekly snapshots kept40 to 520How many weekly snapshots are kept.
Monthly snapshots kept60 to 1200How many monthly snapshots are kept.
Upload speed limit1000 to 100000, in Mbit/sThe sending speed of a backup, set so that the backup leaves room for the traffic of landing pages. 0 — no limit.
Check every70 to 3650 daysHow often the snapshots are checked. 0 — never.
Full check every300 to 3650 daysHow often every snapshot is read through. 0 — never.

After each finished backup Qubix removes the snapshots that fall outside the counts of daily, weekly and monthly snapshots.

The start time applies as soon as you choose it. A number is saved when you leave the field. A value outside the range stays on the screen, and the refusal under the field names the allowed whole numbers; the bounds come from the server. While a new start time is being written, the group footer reads Đang lưu….

Lowering the number of kept snapshots​

Raising a count is saved without a password. When you enter a smaller count for daily, weekly or monthly snapshots, a window with the name of the setting opens, with the line Extra snapshots get removed and a field for your current password. After the password and Lưu the new count applies, and the next backup removes the extra snapshots. A wrong password gets the answer "The password is wrong."; repeated wrong passwords are held back for a time ("Too many wrong passwords. Try again in N min."). Cancelling the window keeps the previous count.

The same settings in Services and jobs​

These settings are also shown on the page of the Backups job in Dịch vụ và tác vụ, under longer names: Backup start, UTC minute, Daily snapshots kept, Weekly snapshots kept, Monthly snapshots kept, Upload speed limit, Mbit/s, Days between checks and Days between full checks. A lowered count of kept snapshots is entered on the Backups tab; the job page answers "Use the Backups tab". The job makes the daily backup and the due checks, runs every 5 minutes and is available to administrators. Four of these settings carry a special value, and a note under the name says which: −1 — automatic under the start minute, 0 — no limit under the speed limit, 0 — never and 0 — never under the days between checks.

The run journal​

The Run journal group lists the latest 200 runs, newest first, with their number in the group header. With an empty journal it reads No runs yet; once 200 rows are shown, the footer says Showing the latest … with the number of rows in place of the dots.

ColumnWhat it shows
StartedWhen the run began. Sortable.
FinishedWhen the run ended. Sortable.
KindBackup, Restore, Check, Full check, Key change or New chain.
BySchedule, or the name of the person who started the run.
OutcomeThe outcome, then under it the reason in the words of the panel, then the detail of the run in small type (full text on hover).
SnapshotThe name of the snapshot the run wrote or restored. The name carries the UTC moment the backup began, for example qubix-20261109T013000Z. A check or a key change shows a dash.
PartsFor a restore — the parts that came back, or Whole box.
Kích thướcThe size of the data in the snapshot. Sortable.
SentWhat this backup added and sent. Sortable.
FilesThe number of files. Sortable.
In storageHow much the storage holds after the run. Sortable.

The outcomes are Running, Xong, Failed, Skipped (the run waited for a condition, with the reason under it) and Interrupted (a stop or a restart of the Qubix server cut the run). The filters Kind and Outcome narrow the table, and Xuất CSV saves its rows to a file. The reasons are explained in Why backups pause, stop or fail.

Through the AI assistant​

The administrator's AI assistant reads and does the same things. The assistant names its steps like this:

Step in the chatWhat it does
Backup stateReads the state of the backups.
Backup journalReads the run journal.
Backup settingsReads the backup settings.
Change backup settingsChanges backup settings; a lower count of kept snapshots is entered on the tab with the password.
Back up nowStarts a backup.
Check backupsStarts a check or a full check.
Snapshots, Snapshot contentsLists the snapshots and shows what one of them holds.
Keys awaiting savingTells which keys wait to be saved.
Drop the new keyDrops the new key that waits to be saved, as described in Backup keys.

A saved key is typed into a secure field of the panel under the assistant's message and goes straight to the server; the assistant sees only that it was entered. After a saved key the chat says Backup key entered.

What's next​