Troubleshooting

Fix backups that need attention

Find the entry `marfa attention` shows for your backups, or the refusal a restore gives over missing files, and fix it.

marfa attention lists each backup problem as an entry of kind backup, with a title and what is wrong beneath it. No entry here stops the instance, and none means the server deleted something. Back up an instance shows how backups are set, and the rules are in the instance chapter of the contract.

The last backup run failed or lost files

The text beneath says which. A run that put no backup gives its reason, and the server tries again at the next interval.

A backup put without files names up to ten that no store could give. Upload each again with marfa blobs upload <file>, and the next scheduled run takes a backup. Until you upload them, the entry stays, and the server takes another scheduled backup only when something else changes.

Parts of backups are damaged

A backup is kept as parts. A part is damaged when its bytes changed, a disk can't read it, or an object store archived it. A restore of a backup that names one is refused.

marfa backups run

The backup stores again each damaged part it names. A part that only older backups name stays damaged until those backups are gone, or until an archived one is moved back to a storage class that reads at once.

Files are archived in the object store

A rule on the bucket moved the store's copy of some files to an archive storage class, which no read answers. Nothing was deleted, but a restore that needs one of those files is refused.

Bring each object back from the archive class, with the store's own tools. The next hourly check of the copies counts it as intact again. Then keep the prefix out of the rule.

Backups are archived in the object store

The object store archived the manifest of each backup the entry names. A manifest is the file that lists a backup's parts, so that backup can't be read. While any manifest is unread, the server deletes no backup part, and it still checks the parts the other backups name.

Bring the manifest back from the archive class, or delete that backup in the store if you no longer want it. The next run then cleans up parts again.

409 backup_files_missing

A restore found files the backup names that neither the instance nor the backup place holds whole. Nothing was restored. The message lists them, and says which the object store keeps archived.

Restore the archived ones in the object store, then restore again. For files gone from an object store, restore an earlier backup. For files gone from a backup folder, put them back in it. marfa backups restore with --allow-missing-files restores without them, and names each in blobs_missing.

On this page