snapdir push
Push a snapshot to a store given its path or a staged manifest ID.
push uploads the snapshot's manifest and objects to a --store. You can push a
directory directly, or push an already-staged snapshot by --id.
Usage
snapdir push [OPTIONS] [PATH]
Arguments
Options
With --objects-store, manifests are written under --store while content
objects are written to the shared object pool's .objects/ layout. When pushing
a directory, snapdir assumes the input tree is quiescent; in-flux files or
directories make the command fail clearly.
Examples
Push the current directory to an S3 store:
snapdir push --store s3://my-bucket/snapshots .
Push an already-staged snapshot by ID, rate-limited:
snapdir push --id 1220abc... --store file:///srv/backups --limit-rate 10M
Push manifests to one location while sharing a deduplicated object pool:
snapdir push --store s3://inventory/manifests/2026-06-17 --objects-store s3://inventory/object-pool ./project
Push to an SSH-reachable host (see SSH and SFTP stores):
snapdir push --store ssh://backup@nas.example.com/srv/snapdir .
See also
snapdir fetch— download a snapshot into the cachesnapdir pull— fetch and check out in one stepsnapdir sync— copy directly between two stores- Pushing and pulling guide
- Stores guide