java.lang.Object
com.aoindustries.aoserv.backup.FileEnvironment
com.aoindustries.aoserv.backup.PosixFileEnvironment
com.aoindustries.aoserv.backup.LinuxEnvironment
- All Implemented Interfaces:
BackupEnvironment
A
LinuxEnvironment extends PosixFileEnvironment to
have some default exclusions, such as /proc/.- Author:
- AO Industries, Inc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Map<String, FilesystemIteratorRule> Gets the default set of filesystem prefix rules for this environment.protected Map<String, FilesystemIteratorRule> Gets the default set of filesystem rules for this environment.Methods inherited from class com.aoindustries.aoserv.backup.PosixFileEnvironment
cleanup, getDeviceIdentifier, getGid, getLength, getModifyTime, getPosixFile, getStat, getStatMode, getUid, readLinkMethods inherited from class com.aoindustries.aoserv.backup.FileEnvironment
getDefaultSourceIpAddress, getDirectoryList, getFailoverBatchSize, getFastRandom, getFile, getFilenameIterator, getInputStream, getNameOfFile, getReplicatedMysqlMinorVersions, getReplicatedMysqlServers, getRequiredFilenames, getServerPath, init, postBackup, preBackupMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.aoindustries.aoserv.backup.BackupEnvironment
getConnector, getLogger, getThisHost
-
Constructor Details
-
LinuxEnvironment
public LinuxEnvironment()
-
-
Method Details
-
getFilesystemIteratorRules
protected Map<String,FilesystemIteratorRule> getFilesystemIteratorRules(FileReplication ffr) throws IOException, SQLException Description copied from class:FileEnvironmentGets the default set of filesystem rules for this environment. This should not include file backup settings, they will override the values returned here. The returned map may be modified, to maintain internal consistency, return a copy of the map if needed.- Specified by:
getFilesystemIteratorRulesin classFileEnvironment- Throws:
IOExceptionSQLException
-
getFilesystemIteratorPrefixRules
protected Map<String,FilesystemIteratorRule> getFilesystemIteratorPrefixRules(FileReplication ffr) throws IOException, SQLException Description copied from class:FileEnvironmentGets the default set of filesystem prefix rules for this environment.- Specified by:
getFilesystemIteratorPrefixRulesin classFileEnvironment- Throws:
IOExceptionSQLException
-
