1 package org
.argeo
.slc
.backup
.vfs
;
3 import org
.apache
.commons
.vfs2
.FileSystemManager
;
4 import org
.apache
.commons
.vfs2
.FileSystemOptions
;
6 /** Performs the backup of a single component, typically a database dump */
7 public interface AtomicBackup
{
8 /** Name identifiying this backup */
9 public String
getName();
12 * Retrieves the data of the component in a format that allows to restore
15 * @param backupContext
16 * the context of this backup
17 * @return the VFS URI of the generated file or directory
19 public String
backup(FileSystemManager fileSystemManager
,
20 String backupsBase
, BackupContext backupContext
,
21 FileSystemOptions opts
);