Skip to main content

Arianet BaaS FAQ

Why was my Project paused?​

A Free Plan Project is paused automatically after 7 days without any request. Its data, Users and files are kept in full.

  • The next request wakes it up. That request gets 503 with code project_resuming and a Retry-After: 5 header, and the Project is ready within a few seconds. Your app only needs to retry after a few seconds.
  • Resume Project in the panel brings it back too.
  • A Project you paused is not woken by requests (503 project_paused); resume it from the panel or with arianet baas projects resume.

What happens when I reach a Free Plan limit?​

Free Plan limits are hard. You get a notice at 80 % and 100 % of each limit. When Egress is used up, every request is refused with 402 until the month ends; when MAU is reached, new sign-ups are refused; when Storage is full, uploads are refused; and when the Database is full, it becomes read-only. Details in Usage and limits. The usage period is the calendar month in UTC.

How many free Projects can I have?​

Two free Projects per account. For a third, delete one of the others.

How do I upgrade the Plan?​

From Settings → Change Plan (guide) or arianet baas projects plan <project-id> <plan-code>. Upgrading does not move your data; the Endpoint and keys stay the same and the new limits apply at once. Paid Plans (Pro and Team) are coming soon.

Is my data backed up?​

Yes. Every Project's Database is backed up automatically every day, and you can take a manual backup at any time, download it, or restore the Project to a backup. Paid Plans also have point-in-time recovery (PITR). How long backups are kept and how many you can have depend on the Plan. Details in Backup and restore.

Storage files are not part of the Database backup; keep important files separately (arianet baas storage download or S3 access). Deleting a Project cannot be undone.

Can I move my app from another service?​

If your app uses a client library compatible with Postgres/BaaS, change the URL and key:

  1. Create a Project.
  2. Move the Database structure: apply your migration files with arianet baas db push, or run the SQL export in the SQL Editor. Policies written with auth.uid(), auth.jwt() and the roles anon, authenticated and service_role work unchanged.
  3. Move the data with pg_dump --data-only from the source and psql over the direct connection.
  4. In your app, change the URL to https://<ref>.baas.arianet.app and the key to the new Anon Key (arianet baas env prints the variables).
  5. To move Users, create them with the Service Key through /auth/v1/admin/users; existing bcrypt hashes are kept with the password_hash field, so Users sign in with their old passwords.

Realtime, Edge Functions, OAuth sign-in, MFA, resumable uploads and image transformation work with the same libraries too. The GraphQL endpoint is not offered yet; if your app depends on it, check before moving.

Can I install Postgres extensions?​

Yes, from the list of allowed extensions. Turn them on or off with one click in Database → Extensions. Extensions outside the list cannot be installed.

Where is my Database kept?​

In Region Tehran 1 (thr-1), inside Iran. A Project's Region is fixed.

Is my Project isolated from other Projects?​

Yes. Each Project has its own Database and logins, and no key, token or connection of one Project reaches another Project's Database.