VirtualBox

Changeset 64558 in vbox for trunk


Ignore:
Timestamp:
Nov 4, 2016 10:56:08 AM (8 years ago)
Author:
vboxsync
Message:

keep one old backup during 'backup-again'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/docs/testbox-maintenance.sh

    r64523 r64558  
    277277            MY_SRC="/dev/${MY_DEV}"
    278278            MY_DST="${MY_BACKUP_DIR}/${MY_DEV}.gz"
     279            if test -f "${MY_SRC}"; then
     280                mv -f "${MY_SRC}" "${MY_SRC}.old";
     281            fi
    279282            if test -b "${MY_SRC}"; then
    280283                InfoMsg "Backing up ${MY_SRC} to ${MY_DST}...";
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette