createArchiveIncremental

fnArchiveHandle createArchiveIncremental(string fsRoot, string outDir, string base, string ext, CreateOptions co) @safe

Creates an incremental (differential) archive. Placeholder marks archive with an extra file.

fnArchiveHandle createArchiveIncremental(string fsRoot, string outDir, string base, string ext, CreateOptions co, IncrementalOptions io) @safe

Creates an incremental or differential archive using custom IncrementalOptions.

This overload accepts an IncrementalOptions object that specifies the reference archive, change detection policy, snapshot file, and mode.

Parameters

fsRootfilesystem root to back up
outDiroutput directory for slices
basearchive base name for the new incremental archive
extslice extension (e.g., "dar")
cobase create options
ioincremental options describing reference and policy

Returns

ArchiveHandle for the created incremental archive.