Skip to content

Commit

Permalink
Merge pull request #32 from bastelfreak/bug
Browse files Browse the repository at this point in the history
vgcfgbackup: add support for multiple VGs
  • Loading branch information
bastelfreak authored Jul 11, 2019
2 parents bc5c75f + 73e8382 commit 162a4f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/borg-backup.sh.epp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ pre_backup() {
mdadm --detail --scan > "$backupDataDir/mdadm"
fi
if [ $(command -v vgcfgbackup) ]; then
vgcfgbackup --file "$backupDataDir/vgcfgbackup"
vgcfgbackup --file "$backupDataDir/vgcfgbackup_%s"
fi

# If you wish to use snapshots, create them here
Expand Down

0 comments on commit 162a4f0

Please sign in to comment.