I neglected to say in my original post that I ran the script originally with this configuration:
- Code: Select all
# Change the folders mounted to other partitions below to
# indicate the data partitions and folders in your /home
# directory that you don't want backed up. You can exclude
# up to 5 folders/partitions from back-up. Always exclude
# the back-up folder if mounted in your /home. If you do
# not have data or back-up partitions mounted in your
# /home this doesn't apply to you. Put "no" in all 5
# Set the mounting partitions that correspond to any data
# folders in your /home above, that are being excluded.
# If you do not have data or back-up partitions mounted in
# your /home this doesn't apply to you. Put "no" in all 5
# If you wish to disable the clean-up portion of this script,
# change the "no" entry for skip to "yes".
# If you have a Windows install or another Linux install
# you want to back-up, enter the partition designator, sdxx,
# of your other install below. Enter "no" if you don't have
# another install or you don't wish to back it up.
# If you are backing up another install above and wish to
# back-up a recovery partition or a /home partition. Enter
# the partition designator below in the form "sdxx" or "no".
# Do you want to automatically back-up your another install
# every time the back-up script runs? Enter "yes" below for
# automatic or "no" to be given a choice each time, or if
# you aren't backing up another install.
# Do you want to automatically back-up your Windows Recovery
# partition or another /home partition every time the back-up
# script runs? Enter "yes" below for automatic or "no" to be
# given a choice each time, or if you aren't backing up
# Windows Recovery or another /home partition.
# NOTE!: Make sure your Linux system has read/write access
# to your Windows partition and your Windows Recovery
# partition through /media/sdxx for both partitions before
# running the script and attempting to back-up or restore
# Windows or Windows Recovery.
# Set the 3 days of the week you wish to run the backup.
# I use Monday, Thursday, and Saturday. You can set all
# 3 to the same day if you only want to run it once a week.
# If you want it to run anytime the script is called, put
# "anytime" in bak4 below. "stop" will prevent the back-up
# and clean-up portion of this script from running except
# on the 3 days a week specified above.
# The Restore portion of the routine will run whenever
# bakclean is run, regardless of the settings above.
# Create folders on your back-up partition to hold your
# back-up data and files. You can create a master folder
# to hold all of these folders if you want. Create folders
# on your back-up partition sdxx. Change them if you wish.
# Note! -- No spaces allowed in folder names. You must
# back-up and create folders for dataBF and configBF. Enter
# "none" for any folders you choose not to back-up. If you
# are not backing up Windows or Windows recovery, put "none"
# in those two entries also. I called mine:
winBF="none"; # winBF could be "WindowsXP";
winrBF="none"; # winrBF could be "WinRecovery";
# You only have to create folders for dataBF and configBF.
# All the others are optional. If you don't wish to back
# other folders up enter "none" for each.
# Do you have or want a master back-up folder on your back-up
# partition that contains all the back-up folders above?
# If so, what is it's name? Enter "no" or "folder_name".
# Would you like the script to make these back-up storage
# folders for you? Enter "yes" or "no" below.
# Put your back-up partition designator in below.
At this point I really can't remember how far it got when I ran it, but the 2 backup folders I had created were empty.
So I decided to revert everything to the default settings except the changes I noted in the first code I posted. The first screen to come up is the 'Alert! Do You wish to continue with the Restore Utility? Do you wish to restore your files?'. When I select 'No', the terminal window closes.
When I corrected the creation of the two Windows folders which I had overlooked, then ran the script again I got the same results.