AfterSessionBase

class AfterSessionBase[source]

Bases: object

Base class for operations performed after a session ends.

This class handles data synchronization (backup) to either a hard drive or a remote server based on current settings.

__init__() None[source]

Initializes the AfterSessionBase instance with settings.

Methods

__init__()

Initializes the AfterSessionBase instance with settings.

run()

Executes the post-session logic, primarily data synchronization.

run() None[source]

Executes the post-session logic, primarily data synchronization.

Checks the SYNC_TYPE setting and initiates either a local or remote rsync.