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, readLink
Methods inherited from class com.aoindustries.aoserv.backup.FileEnvironment
getDefaultSourceIpAddress, getDirectoryList, getFailoverBatchSize, getFastRandom, getFile, getFilenameIterator, getInputStream, getNameOfFile, getReplicatedMysqlMinorVersions, getReplicatedMysqlServers, getRequiredFilenames, getServerPath, init, postBackup, preBackup
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:FileEnvironment
Gets 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:
getFilesystemIteratorRules
in classFileEnvironment
- Throws:
IOException
SQLException
-
getFilesystemIteratorPrefixRules
protected Map<String,FilesystemIteratorRule> getFilesystemIteratorPrefixRules(FileReplication ffr) throws IOException, SQLException Description copied from class:FileEnvironment
Gets the default set of filesystem prefix rules for this environment.- Specified by:
getFilesystemIteratorPrefixRules
in classFileEnvironment
- Throws:
IOException
SQLException
-