Version main

mount

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

plakar-mountMount Plakar snapshots as read-only filesystem

plakar mount [-to mountpoint] [snapshotID]

The plakar mount command mounts a Plakar repository snapshot as a read-only filesystem at the specified mountpoint. This allows users to access snapshot contents as if they were part of the local file system, providing easy browsing and retrieval of files without needing to explicitly restore them. This command may not work on all Operating Systems.

In addition to the flags described below, plakar mount supports the location flags documented in plakar-query(7) to precisely select snapshots.

The options are as follows:

mountpoint
Specify the mount location. The mountpoint can either be:
  • A directory path for FUSE mounts
  • An HTTP address including port for remote mounting (e.g., ‘http://hostname:8080’)
If not specified, mount will attempt a FUSE mount in the working directory with a random subdirectory name.
snapshotID
Optional. Specifies which snapshot to mount. If not provided, all snapshots are mounted.

Mount all snapshots to a local directory:

$ plakar mount -to ~/mnt

Mount the latest snapshot to a local directory:

$ plakar mount -to ~/mnt -latest

Mount a specific snapshot by ID to a directory:

$ plakar mount -to ~/mnt abc123

Mount snapshots matching a filter (e.g., snapshots with tag "daily-backup"):

$ plakar mount -to ~/mnt -tag daily-backup

Mount a snapshot to an HTTP endpoint:

$ plakar mount -to http://hostname:8080

Mount a specific snapshot to an HTTP endpoint:

$ plakar mount -to http://hostname:8080 abc123

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

0
Command completed successfully.
>0
An error occurred, such as an invalid mountpoint or failure during the mounting process.

plakar(1), plakar-query(7)

July 3, 2025 Plakar

Found a bug or mistake in the documentation? Create an issue on GitHub