RsyncBackend

Undocumented in source.

Constructors

this
this(RsyncConfig conf, RemoteCmd remoteCmd, const(int)[] ignoreRsyncErrorCodes)
Undocumented in source.

Members

Functions

flow
Flow flow()
Undocumented in source. Be warned that the author may not have intended to support it.
publishSnapshot
void publishSnapshot(string newSnapshot)
Undocumented in source. Be warned that the author may not have intended to support it.
remoteCmd
void remoteCmd(RemoteHost host, RemoteSubCmd cmd_, string path)
Undocumented in source. Be warned that the author may not have intended to support it.
removeDiscarded
void removeDiscarded(Layout layout)
Undocumented in source. Be warned that the author may not have intended to support it.
restore
void restore(Layout layout, SnapshotConfig snapshot, SysTime time, string restoreTo)
Undocumented in source. Be warned that the author may not have intended to support it.
sync
void sync(Layout layout, SnapshotConfig snapshot, string nameOfNewSnapshot)
Undocumented in source. Be warned that the author may not have intended to support it.
update
Layout update(Layout layout)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

conf
RsyncConfig conf;
Undocumented in source.
ignoreRsyncErrorCodes
const(int)[] ignoreRsyncErrorCodes;

Error codes ignored when Synchronizing.

remoteCmd_
RemoteCmd remoteCmd_;
Undocumented in source.

Inherited Members

From SyncBackend

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

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

update
Layout update(Layout layout)

Update layout of the snapshots at the destination.

publishSnapshot
void publishSnapshot(string newSnapshot)

Publish the snapshot in dst.

removeDiscarded
void removeDiscarded(Layout layout)

Remove discarded snapshots.

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

Sync from src to dst.

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

Restore dst to src.

flow
Flow flow()

The flow of data that the backend handles.

Meta