Saltar al contenido principal

Why backups pause, stop or fail

The Backups tab names the reason whenever backups wait or stop. The reason stands in the status line of the header (Paused: … or Stopped: …), in the Backup service row of the state, and under the outcome in the Outcome column of the run journal. The words are the same everywhere. A reason without words in the panel is shown as it came, in code letters.

The storage service answers before every backup​

Before a backup, a check or a restore Qubix asks the storage service where the backups go. The answer is one of these states:

State in the panelMeaning
Accepts backupsThe backup goes.
Paused: …The service asks to wait. The status line is orange.
Stopped: …The service holds back new backups. The status line is red. The snapshots already in the storage stay available for restore.
Did not answerThe service gave no answer; the technical reason stands under the row. Backups are tried again on the following passes.

The reasons the service names:

ReasonStateWhat it says
Backups being movedPausedThe service moves the backups of this licence to another place, and this server waits.
No storage yetPausedThe storage of the licence is being made: the service makes it after the first request of this server for its backups.
Backup Terms not acceptedPausedThe Backup Terms are not accepted. They are accepted by the checkbox of registration on my.qubix.pro or, for an older account, in the window Company details at the next sign-in there.
Licence revokedStoppedThe licence is revoked.
Licence frozenStoppedThe licence is frozen.
Licence not paidStoppedThe licence is unpaid: no subscription exists, or the latest one has run out.
Country not servedStoppedThe country of the account on my.qubix.pro is on the list of countries closed to the service.
Storage limit reachedStoppedThe backups of a paid licence have filled the storage limit.
2 TB not paidStoppedThe licence had the 2 TB storage, the storage is unpaid now, and the backups exceed the free limit.
Cleanup of old snapshotsPausedUnder a stop for the limit, Qubix asked for a cleanup, and the service opened a window for removing old snapshots.
Unknown service answer—The service answered with a state unknown to the panel.

A backup skipped under a pause is tried again on the following passes of the job until the reason ends. A backup skipped under a stop is tried at the next start time; Back up now starts one at once.

The storage limit​

The Used row shows how much of the limit is taken. The limit is 400 GB with the free storage and 2 TB when the licence pays for the 2 TB storage.

Before each backup Qubix counts the snapshots plus the expected size of the next one. While they exceed the limit, the oldest snapshots are removed one by one. The newest snapshot always stays: when only one is left and the next backup still exceeds the limit, the run stops with Storage limit too small. The journal then names the limit: Backup storage is full: …. Turn on 2 TB in your personal account. for the free limit, Backup storage is full: …. for a larger one. The text of the first one points to the 2 TB storage in the personal account.

When the service holds back writing because the limit is reached, Qubix asks for a window and removes the oldest snapshots in it, keeping the newest. This is the state Cleanup of old snapshots.

Space on the server's disk​

A backup needs free room on the disk of this server: the critical level of free disk space (5 GB, the level at which the critical disk alert goes out) plus the size of the data of search by meaning. A shortage gives Not enough space; when the free space is unreadable, Free space unknown. During a backup Qubix looks at the free space every 15 seconds and stops the run when it falls below 5 GB.

A restore asks for room too. A refusal reads Not enough space to restore: … needed, … free with the numbers, and names the part whose volume is short.

Reasons in the run journal​

Key and program​

ReasonWhat it says
No backup key, Backup key not savedThe backup key is missing or waits to be marked saved. See Backup keys.
No backup program, Backup program not answering, Backup program restart failedThe backup program is missing, silent, or its restart failed.
Program sees other foldersThe program sees other folders than Qubix expects; Qubix first recreates the program, and this reason stays when that attempt fails.
Licensing is offLicensing is off on this server.
Backup service not answering, Backup service unreachable, Service named no storageThe storage service gives no answer, is unreachable, or returns an empty storage name.
Paused: …, Stopped: …The storage service paused or stopped the backups; the reason of the service follows the colon.
Server stopped, Server restartedThe Qubix server stopped or restarted during the run; the outcome is Interrupted.

