Documentation

    How to use Firestore Studio, from the first connection to restoring a change.

    Background tasks

    Tasks and the progress dialog

    Long operations run in a queue, so you can keep working.

    The progress dialog of a finished task

    Operations that touch many items run as background tasks. You see a progress dialog, and you can close it or choose Run in Background. The task keeps running.

    • Firestore: bulk update and delete, adding, renaming and deleting fields, document and collection copy, move, rename and duplicate, collection export and import, pipeline writes, code that writes and restores from a past time.
    • Authentication: import, export, transfer, and bulk delete, disable, enable and custom claims.
    • Storage: folder copy, move, rename, delete and transfer.

    Each item of a task is tracked: succeeded, failed, skipped, pending or cancelled. The app keeps the queue on this computer. If you quit while a task is unfinished, it is picked up again when the app starts.

    The progress dialog:

    The dialog shows the source and target, a progress bar and the counts of succeeded, failed and skipped items. Its buttons depend on the state of the task.

    ButtonWhat it does
    Pause / ResumePauses processing and resumes it.
    Cancel TaskStops processing. After you confirm, all pending items are marked cancelled. Items already processed are not reverted. This cannot be undone.
    Run in BackgroundCloses the dialog and leaves the task running.
    View DetailsOpens the task detail tab.
    Open TasksOpens the Tasks list.
    CloseCloses the dialog when the task is finished.

    Tick Auto-close when completed successfully to close the dialog when a task finishes without failures. The same option is in Settings, Notifications. A task where every item was skipped is shown as Completed, some skipped, not as failed.

    The Tasks list

    Find, inspect and clean up tasks.

    The Tasks page listing one completed update task

    Open Tasks in the bottom navigation. The list shows each task with its status, action, category and project. Use Search tasks... and the filters Status, Action, Category and project. Clear filters resets them.

    • Statuses: Running, Completed, Completed with errors, Failed, Cancelled and Pending.
    • Row actions: Cancel task, View task details, Show progress dialog and Delete task.
    • Delete selected and Delete matching tasks remove finished tasks and their items. Running and pending tasks that match are not deleted: cancel them first.
    • Audit Log opens the audit log, which is a separate log. Deleting tasks never deletes audit entries.

    How many rows a page shows is Settings, Audit & Tasks Page Size. How long finished tasks are kept is set in Settings, Logs and disk space.

    Task detail and retrying items

    Find out what failed and try again.

    Open a task with View task details. The header shows the type, the task ID (click to copy it), the source and target and the progress. Below it the items are listed. Use Search records... and the status filter: Success, Failed, Skipped, Pending or Cancelled.

    1. Step 1: Filter to Failed to see the items that did not complete.
    2. Step 2: Click an item to open Record Detail. The Error field says what went wrong.
    3. Step 3: Choose Retry As-Is to run the item again unchanged, or Edit & Retry to change its data in the Form or JSON tab and choose Save & Retry.
    4. Step 4: You can also use Retry this item on the row.

    For Authentication records, Overwrite existing user lets a retry replace an existing account. A retry reports Retry succeeded, Record was skipped, or Retry still failed with the reason.