PLAKAR-SYNC(1)

NAME
plakar sync - Synchronize snapshots between Plakar repositories

SYNOPSIS
plakar [snapshotID] to | from | with repository

DESCRIPTION
The plakar command synchronize snapshots between two Plakar repositories. If a specific snapshot ID is provided, only snapshots with matching IDs will be synchronized.

The arguments are as follows:

to | from | with
    Specifies the direction of synchronization:

    to  Synchronize snapshots from the local repository to the specified peer repository.

    from
        Synchronize snapshots from the specified peer repository to the local repository.

    with
        Synchronize snapshots in both directions, ensuring both repositories are fully synchronized.

repository
    Path to the peer repository to synchronize with.

EXAMPLES
Bi-directional synchronization with peer repository:

    $ plakar sync with /path/to/peer/repo

DIAGNOSTICS

0   Command completed successfully.

>0  General failure occurred, such as an invalid repository path, snapshot ID mismatch, or network error.

SEE ALSO
plakar(1)