Softwr

Cloud · head to head

Azure Functions vs rustic

Azure Functions logo

Azure Functions

Cloud

Event-driven serverless compute on Azure

From
Free
Free plan
Yes
rustic logo

rustic

Backup

Rust reimplementation of restic that reads and writes the same repository format

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Where Azure Functions falls short: the newer Flex Consumption plan's free grant is smaller still, at 250,000 executions and 100,000 GB-seconds per month.
  • Where rustic falls short: command names, flags and behaviour do not map one to one onto restic, so scripts and runbooks need rewriting rather than a binary swap.

How do Azure Functions and rustic differ?

Azure Functions and rustic differ on pricing model, platforms and category (Cloud against Backup). Only the attributes on which Azure Functions and rustic actually diverge.

Attributes where Azure Functions and rustic differ
AttributeAzure Functionsrustic
Pricing modelUsage-basedOpen source, no licence fee
PlatformsWebLinux, macOS, Windows
CategoryCloudBackup

Identical on both: starting price (Free), free tier (Yes).

Which features does each one have?

They share no listed features; 6 only for rustic. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Azure Functions

Nothing recorded that rustic does not also cover.

Only in rustic

  • restic format compatibility
  • Configuration profiles
  • Deduplicated encrypted backups
  • Cold and append only storage support
  • Multiple back ends
  • Library crates

What is each one used for?

Azure Functions is most often brought in for event-driven computing. The jobs each tool is most often brought in to do.

Azure Functions

  • Event-driven computingnot rustic
  • Serverless application backendnot rustic
  • Scalable API endpointsnot rustic

rustic

  • An existing restic user who wants configuration files rather than long command lines in cronnot Azure Functions
  • Backing up a memory constrained machine where the reference implementation is uncomfortably heavynot Azure Functions
  • Writing to append only or cold object storage where the default tooling assumes rewritable bucketsnot Azure Functions
  • Keeping a second implementation available so a long lived archive does not depend on one codebasenot Azure Functions

Where do Azure Functions and rustic fall short?

Azure Functions's most cited limit: the newer Flex Consumption plan's free grant is smaller still, at 250,000 executions and 100,000 GB-seconds per month. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Azure Functions

  • Consumption plan free grant is capped at 1 million executions and 400,000 GB-seconds of resource consumption per month per subscription, billed per GB-second beyond that
  • The newer Flex Consumption plan's free grant is smaller still, at 250,000 executions and 100,000 GB-seconds per month
  • Premium plan avoids per-execution charges but bills continuously for allocated core seconds and memory regardless of invocation volume
  • Memory is rounded up to the nearest 128 MB and execution time to the nearest 1 ms for billing, so small overages round upward

rustic

  • The project is small with a short list of active maintainers, so bus factor is a genuine consideration for software whose job is to still work in five years
  • It inherits the restic repository format, so design limits in that format, including the cost of pruning large repositories, are inherited rather than fixed
  • Command names, flags and behaviour do not map one to one onto restic, so scripts and runbooks need rewriting rather than a binary swap
  • Far fewer people have performed a real restore from it under pressure, and backup software is one of the few categories where being second most used is itself a risk
  • Alternating between rustic and restic against one repository works but doubles the surface for a version incompatibility to corrupt state, so most operators should pick one and stay with it

How much do Azure Functions and rustic cost?

Azure Functions is free to use; rustic is free to use. Plan by plan below, from each vendor's own pricing page.

Azure Functions

Free
  • Consumption PlanOn request
    • 1 million requests free monthly
    • 400,000 GB-seconds free monthly
    • Billed per second and executions
  • Flex Consumption PlanOn request
    • 250,000 executions free monthly
    • 100,000 GB-seconds free monthly
    • Event-driven scaling
  • Premium PlanOn request
    • No execution charges
    • At least one instance required
    • Includes automatic scaling and VNET access

rustic

Free
  • rusticFree
    • Full functionality, no data limit
    • All supported storage back ends
    • Community support via GitHub

Which should you pick?

Choose Azure Functions if

  • You want to start without paying.

Choose rustic if

  • You need restic format compatibility.
  • You want to start without paying.
  • You work on Linux, macOS, Windows.
  • You also want configuration profiles.

Questions people ask

Is Azure Functions or rustic better?
It depends on the job. Azure Functions fits event-driven computing; rustic fits an existing restic user who wants configuration files rather than long command lines in cron. Azure Functions starts at Free and rustic at Free.
Which is cheaper, Azure Functions or rustic?
Azure Functions starts at Free and rustic at Free.
Does Azure Functions or rustic run on more platforms?
Azure Functions runs on Web. rustic runs on Linux, macOS, Windows.
Can I use Azure Functions for free?
Both have a free tier, so you can try either at no cost before committing.
What is Azure Functions best used for?
Azure Functions is most often used for event-driven computing, serverless application backend, scalable api endpoints. Of those, event-driven computing and serverless application backend are not what rustic is typically brought in for.
What can Azure Functions do that rustic cannot?
rustic covers restic format compatibility, Configuration profiles, Deduplicated encrypted backups, Cold and append only storage support.

Answered from the vendors’ own pages

Azure Functions: Does Azure Functions have a free tier?

Yes, Azure Functions includes a monthly free grant of 1 million requests and 400,000 GB-seconds on the Consumption Plan, or 250,000 executions and 100,000 GB-seconds on Flex Consumption.

Source
rustic: Can it read my existing restic repository?

Yes, that is the point of the project. Take a copy and verify before you rely on it, as with any change to backup tooling.

Azure Functions: What is Azure Functions' pricing model?

Azure Functions uses usage-based pricing. Consumption plans charge per second of resource consumption and per execution, measured in gigabyte-seconds and rounded to the nearest 128 MB.

Source
rustic: Should I switch from restic?

Only for a specific reason such as configuration profiles, memory use or cold storage handling. Compatibility means there is no cost to trying and no cost to going back.

Azure Functions: What is the minimum execution time for Azure Functions?

The minimum execution time is 100 milliseconds on Consumption plans. Premium plans charge based on core seconds and allocated memory.

Source
rustic: Is it production ready?

It is used in production by a small community, but it is younger and less exercised than the implementation it is compatible with. Test restores accordingly.

rustic: Does it support the same back ends?

The common ones, including local, SFTP, S3 compatible storage and rclone. Check the current list before committing to an unusual target.

Share

Related pages

Other head to heads