Archive format to use ArchiveFormat.
Path to the source directory that should be archived.
Destination file path where the archive will be written
Optional
optionsAdditional options passed directly to the archiver library. See ArchiverOptions.
Optional
logOptional flag to enable internal logging. Useful for CLI mode.
Optional
onCalled after archiving is complete — receives total size in bytes.
Configuration options.