Overview
fjall restore restores AWS resources from AWS Backup recovery points. It supports S3 buckets, EBS volumes, RDS databases, and EC2 instances.
Usage
Arguments
| Argument | Description | Required |
|---|---|---|
resource | Resource type to restore: s3, ebs, rds, or ec2 | No (interactive picker if omitted) |
Options
| Option | Description | Example |
|---|---|---|
--recovery-point <arn> | Recovery point ARN (required in non-interactive mode) | --recovery-point arn:aws:backup:... |
-n, --name <name> | Name for the restored resource | --name restored-db |
-y, --yes | Skip the dry-run and start the restore immediately | -y |
-v, --verbose | Enable verbose logging | -v |
--non-interactive | Force plain CLI output (no interactive UI) | --non-interactive |
Agent flags
These flags shape output for AI-agent and scripted callers.| Flag | Description |
|---|---|
--agent | Enable agent output mode |
--budget <level> | Output budget: minimal, compact, or a token count |
--fields <fields> | Request additional fields in output |
--full | Disable content truncation |
Resource Types
S3 Bucket
Restore an S3 bucket from backup:EBS Volume
Restore an EBS volume:RDS Database
Restore an RDS instance or Aurora cluster:EC2 Instance
Restore an EC2 instance:Interactive Mode
Runfjall restore with no recovery point to walk through a guided picker chain:
- Resource category (
What type of resource would you like to restore?): Compute or Storage. - Resource type (
Select compute resource type:for EC2, orSelect storage resource type:for S3, EBS, RDS). - Backup vault (
Select backup vault (N available):): each vault shows its recovery-point count. - Resource (
Select resource to restore (N available):): shows the backup count and latest backup date. - Recovery point (
Select a backup to restore (N available for <resource>):): the most recent backup is labelled(Latest). - Confirmation (
Start restore job?): shown after a summary of the restore.
Non-Interactive Mode
For CI/CD or scripting, pass every required option and--yes to skip the dry-run:
Finding Recovery Points
Find recovery points in:- AWS Console: Backup > Protected resources > select a resource.
- AWS CLI:
Post-Restore Steps
After a restore completes:- Verify the restored resource in the AWS Console.
- Update application configuration if the restored resource has a new name or endpoint.
Importing an existing AWS resource back into a Fjall application (
fjall import) is not yet available. Track restored resources manually until import ships.Troubleshooting
Permission Denied
Recovery Point Not Found
Restore Failed
If a restore job fails, check the AWS Backup console for details:- Go to AWS Console > Backup > Jobs.
- Find the failed job.
- Read the status message for the failure reason.
Required Permissions
The restore command requires these IAM permissions:Next Steps
fjall list
List the resources defined in an application’s infrastructure.
fjall deploy
Deploy application changes to AWS.
fjall tunnel
Open a secure tunnel to a restored database.
fjall connect
Connect an AWS account before restoring its resources.