Lock down Backups folder permissions

This commit is contained in:
Mike Reeves
2021-02-05 22:31:08 -05:00
parent 8f97973fac
commit bf79c92456

View File

@@ -33,6 +33,8 @@ if [ ! -f $BACKUPFILE ]; then
{%- for LOCATION in BACKUPLOCATIONS %} {%- for LOCATION in BACKUPLOCATIONS %}
tar -rf $BACKUPFILE {{ LOCATION }} tar -rf $BACKUPFILE {{ LOCATION }}
{%- endfor %} {%- endfor %}
tar -rf $BACKUPFILE /etc/pki
tar -rf /etc/salt
fi fi