Softwr

Cloud · head to head

Packer vs rustic

Packer logo

Packer

Cloud

Build automated machine images

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.
  • Only Packer lists image building; only rustic lists restic format compatibility.
  • Where Packer falls short: Packer 1.10.0 and later is licensed under the Business Source License 1.1 with IBM Corporation as licensor, not an OSI open source licence.
  • 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 Packer and rustic differ?

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

Attributes where Packer and rustic differ
AttributePackerrustic
Pricing modelOpen-sourceOpen source, no licence fee
PlatformsLinux, Windows, macOSLinux, macOS, Windows
CategoryCloudBackup

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

Not yet recorded: founded for rustic.

Which features does each one have?

They share no listed features; 20 appear only for Packer and 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 Packer

  • Image building
  • Multi-platform support
  • Provisioners
  • Builders
  • Post-processors
  • Variables
  • Data sources
  • Validation

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?

Packer is most often brought in for building identical machine images for multiple clouds from one template. The jobs each tool is most often brought in to do.

Packer

  • Building identical machine images for multiple clouds from one templatenot rustic
  • Baking golden AMIs and VM images into a CI pipelinenot rustic
  • Creating immutable infrastructure artifacts consumed by Terraformnot rustic

rustic

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

Where do Packer and rustic fall short?

Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Packer

  • Packer 1.10.0 and later is licensed under the Business Source License 1.1 with IBM Corporation as licensor, not an OSI open source licence
  • The Additional Use Grant forbids offering Packer to third parties on a hosted or embedded basis in a paid product that competes with IBM's paid versions of Packer
  • Each version converts to the MPL 2.0 Change License only four years after that version is first published, and the Change Date is set separately per version
  • Alternative licensing for uses outside the grant must be arranged with the licensor rather than taken under the public licence

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 Packer and rustic cost?

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

Packer

Free
  • Open SourceFree
    • Multi-platform image building
    • Template-driven
    • Provisioner support

rustic

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

Which should you pick?

Choose Packer if

  • You need image building.
  • You want to start without paying.
  • You work on Linux, Windows, macOS.
  • You also want multi-platform support.

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 Packer or rustic better?
It depends on the job. Packer fits building identical machine images for multiple clouds from one template; rustic fits an existing restic user who wants configuration files rather than long command lines in cron. Packer starts at Free and rustic at Free.
Which is cheaper, Packer or rustic?
Packer starts at Free and rustic at Free.
Does Packer or rustic run on more platforms?
Packer runs on Linux, Windows, macOS. rustic runs on Linux, macOS, Windows.
Can I use Packer for free?
Both have a free tier, so you can try either at no cost before committing.
What is Packer best used for?
Packer is most often used for building identical machine images for multiple clouds from one template, baking golden amis and vm images into a ci pipeline, creating immutable infrastructure artifacts consumed by terraform. Of those, building identical machine images for multiple clouds from one template and baking golden amis and vm images into a ci pipeline are not what rustic is typically brought in for.
What can Packer do that rustic cannot?
Packer covers Image building, Multi-platform support, Provisioners, Builders. rustic covers restic format compatibility, Configuration profiles, Deduplicated encrypted backups, Cold and append only storage support.

Answered from the vendors’ own pages

Packer: How much does HashiCorp Packer cost?

Packer does not publish specific pricing on its website. The open-source Packer tool is free, while HCP Packer (HashiCorp's cloud-hosted version) offers a free trial, but detailed pricing requires contacting HashiCorp.

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.

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.

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