SyncBackend

Error handling is via exceptions.

Members

Functions

flow
Flow flow()

The flow of data that the backend handles.

publishSnapshot
void publishSnapshot(string newSnapshot)

Publish the snapshot in dst.

remoteCmd
void remoteCmd(RemoteHost host, RemoteSubCmd cmd, string path)

Execute a command on the host that is the destination of the snapshots.

removeDiscarded
void removeDiscarded(Layout layout)

Remove discarded snapshots.

restore
void restore(Layout layout, SnapshotConfig snapshot, SysTime time, string restoreTo)

Restore dst to src.

sync
void sync(Layout layout, SnapshotConfig snapshot, string nameOfNewSnapshot)

Sync from src to dst.

update
Layout update(Layout layout)

Update layout of the snapshots at the destination.

Meta