diff --git a/salt/dom0/README.md b/salt/dom0/README.md index 1c05799..ce3e63f 100644 --- a/salt/dom0/README.md +++ b/salt/dom0/README.md @@ -40,8 +40,9 @@ You may have noticed the desktop experience in Dom0 has enhanced. You are using KDE now. You can enforce domains to appear in certain activity with KWin rules, a tool `qubes-kde-win-rules` is provided to assist you. -Qubes backup has also improved, you may use `qvm-backup --profile qusal`, -the profile provided is an example. Use the tool `qvm-backup-find-last` to -find the last Qubes Backup made locally to a qube or a remote system, this -facilitates verifying the last backup made with `qvm-backup-restore ---verify-only`. An example is provided in /etc/qubes/backup/qusal.conf. +Qubes backup has also improved, you have a profile provided as an example on +how to do backups with native Qubes OS tools. Use the tool +`qvm-backup-find-last` to find the last Qubes Backup made locally to a qube or +a remote system, this facilitates verifying the last backup made with +`qvm-backup-restore --verify-only`. An example is provided in +`/etc/qubes/backup/qusal.conf.example`. diff --git a/salt/dom0/backup.sls b/salt/dom0/backup.sls index 521377e..012d79d 100644 --- a/salt/dom0/backup.sls +++ b/salt/dom0/backup.sls @@ -14,9 +14,9 @@ SPDX-License-Identifier: AGPL-3.0-or-later "{{ slsdotpath }}-backup-profile": file.managed: - - name: /etc/qubes/backup/qusal.conf - - source: salt://{{ slsdotpath }}/files/backup/qusal.conf - - mode: '0755' + - name: /etc/qubes/backup/qusal.conf.example + - source: salt://{{ slsdotpath }}/files/backup/qusal.conf.example + - mode: '0644' - user: root - - group: root - - replace: False + - group: qubes + - makedirs: True diff --git a/salt/dom0/files/backup/qusal.conf b/salt/dom0/files/backup/qusal.conf.example similarity index 100% rename from salt/dom0/files/backup/qusal.conf rename to salt/dom0/files/backup/qusal.conf.example