remotebackup

package module
v0.0.0-...-6c774e4 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

README

remotebackup

A backup automation tool built around restic.

Motivation

In the past, I had written some bash scripts to backup some remote filesystems using a combination of dump (ext2/3/4) and GNU tar. This had worked well enough but was not terribly extensible; I had limited support to the ext-family and btrfs, adding XFS or bcachefs was going to take a lot of work, perhaps more than a rewrite in Go.

Just like my bash scripts, the Go reimplementation uses filesystem/volume level snapshots as a backup source for data consistancy purposes.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version string

Functions

This section is empty.

Types

type RemoteBackup

type RemoteBackup struct {
	// contains filtered or unexported fields
}

func NewRemoteBackup

func NewRemoteBackup(conf *data.Configuration) *RemoteBackup

func (*RemoteBackup) BackupHost

func (rb *RemoteBackup) BackupHost(host *data.Host) error

func (*RemoteBackup) RemoteBackup

func (rb *RemoteBackup) RemoteBackup() error

func (*RemoteBackup) Run

func (rb *RemoteBackup) Run()

Directories

Path Synopsis
cmd
remotebackup command

Jump to

Keyboard shortcuts

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