Skip to main content
Snapshots are backups of your application or database at a specific point in time. They allow you to restore your application or database to a previous state if needed. Square Cloud provides unlimited snapshots with automatic daily backups.

Creating an application snapshot

client.snapshot returns a Snapshot object.

Downloading a snapshot

The Snapshot 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.

Restoring a snapshot

client.restore_snapshot returns a Response object. You can restore snapshots for both applications and databases.

Snapshot data structures

Snapshot

The Snapshot object represents a created snapshot:

SnapshotInfo

The SnapshotInfo object represents snapshot metadata:

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) * 2 snapshots 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