Package jmri.jmrit.operations.setup
Class AutoBackup
- java.lang.Object
-
- jmri.jmrit.operations.setup.BackupBase
-
- jmri.jmrit.operations.setup.AutoBackup
-
public class AutoBackup extends BackupBase
Specific Backup class for backing up and restoring Operations working files to the Automatic Backup Store. Derived from BackupBase.
-
-
Field Summary
-
Fields inherited from class jmri.jmrit.operations.setup.BackupBase
_backupRoot, _operationsRoot, testException
-
-
Constructor Summary
Constructors Constructor Description AutoBackup()
Creates an AutoBackup instance and initializes the root directory to the given name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
autoBackup()
Backs up Operations files to a generated directory under the automatic backup root directory.-
Methods inherited from class jmri.jmrit.operations.setup.BackupBase
backupFilesToDirectory, backupFilesToSetName, checkIfBackupSetExists, copyBackupSet, deleteOperationsFiles, getBackupRoot, getBackupSetDirs, getBackupSetFileNames, getBackupSetList, getBackupSets, getOperationsRoot, getSourceFileCount, loadDemoFiles, restoreFilesFromDirectory, restoreFilesFromSetName, suggestBackupSetName
-
-
-
-
Constructor Detail
-
AutoBackup
public AutoBackup()
Creates an AutoBackup instance and initializes the root directory to the given name.
-
-
Method Detail
-
autoBackup
public void autoBackup() throws java.io.IOException
Backs up Operations files to a generated directory under the automatic backup root directory.- Throws:
java.io.IOException
- Due to trouble accessing files
-
-