Example #1
0
        public void Export()
        {
            int batchSize       = BatchSize == 0 ? DefualtBatchSize : BatchSize;
            var storageExporter = new StorageExporter(DatabaseDataDir, OutputDumpPath, batchSize);

            storageExporter.ExportDatabase();
        }
Example #2
0
        public void Export()
        {
            if (TableName != null)
            {
                using (var esentExportOperation = new EsentExportOperation(DatabaseDataDir, HasCompression, Encryption))
                {
                    esentExportOperation.ExportTable(TableName, OutputDumpPath);
                }
            }
            else
            {
                int batchSize = BatchSize == 0 ? DefaultBatchSize : BatchSize;

                using (var storageExporter = new StorageExporter(DatabaseDataDir, OutputDumpPath, batchSize, DocumentsStartEtag, HasCompression, Encryption, JournalsPath, IsRavendbFs))
                {
                    if (IsRavendbFs)
                    {
                        storageExporter.ExportFilesystemAsAttachments();
                    }
                    else
                    {
                        storageExporter.ExportDatabase();
                    }
                }
            }
        }
Example #3
0
 public void Export()
 {
     if (TableName != null)
     {
         using (var esentExportOperation = new EsentExportOperation(DatabaseDataDir))
         {
             esentExportOperation.ExportTable(TableName, OutputDumpPath);
         }
     }
     else
     {
         int batchSize = BatchSize == 0 ? DefualtBatchSize : BatchSize;
         var storageExporter = new StorageExporter(DatabaseDataDir, OutputDumpPath, batchSize);
         storageExporter.ExportDatabase();
     }
 }
Example #4
0
 public void Export()
 {
     if (TableName != null)
     {
         using (var esentExportOperation = new EsentExportOperation(DatabaseDataDir, HasCompression, Encryption))
         {
             esentExportOperation.ExportTable(TableName, OutputDumpPath);
         }
     }
     else
     {
         int batchSize       = BatchSize == 0 ? DefaultBatchSize : BatchSize;
         var storageExporter = new StorageExporter(DatabaseDataDir, OutputDumpPath, batchSize, DocumentsStartEtag, HasCompression, Encryption);
         storageExporter.ExportDatabase();
     }
 }
 public void Export()
 {
     if (TableName != null)
     {
         using (var esentExportOperation = new EsentExportOperation(DatabaseDataDir))
         {
             esentExportOperation.ExportTable(TableName, OutputDumpPath);
         }
     }
     else
     {
         int batchSize       = BatchSize == 0 ? DefualtBatchSize : BatchSize;
         var storageExporter = new StorageExporter(DatabaseDataDir, OutputDumpPath, batchSize);
         storageExporter.ExportDatabase();
     }
 }
 public void Export()
 {
     if (TableName != null)
     {
         using (var esentExportOperation = new EsentExportOperation(DatabaseDataDir, HasCompression, Encryption))
         {
             esentExportOperation.ExportTable(TableName, OutputDumpPath);
         }
     }
     else
     {
         int batchSize = BatchSize == 0 ? DefaultBatchSize : BatchSize;
         var storageExporter = new StorageExporter(DatabaseDataDir, OutputDumpPath, batchSize, DocumentsStartEtag, HasCompression, Encryption);
         storageExporter.ExportDatabase();
     }
 }