class

ActiveBackup::LocalStore

Inherits ActiveBackup::Store < Reference < Object

Constants

SUFFIX = ".tar.gz"

Constructors

new(dir : String)
Source

Instance methods

delete(name : String) : Nil
Source
exists?(name : String) : Bool
Source
fetch_path(name : String) : String

Materializes the archive as a local file and returns its path (LocalStore: the archive itself; remote stores: a temp download).

Source
list

All stored backups, oldest first.

Source
save(name : String, path : String) : Entry

Saves the archive file at path under name (the store may move or copy it) and returns the resulting entry.

Source