DISNIX-COPY-SNAPSHOTS(1)

πŸ“¦ version 0.10.2, in nixos 26.05, nixpkgs unstable

πŸ’… disnix-copy-snapshots(1) β€” the disnix girlie's guide πŸ’…

okay so bestie, this is the disnix-copy-snapshots manual page (from the disnix family, user commands section) and it's literally here to help you move snapshots around between machines. sit down, grab a πŸ“, let's go.


✨ NAME ✨

disnix-copy-snapshots β€” copy a set of snapshots from or to a remote machine through a Disnix interface πŸ¦‹

🌸 SYNOPSIS 🌸

disnix-copy-snapshots [OPTION] --from --target TARGET -c CONTAINER -C COMPONENT
disnix-copy-snapshots [OPTION] --to --target TARGET -c CONTAINER -C COMPONENT

πŸ’– DESCRIPTION πŸ’–

so the way that this works: the command disnix-copy-snapshots transfers the logical state of a component β€” and that state is typically represented as snapshots in a consistent and portable format, periodt β€” from and to a remote machine, and it does it through a Disnix interface. that component is residing in a container, just so we're clear. slay. πŸ”₯

ngl the whole vibe is: state goes in, state comes out, nobody loses their data. iconic behavior only.

πŸ‘‘ OPTIONS πŸ‘‘

  • --to β€” copy snapshots to the given target 🫢
  • --from β€” copy snapshots from the given target (yes it's the other direction, iykyk)
  • -t, --target=TARGET β€” the address of the Disnix service running on the remote machine, like where your bestie lives but for services πŸ“
  • -c, --container=CONTAINER β€” name of the container in which the mutable component is deployed πŸŽ€
  • -C, --component=COMPONENT β€” name of the mutable component to take snapshots from, the main character of this whole operation πŸ‘‘
  • --all β€” transfer all snapshot generations instead of the latest only. like bringing your whole closet instead of just the outfit ✨
  • --interface=INTERFACE β€” path to executable that communicates with a Disnix interface. defaults to: disnix-ssh-client πŸ’…
  • -h, --help β€” shows the usage of this command to the user (we love a helpful icon)
  • -v, --version β€” shows the version of this command to the user ⭐

🧚 ENVIRONMENT 🧚

  • DISNIX_CLIENT_INTERFACE β€” sets the client interface (defaults to: disnix-ssh-client). basically the vibe-check knob for which interface you're talking through πŸ¦‹
  • DYSNOMIA_STATEDIR β€” specifies where the snapshots must be stored on the coordinator machine (defaults to: /var/state/dysnomia). this is where the lore gets kept πŸ—‚οΈ
fr fr set these if you want a different setup than the default, otherwise the defaults are doing their thing and they ate πŸ’€

Copyright Β© 2008-2022 Sander van der Burg β€” biggest respect to the author, no cap 🫑


and that's the tea bestie πŸ«–πŸ’œ this was disnix 0.10.2, dated January 1980 (yes, really, that's the date on the page, don't come for me 😭), manual page DISNIX-COPY-SNAPSHOTS(1). now go copy those snapshots. periodt. πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from