Fixed backups diretory creation

This commit is contained in:
Luca Frosini 2016-11-02 13:08:55 +01:00
parent 8ac2ef8511
commit 997efd8676
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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 }}