/** * Backup Env object. It will be used for backup file I/O. If it's * null, backups will be written out using DBs Env. Otherwise * backup's I/O will be performed using this object. * * If you want to have backups on HDFS, use HDFS Env here! * * Default: null * * @param env The environment to use * @return instance of current BackupableDBOptions. */ public BackupableDBOptions setBackupEnv(final Env env) { assert(isOwningHandle()); setBackupEnv(nativeHandle_, env.nativeHandle_); this.backupEnv = env; return this; }