The backup program​

These reasons come from the backup program that works next to Qubix on the server.

ReasonWhat it says
Program busy, Backup program already runningThe program is occupied with another job; the run waits.
Program stopping, Program restartedThe program is stopping or restarted.
Program lost the job, Program job failed, Program job cancelled, Program job interrupted, Job not foundThe job of the program was lost, failed, was cancelled or interrupted, or its name is unknown to the program.
Program error, Bad program callThe program reports an error of its own or a faulty call.

Connection to the storage​

Qubix checks the connection to the storage before it sends anything. The backups travel over SSH, to the storage port that the storage service names (23 by default).

ReasonWhat it says
Storage unreachableThe storage is unreachable.
Storage name not foundThe name of the storage failed to resolve.
Storage not answeringThe storage answers too late.
Outgoing port 23 closedThe outgoing port of this server is closed on the way to the storage (23 by default).
Storage presented no key, Unknown storage keyThe storage showed its key missing, or a key unknown to this server.
Storage refused loginThe storage refused the login of this server.
No backup program on storage, Backup program on storage outdatedThe storage side lacks the open-source backup tool that the program uses, or has an outdated one.
Connection lostThe connection was lost during the run.

Key and repository​

ReasonWhat it says
Key does not fit, Key does not fit, Key does not fitThe key of this server fails to open the snapshots of the storage. Enter the saved key, or start a new chain when the saved key is lost (Backup keys).
No key given, Repository key missingThe program lacks the key, or the repository lacks a key of its own.
No repository yet, No backups yetThe first backup is still ahead, so there is nothing to check.
Repository already exists, Repository damaged, Repository not encrypted, Encryption mismatchThe repository of the snapshots exists already, is damaged, is unencrypted or is encrypted differently than expected.
Repository access aborted, Repository rolled backAccess to the repository was aborted, or the repository looks rolled back to an earlier state.
Repository locked, Repository lock failedThe repository is locked by another job, or its lock failed.
Path not allowed, Permission denied, Parent folder missingThe storage refused the path, refused access or lacks the parent folder.
Storage quota exceededThe quota of the storage is used up.
Repository check needed, Data damaged, Check found problemsThe repository needs a check, the data is damaged, or a check found errors.
Backup program was stopped, Backup program error, Backup program timed outThe backup tool was stopped, ended with an error or ran out of time.

Preparing a snapshot​

ReasonWhat it says
Freeze folder failedMaking ready the folder where the database freeze lies failed.
Previous freeze not clearedFiles of an earlier freeze remain, so the backup stops before it starts.
Snapshot folder failedMaking ready the folder where the snapshot is gathered failed.
A part's stream brokeThe flow of one part to the program broke, and Qubix ended the backup.

Restore​

ReasonWhat it says
Part failed: …A part failed, and its replaced data was put back. The name of the part follows the colon.
Restore interruptedA restore was interrupted; the journal row carries the detail.
Invalid snapshot name, No such snapshot, Snapshot already existsThe name of the snapshot is invalid, the snapshot is missing or it exists already.
Snapshot has no inventory, Inventory unreadableThe snapshot lacks an inventory of its content, or the inventory fails to read.
Snapshot incomplete, Unexpected file in snapshotThe snapshot lacks a part of its content, or holds a file out of place.
Unknown part, Part not in snapshot, Part not restorable yet, Nothing to restoreThe chosen part is unknown, absent from the snapshot or still unavailable for return, or nothing is left to restore.
Different mount points, File owners differThe files lie on another mount point than expected — a link leads there or a file system is mounted on the folder, another one or the same again — or their owners differ from the snapshot.
Folder missing on the server, A link or a file instead of a folder on the serverA folder the restore needs on the server is missing, or a link or a file stands in its place or on the way to it.
Data differs from inventoryThe data of a part differs from the inventory: the backup left files of that part out. The restore sheet names the part and the number of files; a run that loses files while putting the part back ends with the same reason.
Stack provision unfinishedThe start of the services is still unfinished.

What's next​