Skip to content

Commit

Permalink
Remove unused yes parameter in xe-backup-metadata
Browse files Browse the repository at this point in the history
This parameter was added in 7f1d315, but the
changes to always use the new metadata VDIs with known UUIDs means it is no
longer required, so remove it.

Signed-off-by: Alex Brett <[email protected]>
  • Loading branch information
alexbrett authored and lindig committed Jul 19, 2024
1 parent 0a11d0b commit 2189996
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions scripts/xe-backup-metadata
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ function usage {
echo " -k: Number of older backups to preserve (default: ${history_kept})"
echo " -n: Just try to find a backup VDI and stop the script after that"
echo " -f Force backup even when less than 10% free capacity is left on the backup VDI"
echo " -y: Assume non-interactive mode and yes to all questions"
echo " -v: Verbose output"
echo
echo
Expand Down Expand Up @@ -70,7 +69,6 @@ just_find_vdi=0
fs_uninitialised=0
usage_alert=90
force_backup=0
yes=0
while getopts "yhvink:u:dcf" opt ; do
case $opt in
h) usage ;;
Expand All @@ -81,7 +79,6 @@ while getopts "yhvink:u:dcf" opt ; do
d) leave_mounted=1 ;;
n) just_find_vdi=1 ;;
v) debug="" ;;
y) yes=1 ;;
f) force_backup=1 ;;
*) echo "Invalid option"; usage ;;
esac
Expand Down

0 comments on commit 2189996

Please sign in to comment.