sshdir

package
v0.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2022 License: LGPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package sshdir provides a receiver that can receive snapshots over ssh. It behaves like the directory receiver, but writes the data over an SSH connection. The receiver depends on linux coreutils being available on the destination. For receiving to a btrfs volume over SSH, it is better to pipe the data into btrfs receive or btrsync, as it will be much faster than writing the data to disk and then receiving it. Btrsync does this automatically if the mirror is set to an ssh:// path with the subvolume format.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(client *ssh.Client, path string, offsetDirectory string) receivers.Receiver

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL