Get your free beta license ↗
Named type · one of 310 shapes of what is sent and answered

RestoreRequest

First published 3 Oct 20260.1.0Unchanged since publication

Used by 1 operation.

Fields

nameUsernameRequired
A username consists of lowercase letters, digits and underscores. For the user role, it also serves as the system account name.
databasestring
Name of the database to restore when scope is database.
daystring, matching ^\d{4}-\d{2}-\d{2}$
Server-local date in YYYY-MM-DD format. To restore the customer's nightly archive from that day's folder, specify day instead of file.
filestring
Absolute path ending in .tar.gz to the customer's UrbeStack archive, retrieved from the plugin's own storage. The job requires a regular file owned by root, follows no symbolic links, and rejects archives that belong to another customer. Specify exactly one of day and file. Only plugin keys can use file. UrbeStack sessions and tokens receive 403 and can select the archive by day. To restore an archive by path from the shell, use urbestack-restore --file.
scopestring, one of everything, files, mail, database, records
Restore scope. The everything scope restores records, the home directory including website files and mail, and all databases. The files scope restores the home directory excluding mail, mail restores mailboxes, database restores one dump selected by the database field, and records restores only records.

Used by

1 operation
Generated from release 0.2.35 (current) · API named typeThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/api/types/RestoreRequest/