diag

PLAKAR-DIAG(1) General Commands Manual PLAKAR-DIAG(1)

plakar diagDisplay detailed information about Plakar internal structures

plakar diag[contenttype | errors | locks | object | packfile | snapshot | state | vfs | xattr]

The plakar diag command provides detailed information about various internal data structures. The type of information displayed depends on the specified argument. Without any arguments, display information about the repository.

The sub-commands are as follows:

snapshotID:path
 
snapshotID
Display the list of errors in the given snapshot.
Display the list of locks currently held on the repository.
objectID
Display information about a specific object, including its mac, type, tags, and associated data chunks.
packfileID
Show details of packfiles, including entries and macs, which store object data within the repository.
snapshotID
Show detailed information about a specific snapshot, including its metadata, directory and file count, and size.
List or describe the states in the repository.
snapshotID:path
Show filesystem (VFS) details for a specific path within a snapshot, listing directory or file attributes, including permissions, ownership, and custom metadata.
snapshotID:path
 

Show repository information:

$ plakar diag

Show detailed information for a snapshot:

$ plakar diag snapshot abc123

List all states in the repository:

$ plakar diag state

Display a specific object within a snapshot:

$ plakar diag object 1234567890abcdef

Display filesystem details for a path within a snapshot:

$ plakar diag vfs abc123:/etc/passwd

The plakar diag utility exits 0 on success, and >0 if an error occurs.

0
Command completed successfully.
>0
An error occurred, such as an invalid snapshot or object ID, or a failure to retrieve the requested data.

plakar(1), plakar-snapshot(1)

February 3, 2025 Plakar