Creating an application snapshot
client.snapshot returns a Snapshot object.
- Using Client
- Using Application
Downloading a snapshot
TheSnapshot object provides a method to download the snapshot as a zip file.
Listing application snapshots
client.all_app_snapshots returns a list of SnapshotInfo objects.
- Using Client
- Using Application
Restoring a snapshot
client.restore_snapshot returns a Response object. You can restore snapshots for both applications and databases.
Snapshot data structures
Snapshot
TheSnapshot object represents a created snapshot:
| Property | Type | Description |
|---|---|---|
url | str | Download URL for the snapshot |
key | str | Unique identifier for the snapshot |
SnapshotInfo
TheSnapshotInfo object represents snapshot metadata:
| Property | Type | Description |
|---|---|---|
id | str | Snapshot unique identifier |
size | str | Size of the snapshot |
created_at | str | Snapshot creation timestamp (ISO 8601) |
Best practices
- Automatic backups: Square Cloud automatically creates daily snapshots for your applications and databases.
- Unlimited snapshots: Create as many manual snapshots as needed without additional costs.
- Retention period: Snapshots are retained for 30 days.
- Restoration time: The restoration process takes approximately 60 seconds to ensure all data is stable.
- Testing: Before restoring a snapshot, consider creating a new application or database to test the restore process first.
Snapshot limits
- Daily snapshots per plan: Each plan can generate
(RAM / 256) * 2snapshots per day- Example: Hobby plan with 2048MB = 16 daily snapshots (480 per month)
- Retention: All snapshots are retained for the last 30 days
- Cost: No additional cost for snapshots

