java.lang.Object
com.aoindustries.aoserv.backup.BackupDaemon
The
FailoverFileReplicationDaemon
runs on every server that is backed-up.- Author:
- AO Industries, Inc.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Runs the standaloneBackupDaemon
with the values provided incom/aoindustries/aoserv/backup/aoserv-backup.properties
.void
runNow
(FileReplication ffr) Runs the backup now if not already running.static void
Shows command line usage.void
start()
Starts the backup daemon (as one thread per FileReplication.void
stop()
Stops the backup daemon and any currently running backups.
-
Constructor Details
-
BackupDaemon
-
-
Method Details
-
start
Starts the backup daemon (as one thread per FileReplication.- Throws:
IOException
SQLException
-
stop
Stops the backup daemon and any currently running backups.- Throws:
IOException
SQLException
-
runNow
Runs the backup now if not already running.- See Also:
-
main
Runs the standaloneBackupDaemon
with 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
-