Wiki

Clone wiki

bitsy / BackupAndRestore

Backup and Restore

For an offline backup, you can copy the contents of the database folder to a backup location using a simple file copy operation. To restore the database, you simply have to restore the database folder from the backup, after removing the original contents.

Bitsy also supports online backups using the backup() method in BitsyGraph. This method expects a path to an empty folder to which the vertex and edge logs can be written. You can put this on a schedule using a simple Timer or your favorite scheduler library (cron4j, Quartz, etc.).

You can perform online backups manually using the backup() method that is exposed over JMX

Updated