java.lang.Object
com.aoindustries.aoserv.backup.BackupDaemon
The
FailoverFileReplicationDaemon runs on every server that is backed-up.- Author:
- AO Industries, Inc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidRuns the standaloneBackupDaemonwith the values provided incom/aoindustries/aoserv/backup/aoserv-backup.properties.voidrunNow(FileReplication ffr) Runs the backup now if not already running.static voidShows command line usage.voidstart()Starts the backup daemon (as one thread per FileReplication.voidstop()Stops the backup daemon and any currently running backups.
-
Constructor Details
-
BackupDaemon
Creates a newBackupDaemon.
-
-
Method Details
-
start
Starts the backup daemon (as one thread per FileReplication.- Throws:
IOExceptionSQLException
-
stop
Stops the backup daemon and any currently running backups.- Throws:
IOExceptionSQLException
-
runNow
Runs the backup now if not already running.- See Also:
-
main
Runs the standaloneBackupDaemonwith the values provided incom/aoindustries/aoserv/backup/aoserv-backup.properties. This will typically be called by the init scripts of the dedicated machine. -
showUsage
Shows command line usage.- Throws:
IOException
-
