From 7fd6ec13b71818174796347298275a486b843592 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Wed, 2 Nov 2016 12:32:37 +0100 Subject: [PATCH] Started to create automatic backup task refs #5608 --- orientdb/templates/automatic-backup.json.j2 | 11 +++++++++++ orientdb/templates/orientdb-server-config.xml.j2 | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 orientdb/templates/automatic-backup.json.j2 diff --git a/orientdb/templates/automatic-backup.json.j2 b/orientdb/templates/automatic-backup.json.j2 new file mode 100644 index 00000000..e5746123 --- /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 9493c871..86b28080 100644 --- a/orientdb/templates/orientdb-server-config.xml.j2 +++ b/orientdb/templates/orientdb-server-config.xml.j2 @@ -27,7 +27,7 @@ - +