Skip to content

Rollback Commands

Graft automatically creates a backup of your configuration and images during every sync.

Roll back the entire project to a previous backup version.

Terminal window
graft rollback

What it does:

  1. Lists available backups with timestamps.
  2. Interactively prompts you to select a version.
  3. Restores docker-compose.yml and environment files.
  4. Loads and re-tags compressed images from the backup.
  5. Restarts all services.

Roll back only a specific service to a previous version.

Terminal window
graft rollback service backend

Configure how many rollback versions Graft should keep on the server.

Terminal window
graft rollback config