Started to create automatic backup task refs #5608

This commit is contained in:
Luca Frosini 2016-11-02 12:32:37 +01:00
parent 4a16ab9bfe
commit 7fd6ec13b7
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,11 @@
{
"enabled": true,
"mode": "EXPORT",
"exportOptions": "",
"delay": "24h",
"firstTime": "23:00:00",
"targetDirectory": "backup",
"targetFileName": "${DBNAME}-${DATE:yyyyMMddHHmmss}.zip",
"compressionLevel": 9,
"bufferSize": 1048576
}

View File

@ -27,7 +27,7 @@
</handler> </handler>
<handler class="com.orientechnologies.orient.server.handler.OAutomaticBackup"> <handler class="com.orientechnologies.orient.server.handler.OAutomaticBackup">
<parameters> <parameters>
<parameter value="false" name="enabled"/> <parameter value="true" name="enabled"/>
<parameter value="${ORIENTDB_HOME}/config/automatic-backup.json" name="config"/> <parameter value="${ORIENTDB_HOME}/config/automatic-backup.json" name="config"/>
</parameters> </parameters>
</handler> </handler>