瀏覽代碼

Add ability to configure backup path for minion

Prod-Related: PROD-20181
Change-Id: I86fb92022521f42a70b6ffd112f0c5eff3fd607b
pull/73/head
Oleksii Chupryn 6 年之前
父節點
當前提交
874225f0b7
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      salt/files/restore_minion.sh

+ 2
- 2
salt/files/restore_minion.sh 查看文件

@@ -6,6 +6,6 @@
mkdir -p /etc/pki/pki_ca.bak
mkdir -p /etc/pki/ca
mv /etc/pki/ca/* /etc/pki/pki_ca.bak
scp -r backupninja@{{ minion.initial_data.source }}:/srv/backupninja/{{ minion.initial_data.host }}/etc/pki/ca/ca.0/* /etc/pki/ca
scp -r backupninja@{{ minion.initial_data.source }}:{{ minion.initial_data.get('home_dir', '/srv/backupninja') }}/{{ minion.initial_data.host }}/etc/pki/ca/ca.0/* /etc/pki/ca
{%- endif %}
{%- endif %}
{%- endif %}

Loading…
取消
儲存