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