diff --git a/orientdb/defaults/main.yml b/orientdb/defaults/main.yml index 43dff34e..d163e13f 100644 --- a/orientdb/defaults/main.yml +++ b/orientdb/defaults/main.yml @@ -60,7 +60,7 @@ orientdb_automatic_backup_mode: 'EXPORT' orientdb_automatic_backup_export_options: '' orientdb_automatic_backup_delay: 24h orientdb_automatic_backup_first_time: '23:00:00' -orientdb_automatic_backup_directory: '{{ orientdb_home_prefix }}/{{ orientdb_user }}/b' +orientdb_automatic_backup_directory: '{{ orientdb_home_prefix }}/{{ orientdb_user }}/backups' orientdb_automatic_backup_target_file_name: '${DBNAME}-${DATE:yyyyMMddHHmmss}.zip' orientdb_automatic_backup_compression_level: 9 orientdb_automatic_backup_buffer_size: 1048576 \ No newline at end of file diff --git a/orientdb/tasks/main.yml b/orientdb/tasks/main.yml index 7a6f0ad4..8a572312 100644 --- a/orientdb/tasks/main.yml +++ b/orientdb/tasks/main.yml @@ -31,6 +31,7 @@ with_items: - '{{ orientdb_data_dir }}' - '{{ orientdb_pid_dir }}' + - '{{ orientdb_automatic_backup_directory }} - name: Remove the old hook jars shell: rm {{ orientdb_install_dir }}/lib/{{ item }}