1 21 22 package org.continuent.sequoia.controller.backup; 23 24 import java.io.IOException ; 25 import java.util.ArrayList ; 26 import java.util.Date ; 27 28 import org.continuent.sequoia.common.exceptions.BackupException; 29 import org.continuent.sequoia.controller.backend.DatabaseBackend; 30 31 40 public interface Backuper 41 { 42 43 47 54 String getDumpFormat(); 55 56 62 String getOptions(); 63 64 70 void setOptions(String options); 71 72 76 91 Date backup(DatabaseBackend backend, String login, String password, 92 String dumpName, String path, ArrayList tables) throws BackupException; 93 94 107 void restore(DatabaseBackend backend, String login, String password, 108 String dumpName, String path, ArrayList tables) throws BackupException; 109 110 114 121 void deleteDump(String path, String dumpName) throws BackupException; 122 123 127 139 void fetchDump(DumpTransferInfo dumpTransferInfo, String path, String dumpName) 140 throws BackupException, IOException ; 141 142 150 DumpTransferInfo setupDumpServer() throws IOException ; 151 152 } 153 | Popular Tags |