diff --git a/orientdb/templates/automatic-backup.json.j2 b/orientdb/templates/automatic-backup.json.j2 new file mode 100644 index 0000000..e574612 --- /dev/null +++ b/orientdb/templates/automatic-backup.json.j2 @@ -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 +} \ No newline at end of file diff --git a/orientdb/templates/orientdb-server-config.xml.j2 b/orientdb/templates/orientdb-server-config.xml.j2 index 9493c87..86b2808 100644 --- a/orientdb/templates/orientdb-server-config.xml.j2 +++ b/orientdb/templates/orientdb-server-config.xml.j2 @@ -27,7 +27,7 @@ - +