Modulify

Take a site backup

create_backup

Takes a snapshot of a site's pages and components as they are right now, so restore_backup can roll the site back to it later.

Scopesites:writeMakes changes

Only the pages and components go into it. Stored files, database rows, environment variables and the site's source files do not, so a restore does not bring them back either. The source code has its own history in the Code tab of Backups, which list_code_backups lists.

The snapshot is typed manual, and the response carries its row. The name is optional but well worth setting.

Inputs

Input Type Required Description
projectId string Yes The site to snapshot.
name string No A short label saying what the snapshot is, for example Before pricing rewrite. When given, it must be 2 to 84 characters.