Try programmatically
Path backupFile = Paths.get("testbackup.zip");
OutputStream oS = new FileOutputStream(backupFile.toFile());
OrientGraphFactory factory = new OrientGraphFactory(
"plocal:backupTest", "admin", "admin");
graphNoTx = factory.getNoTx();
graphNoTx.getRawGraph().backup(oS, null, null, null, 1, 1024);
ZipFile zipFile = new ZipFile(backupFile.toFile());
Enumeration enumeration = zipFile.entries();
System.out.format("ZipFile : %s%n", zipFile);
while (enumeration.hasMoreElements()) {
Object entry = enumeration.nextElement();
System.out.format(" Entry : %s%n", entry);
}
If the entries in the zip will have a right truncated absolute path. It
should be rooted at the db directory.
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.