org.wildfly.extras.creaper.commands.foundation.online
Class SnapshotBackup
java.lang.Object
org.wildfly.extras.creaper.commands.foundation.online.SnapshotBackup
public final class SnapshotBackup
- extends Object
Provides a pair of online commands to backup and then restore application
server configuration while the server is running. Backup consists of taking a
snapshot, restore then means reloading the server from the snapshot.
The backup command must be applied before restore,
backup can be applied once, and then restore can be applied
many times. If any one of these rules is violated, an exception is thrown.
For special circumstances, when the backup that was already acquired is no
longer needed and is not going to be restored, a destroy command is
provided. If there was no backup acquired, the destroy command does nothing.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SnapshotBackup
public SnapshotBackup()
backup
public OnlineCommand backup()
restore
public OnlineCommand restore()
destroy
public OnlineCommand destroy()
Copyright © 2020. All rights reserved.