Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBackupArchive ¶
func CreateBackupArchive(password string, gate *offlinegate.OfflineGate, datastore dataservices.DataStore, filestorePath string) (string, error)
Creates a tar.gz system archive and encrypts it if password is not empty. Returns a path to the archive file.
func RestoreArchive ¶
func RestoreArchive(archive io.Reader, password string, filestorePath string, gate *offlinegate.OfflineGate, datastore dataservices.DataStore, shutdownTrigger context.CancelFunc) error
Restores system state from backup archive, will trigger system shutdown, when finished.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.