Unable to Backup - prompted to find file called "Shrink Wrap"

Itunes cannot start its backup process because it cannot find this "Shrink Wrap" file that it is asking me to play before I continue. It isn't a song in my library, and I have no idea what this means. The error message really isn't any more descriptive than that. Please help if you've experienced this before!
Thanks.
sundevil671

Thanks for the quick reply. I had read something like that as well. So it would be correct to assume that iTunes has some kind of built-in compression mechanism that allows it to put my backup my library on ONLY 17 discs! Must be stuffing it down pretty small :<0 ... but I can't seem to figure out how this feature broke or what kind of steps I could take to troubleshoot. Might have to call Apple on this one.

Similar Messages

  • Unable to backup 8 GB .mov file

    I have an 8.16 GB .mov file that I can easily view in Quicktime on my computer and is on one of my hard drives. My computer has begun dying on me frequently and I'm trying to get my important files backed up (this one is important to me) to an external hard drive. This file will not copy to my external Lacie drive, or my other hard drive. I get an error that reads: "The finder cannot complete the operation because some data could not be read or written. (Error code -36)" This usually happens after it is a ways through the copying process.
    As far as I know the largest writable DVDs are 7GBs?
    Does anyone know a good way/program to compress this file in order to burn it to a DVD, or a program that can repair the file or convert it to another format?
    I put it on my hard drive 5 years ago so remembering the details is a little sketchy, it's a home video I believe I put there by attaching a VCR to a camcorder to my computer.
    Thanks for your time,
    M

    Open the file, say it is an hour for arguments sake, not sure how long it is for 8GB but we'll say that. Go to the beginning press I (in) to set the in point. Then move the cursor to 15:00 minutes. Press O (out) to set the out point.
    Then do CMD+C (copy) CMD+N (new player window) CMD+V (paste) and that 15 minute chunk is in a new player. Save as , say Movie 1 of 4.mov
    Move to 15:00, set in and at 30:00 set out. Copy and paste that into a new player and save as Movie 2 of 4 . Repeat for 30 - 45 and 45 - 60.
    You now have the same movie not recompressed in 4 files each 2 GB in size. Save them on DVD's or the like.
    Reassembly is the reverse. Open 1 of 4. Set cursor to the end of the clip , e.g at 15:00. Open 2 of 4. CMD+A (select all) CMD+C (copy) then click on the 1st player window (the one at the end of 15:00) and CMD+V paste.
    You now have a 30 minute movie. Repeat pasting 3 and 4 of 4 to the end of the first one (well 3 gets pasted to the end of what was 2 and is now the 30 minute mark and 4 gets pasted to the end of that activity which will now be 45 minutes long).
    Save as Movie "all of all" or whatever name you like. It's back in one piece. QT will cut to the frame precisely. You can set the time indicator to a frame indicator by CTRL/Right + click on it. More accurate that way. To make your 4 chunks.
    Kirk was saying you probably have a drive originally in FAT32 that works on Windows/mac but has a 4GB maximum file limit. If you can back it all up onto some other drive for a while and repartition in HFS+ for OSX you won't have the problem with large files. But no, don't repartition/format while it has the only copy of the data on it.

  • Backint failed "ERROR: unable to find file "

    Hello
    I try to backup Oracle database 10.2 with netbackup tools on Redhat 2.6.18-53
    I got errror:
    BR0231E Backup utility call failed
    ERROR: unable to find file /oracle/BWP/sapdata4
    Can u help me
    Regards
    Fethi

    This is the backup logfile:
    BR0477I Oracle pfile /oracle/BWP/102_64/dbs/initBWP.ora created from spfile /oracle/BWP/102_64/dbs/spfileBWP.ora
    BR0101I Parameters
    Name                           Value
    oracle_sid                     BWP
    oracle_home                    /oracle/BWP/102_64
    oracle_profile                 /oracle/BWP/102_64/dbs/initBWP.ora
    sapdata_home                   /oracle/BWP
    sap_profile                    /oracle/BWP/102_64/dbs/initBWP_sapdata_offline.sap
    backup_mode                    ALL
    backup_type                    offline
    backup_dev_type                util_file
    util_par_file                  /oracle/BWP/102_64/dbs/initBWP_sapdata_offline.utl
    system_info                    orabwp/orabwp hpbwpdb2 Linux 2.6.18-53.1.19.el5 #1 SMP Tue Apr 22 03:01:10 EDT 2008 x86_64
    oracle_info                    BWP 10.2.0.2.0 8192 30 88160883 hpbwpdb2 WE8DEC UTF8
    sap_info                       700 SAPSR3 BWP S1329078236 R3_ORA 0020159289
    make_info                      linuxx86_64 OCI_102 Feb  8 2008
    command_line                   brbackup -c force -p initBWP_sapdata_offline.sap
    BR0116I ARCHIVE LOG LIST before backup for database instance BWP
    Parameter                      Value
    Database log mode              No Archive Mode
    Automatic archival             Disabled
    Archive destination            /oracle/BWP/oraarch/BWParch
    Archive format                 %t_%s_%r.dbf
    Oldest online log sequence     27
    Next log sequence to archive   30
    Current log sequence           30               SCN: 88160883
    Database block size            8192             Thread: 1
    Current system change number   88168768         ResetId: 655409152
    BR0118I Tablespaces and data files
    Tablespace     TS-Status  F-Status  File                                                       Size   Id.     Device  Link    Type       MaxSize     IncrSize  BlkSize
    PSAPBWP        ONLINE*    ONLINE+   /oracle/BWP/sapdata4/BWM.data1                      17498636288    4       64785  NOLINK  FILE   34359721984    104857600     8192
    PSAPBWP        ONLINE*    ONLINE+   /oracle/BWP/sapdata4/BWM.data2                      16450060288    5       64785  NOLINK  FILE   34359721984    104857600     8192
    PSAPBWP        ONLINE*    ONLINE+   /oracle/BWP/sapdata4/BWM.data3                      15820914688    6       64785  NOLINK  FILE   34359721984    104857600     8192
    PSAPBWP700     ONLINE*    ONLINE+   /oracle/BWP/sapdata2/BWM700.data1                   15128862720   11       64784  NOLINK  FILE   34359721984    104857600     8192
    PSAPBWP700     ONLINE*    ONLINE+   /oracle/BWP/sapdata4/BWM700.data2                    4132511744   12       64785  NOLINK  FILE   34359721984         8192     8192
    PSAPBWPDIM     ONLINE*    ONLINE+   /oracle/BWP/sapdata1/BWMdim.data1                    4202700800    7       64770  NOLINK  FILE   10485760000     20971520     8192
    PSAPBWPFACT    ONLINE*    ONLINE+   /oracle/BWP/sapdata1/BWMfact.data1                   6719283200    8       64770  NOLINK  FILE   34359721984     20971520     8192
    PSAPBWPODS     ONLINE*    ONLINE+   /oracle/BWP/sapdata2/BWMods.data1                   19868426240    9       64784  NOLINK  FILE   34359721984     20971520     8192
    PSAPBWPUSR     ONLINE*    ONLINE+   /oracle/BWP/sapdata1/BWMusr.data1                     239083520   10       64770  NOLINK  FILE   10485760000     20971520     8192
    PSAPSR3USR     ONLINE+    ONLINE+   /oracle/BWP/sapdata4/sr3usr_1/sr3usr.data1            134225920   20       64785  NOLINK  FILE   10485760000     20971520     8192
    PSAPTEMP       ONLINE#    ONLINE+   /oracle/BWP/sapdata1/temp_1/temp.data1              10485768192   -1       64770  NOLINK  FILE   34358689792     20971520     8192
    PSAPUNDO       ONLINE-    ONLINE+   /oracle/BWP/sapdata1/undo_1/undo.data1               1073750016    2       64770  NOLINK  FILE   34359721984     20971520     8192
    SYSAUX         ONLINE*    ONLINE+   /oracle/BWP/sapdata1/sysaux_1/sysaux.data1            671096832    3       64770  NOLINK  FILE   10485760000     20971520     8192
    SYSTEM         ONLINE*    SYSTEM+   /oracle/BWP/sapdata1/system_1/system.data1            838868992    1       64770  NOLINK  FILE   10485760000     20971520     8192
    BR0119I Redo log files
    File                                                Size  Group     Device  Status    Link    Type
    /oracle/BWP/origlogA/log_g11m1.dbf              52429312    1        64774  INUSE     NOLINK  FILE
    /oracle/BWP/mirrlogA/log_g11m2.dbf              52429312    1        64776  INUSE     NOLINK  FILE
    /oracle/BWP/origlogB/log_g12m1.dbf              52429312    2        64775  INUSE     NOLINK  FILE
    /oracle/BWP/mirrlogB/log_g12m2.dbf              52429312    2        64777  INUSE     NOLINK  FILE
    /oracle/BWP/origlogA/log_g13m1.dbf              52429312    3        64774  INUSE     NOLINK  FILE
    /oracle/BWP/mirrlogA/log_g13m2.dbf              52429312    3        64776  INUSE     NOLINK  FILE
    /oracle/BWP/origlogB/log_g14m1.dbf              52429312    4        64775  INUSE     NOLINK  FILE
    /oracle/BWP/mirrlogB/log_g14m2.dbf              52429312    4        64777  INUSE     NOLINK  FILE
    BR0120I Control files
    File                                                Size   Id.      Device  Link    Type
    /oracle/BWP/origlogA/cntrl/cntlrBWP.dbf         34979840    0        64774  NOLINK  FILE
    /oracle/BWP/origlogB/cntrl/cntrlBWP.dbf         34979840    0        64775  NOLINK  FILE
    /oracle/BWP/sapdata1/cntrl/cntrlBWP.dbf         34979840    0        64770  NOLINK  FILE
    BR0616I Tablespaces in table TSORA for SAP owner SAPSR3:
    PSAPBWP, PSAPBWP700, PSAPBWPDIM, PSAPBWPFACT, PSAPBWPODS,
    PSAPBWPUSR
    BR0280I BRBACKUP time stamp: 2008-05-23 15.59.26
    BR0057I Backup of database: BWP
    BR0058I BRBACKUP action ID: bdxzgdlt
    BR0059I BRBACKUP function ID: aff
    BR0110I Backup mode: ALL
    BR0077I Database files for backup:
    /oracle/BWP/origlogA/log_g11m1.dbf
    /oracle/BWP/origlogB/log_g12m1.dbf
    /oracle/BWP/origlogA/log_g13m1.dbf
    /oracle/BWP/origlogB/log_g14m1.dbf
    /oracle/BWP/origlogA/cntrl/cntlrBWP.dbf
    BR0061I 19 files found for backup, total size 108250.510 MB
    BR0143I Backup type: offline
    BR0130I Backup device type: util_file
    BR0109I Files will be saved by backup utility
    BR0134I Unattended mode with 'force' active - no operator confirmation allowed
    BR0280I BRBACKUP time stamp: 2008-05-23 15.59.26
    BR0307I Shutting down database instance BWP ...
    BR0280I BRBACKUP time stamp: 2008-05-23 15.59.33
    BR0308I Shutdown of database instance BWP successful
    BR0280I BRBACKUP time stamp: 2008-05-23 15.59.33
    BR0229I Calling backup utility with function 'backup'...
    BR0278I Command output of '/usr/sap/BWP/SYS/exe/run/backint -u BWP -f backup -i /oracle/BWP/sapbackup/.bdxzgdlt.lst -t file -p /oracle/BWP/102_64/dbs/initBWP_sapdata_offline.utl -c':
    WARNING: unknown parameter: print_log_flag 1
    WARNING: sort_backup_type not specified in .utl file
    WARNING: default sort_backup_type to <size> for restore
    Program:                /usr/sap/BWP/SYS/exe/run/backint 5.1
    Input File:             /oracle/BWP/sapbackup/.bdxzgdlt.lst
    Profile:                /oracle/BWP/102_64/dbs/initBWP_sapdata_offline.utl
    Function:               BACKUP
    Backup Type:            BACKUP_FILE
    ERROR: unable to find file /oracle/BWP/sapdata4/BWM.data1
    ERROR: unable to find file /oracle/BWP/sapdata4/BWM.data2
    ERROR: unable to find file /oracle/BWP/sapdata4/BWM.data3
    ERROR: unable to find file /oracle/BWP/sapdata2/BWM700.data1
    ERROR: unable to find file /oracle/BWP/sapdata4/BWM700.data2
    ERROR: unable to find file /oracle/BWP/sapdata1/BWMdim.data1
    ERROR: unable to find file /oracle/BWP/sapdata1/BWMfact.data1
    ERROR: unable to find file /oracle/BWP/sapdata2/BWMods.data1
    ERROR: unable to find file /oracle/BWP/sapdata1/temp_1/temp.data1
    BR0280I BRBACKUP time stamp: 2008-05-23 15.59.33
    BR0279E Return code from '/usr/sap/BWP/SYS/exe/run/backint -u BWP -f backup -i /oracle/BWP/sapbackup/.bdxzgdlt.lst -t file -p /oracle/BWP/102_64/dbs/initBWP_sapdata_offline.utl -c': 2
    BR0232E 0 of 19 files saved by backup utility
    BR0280I BRBACKUP time stamp: 2008-05-23 15.59.33
    BR0231E Backup utility call failed
    BR0280I BRBACKUP time stamp: 2008-05-23 15.59.35
    BR0304I Starting and opening database instance BWP ...
    BR0280I BRBACKUP time stamp: 2008-05-23 15.59.42
    BR0305I Start and open of database instance BWP successful
    BR0056I End of database backup: bdxzgdlt.aff 2008-05-23 15.59.33
    Thank you
    Regards

  • ITunes backup is not finding all the song files

    I lost my external hard drive that held my iTunes folder. I had a backup on my drobo from 30 days ago so I copied this to a new external drive in a new "Music" folder.
    This iTunes backup had not yet been consolidated and organized into a "iTunes Media' folder yet - that was what I had just lost with all of my updates and cleanup (which worked well - then). I figured I would have to do it all again.
    When I opened up iTunes with the Option key and pointed it to the new Music/iTunes folder, it came up with all the movies, tv shows, podcasts, books, apps, songlists and songs listed but everyone of them had next to the file the "!" (Can not find file, do you want to locate?). I tried locating a dozen or so but iTunes would never relocate larger numbers on its own.
    I tried consoldiating and re-organizing these files but I am always left with thousands and thousands of unreferenced files - even though this was the same folder structure and iTune Library and Music Library.xmls that were working a month ago on the old drive.
    Any suggestions as to how to get this recent iTunes folder to "see" all the same files in this new location?
    Thanks for any help,
    Pheel
    OSX 10.6.8
    iTune 10.4

    try this script:
    iTunes Track CPR v1.3 
    This script attempts to locate the files of so-called "dead tracks"--iTunes tracks designated with (!)--that you assume are not actually missing but are still located in the iTunes Music folder in their "iTunes File Order" (Music -> Artist -> Album -> file.xxx)."

  • What is the name of the folders which are your backup of Itunes library? I am recovering from a virus, have no workable desktop in Win XP, but can search and find files and folders. I would like to move these backup files to a new computer

    what is the name of the folders which are the backup of Itunes library? I am recovering from a virus, have no workable desktop in Win XP, but can search and find files and folders. I would like to move these backup files to a new computer, authorize it and sync with Iphone 3Gs and Ipod 5th gen.
    I

    I second the whole iTunes folder approach.
    If for some reason you have split the media folder from the library files then the media folder needs to restored to the same path it used to have while the library files can be copied into the music folder of your new profile.
    If in dobut, backup up the entire Documents and Settings folder before wiping the infected drive, but be selective about what you restore as many viruses drop active components capable of reinfecting the compuer in the temp folders and internet caches. It is much easier to backup more than you need than to discover after the fact that you no longer have access to some vital project you'd been storing in a folder on the desktop.
    tt2

  • Unable to find file "ConfigureClusterNode" error

    Hi All
    I am trying to install UCM Cluster. According to Universal Content Management Cluster Configuration Guide for UNIX 10g Release 3 (10.1.3.3.1)
    I can do this running Installer with some parameters, but I have Unable to find file "ConfigureClusterNode" error.
    (http://download-west.oracle.com/docs/cd/E10316_01/cs/cs_doc_10/documentation/integrator/install_cserver_unix_10en.pdf)
    [wc@hostname linux]$ ./Installer -set-ClusterNodeIntradocDir=/home/wc/cluster/node1 -set-ClusterNodeName=node1 -set-ClusterNodeAddress=10.33.33.33 -set-ClusterBinDirRule=local ConfigureClusterNode ConfigureAdminClusterNode
    Unable to find file "ConfigureClusterNode".
    The file wait.dat wasn't removed.
    I need help to identify and solve the problem.

    Hi, and a warm welcome to the forums!
    Forgive me, I'm about to go for a psychic cure here and pull a rabbit out of the hat, or is it a needle from a haystack!?
    I'm thinking that if this remote volume was like SMB/MS-DOS/Fat32, that the "caseness" may be the problem... here's why... Uppercase may translate to be shown either Capitalized or lowercase on the other end, and although Fat32 is supposed to be/ and in fact IS Case Sensitive, many things along the way may almost rightfully expect Uppercase 8/3 format, and "Testing.df1" may show as "Testing.df1", but also "TESTING.DF1", and "testing.df1" might show as "Testing.df1", but behind the scenes it's back to reality.
    Might be the most nothingness I've ever pulled out of thin air!?

  • GRUB unable to find file, fails to install

    (FTP install via floppies, GRUB 0.96-1, installation via arch/setup utility)
    GRUB fails to install, giving the error message "Error: unable to find file" after checking for a file in /boot/grub (grub.menu IIRC), and quitting without further action. Menu.1st is there, but GRUB seems to want something else.

    There might be an issue relative to the used fs. I allways had problems if I tried to install grub into xfs or jfs partitions, and had to install lilo first during installation procedure. After first boot, I usually removed lilo and installed grub without any problems.

  • CS2 Unable to find file errors

    Hi
    We are having trouble with photoshop cs2.  We can not open most files.  Tiff, PSD, some PDF files will give an "unable to find file error".  Jpg files, and certain PDF files and TIFF files that use jpg compression work.  I have tried resetting all the settings, changing scratch disks / memory usage, uninstalling all fonts, and reinstalling the application and the problem persists.
    Also i do not know if this is related but the same time we started having errors in photoshop we also have problems in Microsoft Word.  The font list shows a lot of fonts as just a white box.  Other apps can use the fonts fine.  Just not in word.
    I have attatched a JPG file with screen caps of the errors.

    I reset the options by doing the hold shift alt ctrl while starting up photoshop.  Also i deleted all the preference files out of the application data\adobe\photoshop folder.  Same problem persists.
    Also another issue i have noticed.  Say you perform an action like erasing somthing, or changing the brightness/contrast.  You can not see the changes until you click on a different tool.  Then it updates the display.
    I will try and locate the faq and see what it says.

  • Windows 8.1 System Image Backup - Unable to backup to network share due to unsupported "version of the file format"

    I have a Windows 8.1 Pro 64 bit system that I am trying to make a system image backup via Windows 8.1's System Image Backup feature.
    The backup destination is a network share, but the image creation is failing with the following error: 
    The version does not support this version of the file format
    After some investigation, it appears this is due to the network share (a Netgear BlackArmor NAS 220)not
    supporting sparse files. The consensus out on the web seems to be that your smb.conf file on the NAS needs to have strict allocate = yes added, in order to support sparse files. However, as far as I can tell with the BlackArmor NAS
    220, there is no way to edit the smb.conf file (and I'm not even 100% positive they're running Samba--but I bet they are).
    Some more searching revealed another possible option here: 
    If you don't need to exclude files from your backup, use the "-allcritical" option in your command line. AS IN:
    wbadmin start backup -backupTarget:\backup1\backupdrive1\ -include:c: -user:administrator -password:xxxx -systemState -vssFull -allcritical -quiet
    This changes it to Block backup and gets rid of the error.
    I'm trying to do a complete backup, so no exclusions are wanted or needed. So, i tried this, and got the exact same error (only this time it was on the command line, rather than a GUI dialog).
    Is there any way to do backups to a network share that doesn't support sparse files via Windows 8.1's System Image Backup facility?
    Alternatively, is there a way to enable the strict allocate = yes on a BlackArmor NAS 220?

    Hi,
    When using BackupAssist to perform a backup from a Windows file system to a Linux (ext4 or XFS) file
    system, the backup can fail if the following conditions apply.
    The backup is running a system protection job to the Linux based NAS. 
    The Linux NAS has sparse file allocation turned on.
    These two contition can cause the problem like yours.
    You can refer to the document which also contains an solution for further details.
    http://www.backupassist.com/downloads/resources/sparse_file_system_compatability.pdf
    Roger Lu
    TechNet Community Support

  • HT204088 I installed iphone 5 from iTunes backup but still have one app showing [ ! ] not installed can not find file . How do I get rid of this pop up

    I installed iphone 5 from itunes back up and get a pop up [ ! ] app not installed can not find file. I have looked through everything that have with "CANADA" in the app title. That is the only info there is.

    If you haven't found out which app it is then if you go into list view in the Apps part of your library do any of the apps have an exclamantion mark against them ? If they do then they are the one(s) that iTunes can't find the actual app file(s) for - if you delete that app from your library then if it is still in then you should be able to re-download it via the Purchased link under Quicklinks on the right-hand side of the iTunes store homepage on your computer's iTunes, or you can just download it directly on your phone via the Purchased tab in its App Store app

  • Cannot find file specified!!!

    To anyone that can help.
    Server 2012 R2
    Trying to run a .wsf file and the system tells me that it cannot find the file specified.
    Opened command prompt as admin and running cscript.exe shoreware_backup.wsf
    I am losing my mind
    Jared

    ' Backup Script for ShoreWare Server
    <job id="ShorewareBackup">
     <script language="VBScript" src="common.vbs" />
     <script language="VBScript">
    writeToLog "********** Starting Shoreware Backup Process **********"
    '----- load ini file, this should always be the first thing to do -----
    loadINI
    Dim backupDrive : backupDrive = BACKUP_DRIVE
    Dim backupRootDir : backupRootDir = BACKUP_ROOT_DIR
    Dim scriptsRootDir : scriptsRootDir = SCRIPTS_ROOT_DIR
    Dim scriptsDVMRootDir : scriptsDVMRootDir = SCRIPTS_DVM_ROOT_DIR
    Dim backupVMBRootDir : backupVMBRootDir = BACKUP_VMB_ROOT_DIR
    Dim backupUCBRootDir : backupUCBRootDir = BACKUP_UCB_ROOT_DIR
    Dim backupDVSRootDir : backupDVSRootDir = BACKUP_DVS_ROOT_DIR
    Dim ShoretelRootDir : ShoretelRootDir = SERVER_DIR
    Dim ShoretelDVMRootDir : ShoretelDVMRootDir = DVM_SERVER_DIR
    writeToLog "Backup Directory: " & backupDrive & backupRootDir
    If(serverType = SERVER_TYPE_HQ) Then
     writeToLog "Scripts Directory: " & scriptsRootDir
    ElseIf(serverType = SERVER_TYPE_DVM) Then
     writeToLog "Scripts Directory: " & scriptsDVMRootDir
    End If 
    Dim objShell, serverType, action, cmd_error
    Set objShell = WScript.createObject("wscript.shell")
    cmd_error = 0
    Dim  inIBMLF
    inIBMLF = False
    On Error Resume Next
    Dim lfMode : lfMode = objShell.RegRead(REG_LF_MODE)
    Select Case Err
    Case 0:
      writeToLog "Registry key RunningOnLFMode exist"
      if(lfMode) Then
       writeToLog "RunningOnLFMode is not 0, we are in LF mode"
       inIBMLF = True
      End If
    Case Else
      writeToLog "Registry key RunningOnLFMode does not exist"
    End Select
    On Error Goto 0
    '----- Check for errors in the command line -----
    If (WScript.Arguments.Length > 0) Then
     serverType = LCase(WScript.Arguments.Item(0))
     if(serverType = SERVER_TYPE_HQ or serverType = SERVER_TYPE_DVM or serverType = SERVER_TYPE_VMB or serverType = SERVER_TYPE_UCB or serverType = SERVER_TYPE_DVS) Then
      writeToLog "Server Type: " & serverType
     Else
      writeToLog "ERROR! Invalid server type: " & serverType
      cmd_error = 1 
     End If
    Else
     writeToLog "ERROR! Syntax error, check the command line."
     cmd_error = 1
    End If
    If (cmd_error = 1) Then
     WScript.Echo "Usage Error: shoreware_backup.wsf [" &_
           SERVER_TYPE_HQ & "," &_
           SERVER_TYPE_DVM & "," &_
           SERVER_TYPE_VMB & "," &_
           SERVER_TYPE_UCB & "," &_
           SERVER_TYPE_DVS & "] [" &_
           OPTION_ALL & " | " &_
           OPTION_DB & " | " &_
           OPTION_VM & " | " &_
           OPTION_LOG & "]"
     WScript.Quit -1
    End If
    '----- Verify this server is the server the user is expecting -----
    If ((serverType = SERVER_TYPE_HQ) and isRemoteServer) Then
     WScript.Echo TEXT_ERROR_NOT_HQ
     WScript.Quit -1
    ElseIf ((serverType = SERVER_TYPE_DVM) and Not isRemoteServer) Then
     WScript.Echo TEXT_ERROR_NOT_DVM'
     WScript.Quit -1
    Else
    End If
    '----- Parse the command line -----
    Dim index, doConfig, doVM, doCDR, doLogs
    index = 0
    doConfig = False
    doVM = False
    doCDR = False
    doLogs = False
    For Each action in WScript.Arguments
     If (index = 0) Then
      'Do nothing, this is the server type
     Else
      select case LCase(action)
       case OPTION_ALL
        doConfig = True
        doVM = True
        doCDR = True
        doLogs = True
       case OPTION_CONFIG
        doConfig = True
       case OPTION_VM
        doVM = True
       case OPTION_CDR
        doCDR = True
       case OPTION_LOG
        doLogs = True
       case OPTION_DB
        doConfig = True
        doCDR = True
       case ARG_SWITCH_VERBOSE
        VERBOSE_MODE = True
       case Else
        writeToLog "ERROR! Invalid option: " & action
        WScript.Echo "Warning: Unrecognized type " & action
      end select
     End If
     index = index + 1
    Next
    Dim dataRootDir : dataRootDir = objShell.RegRead(REG_SWDATA_DIR)
    writeToLog "SW Data Directory: " & dataRootDir
    '----- Stop services and perform backup -----
    If(serverType = SERVER_TYPE_HQ) Then
     writeToLog "---> cleaning current backup folder"
     rotateBackupFolder backupDrive, backupRootDir
     writeToLog "---> stopping hq services"
     stopHQ scriptsRootDir
     writeToLog "---> backing up hq data"
     backUpHQ dataRootDir, backupDrive, backupRootDir, doConfig, doVM, doCDR, doLogs
    ElseIf(serverType = SERVER_TYPE_DVM) Then
     writeToLog "---> cleaning current backup folder"
     rotateBackupFolder backupDrive, backupRootDir
     writeToLog "---> stopping dvm services"
     stopDVM scriptsDVMRootDir
     writeToLog "---> backing up dvm data"
     backUpDVM dataRootDir, backupDrive, backupRootDir, doConfig, doVM, doCDR, doLogs
    ElseIf(serverType = SERVER_TYPE_VMB) Then
     Dim vmbIp
     writeToLog "---> cleaning current backup folder"
     rotateBackupFolder backupDrive, backupVMBRootDir
     For Each vmbIp In VMB_LIST
      writeToLog "---> stopping vmb (" & vmbIp & ") services"
      stopVMB vmbIp
      writeToLog "---> backing up vmb data"
      backupVMB backupDrive, backupVMBRootDir, vmbIp
     Next
    ElseIf(serverType = SERVER_TYPE_UCB) Then
     Dim ucbIp
     writeToLog "---> cleaning current backup folder"
     rotateBackupFolder backupDrive, backupUCBRootDir
     For Each ucbIp In UCB_LIST
      writeToLog "---> stopping ucb (" & ucbIp & ") services"
      stopUCB ucbIp
      writeToLog "---> backing up ucb data"
      backupUCB backupDrive, backupUCBRootDir, ucbIp
     Next
    ElseIf(serverType = SERVER_TYPE_DVS) Then
     Dim dvsIp
     writeToLog "---> cleaning current backup folder"
     rotateBackupFolder backupDrive, backupDVSRootDir
     For Each dvsIp In DVS_LIST
    '  writeToLog "---> stopping dvs (" & dvsIp & ") services"
    '  stopDVS dvsIp
      writeToLog "---> backing up dvs data"
      backupDVS backupDrive, backupDVSRootDir, dvsIp
     Next
    End If
    '----- Save off current version of shoreware -----
    setDataVersion backupDrive, backupRootDir, serverType
    '----- Backup complete, so re-start services -----
    If(serverType = SERVER_TYPE_HQ) Then
     writeToLog "---> starting hq services"
     startHQ scriptsRootDir
    ElseIf(serverType = SERVER_TYPE_DVM) Then
     writeToLog "---> starting dvm services"
     startDVM scriptsDVMRootDir
    ElseIf(serverType = SERVER_TYPE_VMB) Then
     For Each vmbIp In VMB_LIST
      writeToLog "---> starting vmb (" & vmbIp & ") services"
      startVMB vmbIp
     Next
    ElseIf(serverType = SERVER_TYPE_UCB) Then
     For Each ucbIp In UCB_LIST
      writeToLog "---> starting ucb (" & ucbIp & ") services"
      startUCB ucbIp
     Next
    'ElseIf(serverType = SERVER_TYPE_DVS) Then
    ' For Each dvsIp In DVS_LIST
    '  writeToLog "---> starting dvs (" & dvsIp & ") services"
    '  startDVS dvsIp
    ' Next
    End If
    writeToLog "********** Completed Shoreware Backup Process **********"
    If(Not inIBMLF) Then
     WScript.Echo TEXT_BACKUP_COMPLETE
    End If
    '----- Script Done -----
    ' SubProcedure to backup the data on the HQ server
    ' Backs up the following:
    ' 1. \Inetpub\mailroot
    ' 2. \Inetpub\ftproot
    ' 3. \Windows\my.ini
    ' 4. \Shoreline Data\MessageFiles
    ' 5. \Shoreline Data\Prompts
    ' 6. \Shoreline Data\Scripts
    ' 7. \Shoreline Data\SoftSwitch
    ' 8. \Shoreline Data\Templates
    ' 9. (optional) \Shoreline Data\Database
    ' 10. (optional) \Shoreline Data\Vms
    ' 11. (optional) \Shoreline Data\Call Records 2
    ' 12. (optional) \Shoreline Data\Logs
    ' Input
    '  rootDir - (String) path of root directory containing Shoreline Data
    '  backupDrive - (String) disk drive of backup destination
    '  backupDir - (String) path of backup destination
    '  doConfig - (Boolean) if to backup "\Database"
    '  doVM - (Boolean) if to backup "\Vms"
    '  doCDR - (Boolean) if to backup "\Call Records 2"
    '  doLogs - (Boolean) if to backup "\Logs"
    sub backUpHQ (rootDir, backupDrive, backupDir, doConfig, doVM, doCDR, doLogs)
     'WScript.Echo "Backing up HQ..."
     'back-up mailroot
     folderCopy WINDOWS_DRIVE & MAILROOT_ROOT_DIR, backupDrive, backupDir & MAILROOT_ROOT_DIR, True
     ftpRootDirAsInRegistry = objShell.RegRead(REG_FTPROOT_DIR)
     writeToLog "ftp root Directory: " & ftpRootDirAsInRegistry
     'lngPos = Instr(ftpRootDirAsInRegistry, ",")
     'ftpRootDir = Left(ftpRootDirAsInRegistry, lngPos-1)
     ftpRootDir = ftpRootDirAsInRegistry
     lngPos1 = Instr(ftpRootDir, ":")
     ftpdirlength  =Len(ftpRootDir)
     ftpRootDirWithoutDriveName = Right(ftpRootDir, ftpdirlength-lngPos1)
     backupDirWithSlash = backupDir & "\"
     'back-up ftproot
     'folderCopy WINDOWS_DRIVE & FTPROOT_ROOT_DIR, backupDrive, backupDir & FTPROOT_ROOT_DIR, True
     'back-up ftproot directory
     folderCopy ftpRootDir, backupDrive, backupDirWithSlash & ftpRootDirWithoutDriveName, True
     writeToLog "ftproot directory backup done: " & backupDirWithSlash & ftpRootDirWithoutDriveName
     'back-up mysql configuration
     fileCopy SHOREWARE_DRIVE & ShoretelRootDir & "\MySQLCDR\MySQL Server\" & MYSQL_CONFIG_FILE, backupDrive, backupDir & ShoretelRootDir & "\MySQLCDR\MySQL Server\", True
     fileCopy SHOREWARE_DRIVE & ShoretelRootDir & "\MySQLConfig\MySQL Server\" & MYSQL_CONFIG_FILE, backupDrive, backupDir & ShoretelRootDir & "\MySQLConfig\MySQL Server\", True
     'back-up HQ data 
     Dim objFSO : Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
     If objFSO.FolderExists(rootDir) Then
      Dim objFolder, objSubfolders, doCopy
      Set objFolder = objFSO.GetFolder(rootDir)
      Set objSubfolders = objFolder.SubFolders
      For Each objFolder in objSubfolders
       doCopy = False
       select case objFolder.Name
        case FOLDER_NAME_CONFIG
         if(doConfig) Then
          doCopy = True
         End If
        case FOLDER_NAME_VM
         if(doVM) Then
          doCopy = True
         End If
        case FOLDER_NAME_CDR
         if(doCDR) Then
          doCopy = True
         End If
        case FOLDER_NAME_LOGS
         if(doLogs) Then
          doCopy = True
         End If
        case Else
         doCopy = True
       end select
       if(doCopy) Then
        folderCopy objFolder.Path, backupDrive, backupDir & "\" & BACKUP_SW_DIR & objFolder.Name, True
       End If
      Next
     End If
    end sub
    ' SubProcedure to backup the data on the DVM server
    ' Backs up the following:
    ' 1. \Inetpub\mailroot
    ' 2. \Inetpub\ftproot
    ' 3. \Windows\my.ini
    ' 4. \Shoreline Data\MessageFiles
    ' 5. \Shoreline Data\Prompts
    ' 6. \Shoreline Data\Scripts
    ' 7. \Shoreline Data\SoftSwitch
    ' 8. \Shoreline Data\Templates
    ' 9. (optional) \Shoreline Data\Database
    ' 10. (optional) \Shoreline Data\Vms
    ' 11. (optional) \Shoreline Data\Call Records 2
    ' 12. (optional) \Shoreline Data\Logs
    ' Input
    '  rootDir - (String) path of root directory containing Shoreline Data
    '  backupDrive - (String) disk drive of backup destination
    '  backupDir - (String) path of backup destination
    '  doConfig - (Boolean) if to backup "\Database"
    '  doVM - (Boolean) if to backup "\Vms"
    '  doCDR - (Boolean) if to backup "\Call Records 2"
    '  doLogs - (Boolean) if to backup "\Logs"
    sub backUpDVM (rootDir, backupDrive, backupDir, doConfig, doVM, doCDR, doLogs)
     'WScript.Echo "Backing up DVM..."
     'back-up mailroot
     folderCopy WINDOWS_DRIVE & MAILROOT_ROOT_DIR, backupDrive, backupDir & MAILROOT_ROOT_DIR, True
     ftpRootDirAsInRegistry = objShell.RegRead(REG_FTPROOT_DIR)
     writeToLog "ftp root Directory: " & ftpRootDirAsInRegistry
     ftpRootDir = ftpRootDirAsInRegistry
     lngPos1 = Instr(ftpRootDir, ":")
     ftpdirlength  =Len(ftpRootDir)
     ftpRootDirWithoutDriveName = Right(ftpRootDir, ftpdirlength-lngPos1)
     backupDirWithSlash = backupDir & "\"
     'back-up ftproot directory
     folderCopy ftpRootDir, backupDrive, backupDirWithSlash & ftpRootDirWithoutDriveName, True
     writeToLog "ftproot directory backup done: " & backupDirWithSlash & ftpRootDirWithoutDriveName
     'back-up mysql configuration
     fileCopy SHOREWARE_DRIVE & ShoretelDVMRootDir & "\MySQLConfig\MySQL Server\" & MYSQL_CONFIG_FILE, backupDrive, backupDir & ShoretelDVMRootDir & "\MySQLConfig\MySQL Server\", True
     'back-up DVM data 
     Dim objFSO : Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
     If objFSO.FolderExists(rootDir) Then
      Dim objFolder, objSubfolders, doCopy
      Set objFolder = objFSO.GetFolder(rootDir)
      Set objSubfolders = objFolder.SubFolders
      For Each objFolder in objSubfolders
       doCopy = False
       select case objFolder.Name
        case FOLDER_NAME_CONFIG
         if(doConfig) Then
          doCopy = True
         End If
        case FOLDER_NAME_VM
         if(doVM) Then
          doCopy = True
         End If
        case FOLDER_NAME_CDR
         if(doCDR) Then
          doCopy = True
         End If
        case FOLDER_NAME_LOGS
         if(doLogs) Then
          doCopy = True
         End If
        case Else
         doCopy = True
       end select
       if(doCopy) Then
        folderCopy objFolder.Path, backupDrive, backupDir & "\" & BACKUP_SW_DIR & objFolder.Name, True
       End If
      Next
     End If
    end sub
    ' SubProcedure to backup the data on the VMB switch
    ' Backs up the following:
    ' 1. \etc\ShoreTel.cfg
    ' 2. \etc\cfg.dat
    ' 3. \cf
    ' Input
    '  backupDrive - (String) disk drive of backup destination
    '  backupDir - (String) path of backup destination
    '  vmbIP - (String) ip address of vmb switch
    sub backupVMB(backupDrive, backupDir, vmbIP)
     Dim tarCF, copyCF, copyShorCFG, copyCfgDat, cleanUp
     Dim backUpPath : backUpPath = backupDrive & backupDir & "\" & BACKUP_VMB_DIR & "_" & vmbIP
     'create folder if doesn't exist
     Dim objFSO : Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
     If Not objFSO.FolderExists(backUpPath) Then
      buildPath backUpPath
     End If
     tarCF = """" & PLINK_CMD & """"  & " -pw " & VMB_PASSWD & " " &_
        VMB_USER & "@" & vmbIP &_
        " ""tar -czf " & VMB_CF_TAR_FOLDER & VMB_CF_TAR_FILE & " " & VMB_CF_SHORELINEDATA_DIR & """"
     copyCF = """" & PSCP_CMD & """" & " -pw " & VMB_PASSWD & " " &_
        VMB_USER & "@" & vmbIP & ":" & VMB_CF_TAR_FOLDER & VMB_CF_TAR_FILE &_
        " """ & backUpPath & """"
     copyShorCFG = """" & PSCP_CMD & """"  & " -pw " & VMB_PASSWD & " " &_
        VMB_USER & "@" & vmbIP & ":" & VMB_SHORE_CFG_FOLDER & VMB_SHORE_CFG_FILE &_
        " """ & backUpPath & """"
     copyCfgDat = """" & PSCP_CMD & """" & " -pw " & VMB_PASSWD & " " &_
        VMB_USER & "@" & vmbIP & ":" & VMB_CGF_DAT_FOLDER & VMB_CGF_DAT_FILE &_
        " """ & backUpPath & """"
     cleanUp = """" & PLINK_CMD & """" & " -pw " & VMB_PASSWD & " " &_
        VMB_USER & "@" & vmbIP &_
        " ""rm -f " & VMB_CF_TAR_FOLDER & VMB_CF_TAR_FILE & """"
     runCmd tarCF
     runCmd copyCF
     runCmd copyShorCFG
     runCmd copyCfgDat
     runCmd cleanUp
    end sub
    ' SubProcedure to backup the data on the UCB switch
    ' Backs up the following:
    ' 1. \etc\ShoreTel.cfg
    ' 2. \etc\cfg.dat
    ' 3. \cf
    ' Input
    '  backupDrive - (String) disk drive of backup destination
    '  backupDir - (String) path of backup destination
    '  ucbIP - (String) ip address of ucb switch
    sub backupUCB(backupDrive, backupDir, ucbIP)
     Dim tarCF, copyCF, copyShorCFG, copyCfgDat, cleanUp
     Dim backUpPath : backUpPath = backupDrive & backupDir & "\" & BACKUP_UCB_DIR & "_" & ucbIP
     'create folder if doesn't exist
     Dim objFSO : Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
     If Not objFSO.FolderExists(backUpPath) Then
      buildPath backUpPath
     End If
     tarCF = """" & PLINK_CMD & """"  & " -pw " & UCB_PASSWD & " " &_
        UCB_USER & "@" & ucbIP &_
        " ""tar -czf " & UCB_CF_TAR_FOLDER & UCB_CF_TAR_FILE & " " & UCB_CF_SHORELINEDATA_DIR & """"
     copyCF = """" & PSCP_CMD & """" & " -pw " & UCB_PASSWD & " " &_
        UCB_USER & "@" & ucbIP & ":" & UCB_CF_TAR_FOLDER & UCB_CF_TAR_FILE &_
        " """ & backUpPath & """"
     copyShorCFG = """" & PSCP_CMD & """"  & " -pw " & UCB_PASSWD & " " &_
        UCB_USER & "@" & ucbIP & ":" & UCB_SHORE_CFG_FOLDER & UCB_SHORE_CFG_FILE &_
        " """ & backUpPath & """"
     copyCfgDat = """" & PSCP_CMD & """" & " -pw " & UCB_PASSWD & " " &_
        UCB_USER & "@" & ucbIP & ":" & UCB_CGF_DAT_FOLDER & UCB_CGF_DAT_FILE &_
        " """ & backUpPath & """"
     cleanUp = """" & PLINK_CMD & """" & " -pw " & UCB_PASSWD & " " &_
        UCB_USER & "@" & ucbIP &_
        " ""rm -f " & UCB_CF_TAR_FOLDER & UCB_CF_TAR_FILE & """"
     runCmd tarCF
     runCmd copyCF
     runCmd copyShorCFG
     runCmd copyCfgDat
     runCmd cleanUp
    end sub
    ' SubProcedure to backup the data on the DVS switch
    ' Backs up the following:
    ' 1. \etc\ShoreTel.cfg
    ' 2. \etc\cfg.dat
    ' 3. \cf
    ' Input
    '  backupDrive - (String) disk drive of backup destination
    '  backupDir - (String) path of backup destination
    '  dvsIP - (String) ip address of dvs switch
    sub backupDVS(backupDrive, backupDir, dvsIP)
    ' Dim tarCF, copyCF, copyShorCFG, copyCfgDat, cleanUp
     Dim backUpPath : backUpPath = backupDrive & backupDir & "\" & BACKUP_DVS_DIR & "_" & dvsIP
     Dim backupcascmd
     'create folder if doesn't exist
     Dim objFSO : Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
     If Not objFSO.FolderExists(backUpPath) Then
      buildPath backUpPath
     End If
    ' tarCF = """" & PLINK_CMD & """"  & " -pw " & DVS_PASSWD & " " &_
    '    DVS_USER & "@" & dvsIP &_
    '    " ""tar -czf " & DVS_CF_TAR_FOLDER & DVS_CF_TAR_FILE & " " & DVS_CF_SHORELINEDATA_DIR & """"
    ' copyCF = """" & PSCP_CMD & """" & " -pw " & DVS_PASSWD & " " &_
    '    DVS_USER & "@" & dvsIP & ":" & DVS_CF_TAR_FOLDER & DVS_CF_TAR_FILE &_
    '    " """ & backUpPath & """"
    ' copyShorCFG = """" & PSCP_CMD & """"  & " -pw " & DVS_PASSWD & " " &_
    '    DVS_USER & "@" & dvsIP & ":" & DVS_SHORE_CFG_FOLDER & DVS_SHORE_CFG_FILE &_
    '    " """ & backUpPath & """"
    ' copyCfgDat = """" & PSCP_CMD & """" & " -pw " & DVS_PASSWD & " " &_
    '    DVS_USER & "@" & dvsIP & ":" & DVS_CGF_DAT_FOLDER & DVS_CGF_DAT_FILE &_
    '    " """ & backUpPath & """"
    ' cleanUp = """" & PLINK_CMD & """" & " -pw " & DVS_PASSWD & " " &_
    '    DVS_USER & "@" & dvsIP &_
    '    " ""rm -f " & DVS_CF_TAR_FOLDER & DVS_CF_TAR_FILE & """"
    ' backupcascmd = "rdiff-backup.exe -v7  --force --no-eas --remote-schema "plink -pw ShoreTel  %%s rdiff-backup --server" 
    [email protected]::/rdiff/back1  c:\mywindowsdata > c:\out.txt 2>&1"
     backupcascmd = "rdiff-backup.exe -v7  --force --no-eas --remote-schema " &_
        """" & PLINK_CMD & " -pw " & DVS_PASSWD & " %%s rdiff-backup --server" & """" &_
        DVS_USER & "@" & dvsIP & "::" & DVS_CF_DIR & " " & """" & backUpPath & """"
     runCmd backupcascmd
    ' runCmd tarCF
    ' runCmd copyCF
    ' runCmd copyShorCFG
    ' runCmd copyCfgDat
    ' runCmd cleanUp
    end sub
    ' SubProcedure to rotate the backup folder.  It will archive the
    '  current backup folder based on the BACKUP_ARCHIVE_SIZE value.
    ' Input
    '  backupDrive - (String) disk drive of backup destination
    '  backupDir - (String) path of backup destination
    sub rotateBackupFolder (backupDrive, backupDir)
     Dim objFSO, objFolder, newBackupFolderName
     Dim backupFolder : backupFolder = backupDrive & backupDir
     Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
     For i=BACKUP_ARCHIVE_SIZE to 0 Step -1
      If(i = 0) Then
       newBackupFolderName = backupFolder
      Else
       newBackupFolderName = backupFolder & i
      End If
      If objFSO.FolderExists(newBackupFolderName) Then
       Set objFolder = objFSO.GetFolder(newBackupFolderName)
       If(i = BACKUP_ARCHIVE_SIZE) Then
        objFolder.Delete True
       Else
        newBackupFolderName = backupFolder & i+1
        objFolder.Move newBackupFolderName
       End If
      End If
     Next
    end sub
    ' SubProcedure to perform a folder copy.  Utilizes the Windows xcopy
    '  command.  The xcopy switches used:
    '    /E Copies directories and subdirectories, including empty ones.
    '    /I If destination does not exist and copying more than one file,
    '       assumes that destination must be a directory.
    '    /K Copies attributes. Normal Xcopy will reset read-only
    '       attributes.
    '    /C Continues copying even if errors occur.
    '    /Y Suppresses prompting to confirm you want to overwrite an
    '       existing destination file.
    ' Input
    '  src - (String) path of source folder
    '  dstDrive - (String) disk drive of destination
    '  dstFolder - (String) path of destination
    '  force - (Boolean) if false, will prompt before overwriting
    '          existing files
    sub folderCopy (src, dstDrive, dstFolder, force)
     Dim objFSO
     Dim dst : dst = dstDrive & dstFolder
     Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
     If objFSO.FolderExists(src) Then
      Dim objFolder, objDrive
      'Check for available disk space first
      Set objFolder = objFSO.GetFolder(src)
      Set objDrive = objFSO.GetDrive(dstDrive)
      If isThereAvailableSpace(objDrive, objFolder.Size) Then
       Dim command : command = "xcopy """ & src & """ """ & dst & """ /E /I /K /C"
       If (force) Then
        command = command & " /Y"
       End If
       runCmd command
      Else
       writeToLog "ERROR! Insufficient Disk Space to copy folder: " & src
       WScript.Echo "Error! Insufficient Disk Space!"
      End If
     Else
      writeToLog "ERROR! Folder not found: " & src
      WScript.Echo "ERROR: Folder doesn't exist (" & src & ")"
     End If
    end sub
    ' SubProcedure to perform a file copy. Utilizes the Windows xcopy
    '  command. The xcopy switches used:
    '    /I If destination does not exist and copying more than one file,
    '       assumes that destination must be a directory.
    '    /K Copies attributes.
    '    /C Continues copying even if errors occur.
    '    /Y Suppresses prompting to confirm you want to overwrite an
    '       existing destination file.
    ' Input
    '  src - (String) path of source file
    '  dstDrive - (String) disk drive of destination
    '  dstFile - (String) path of destination
    '  force - (Boolean) if false, will prompt before overwriting
    '          existing files
    sub fileCopy (src, dstDrive, dstFile, force)
     Dim objFSO
     Dim dst : dst = dstDrive & dstFile
     Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
     If objFSO.FileExists(src) Then
      Dim objFile, objDrive
      'Check for available disk space first
      Set objFile = objFSO.GetFile(src)
      Set objDrive = objFSO.GetDrive(dstDrive)
      If isThereAvailableSpace(objDrive, objFile.Size) Then
       Dim command : command = "xcopy """ & src & """ """ & dst & """ /I /K /C"
       If (force) Then
        command = command & " /Y"
       End If
       runCmd command
      Else
       writeToLog "ERROR! Insufficient Disk Space to copy file: " & src
       WScript.Echo "Error! Insufficient Disk Space!"
      End If
     Else
      writeToLog "ERROR! File not found: " & src
      WScript.Echo "ERROR: File doesn't exist (" & src & ")"
     End If
    end sub
    ' Function to check if there's sufficient disk space for the
    ' requested size
    ' Input
    '  objDrive - (Object) the disk drive to check for space
    '  spaceNeeded - (Integer) number of bytes being requested
    ' Return
    '  (Boolean) if the requested space is available
    function isThereAvailableSpace(objDrive, spaceNeeded)
     If (objDrive.AvailableSpace > spaceNeeded) Then
      isThereAvailableSpace = True
     Else
      isThereAvailableSpace = False
     End If
    end function
    ' SubProcedure to write current version of Shoreware to a file
    ' Input
    '  backupDrive - (String) disk drive of backup destination
    '  backupDir - (String) path of backup destination
    sub setDataVersion (backupDrive, backupDir, serverType)
     Dim version
     Dim fileName : fileName = backupDrive & backupDir & "\" & SW_VERSION_FILE
     If(serverType = SERVER_TYPE_HQ) Then
      version = objShell.RegRead(REG_HQ_VERSION)
     ElseIf(serverType = SERVER_TYPE_DVM) Then
      version = objShell.RegRead(REG_DVM_VERSION)
     ElseIf(serverType = SERVER_TYPE_VMB) Then
      'For now, VMB doesn't do any version checking
      Exit sub
     ElseIf(serverType = SERVER_TYPE_UCB) Then
      'For now, UCB doesn't do any version checking
      Exit sub
     ElseIf(serverType = SERVER_TYPE_DVS) Then
      'For now, DVS doesn't do any version checking
      Exit sub
     End If
     writeToLog "SW Data Version: " & version
     writeToFile fileName, 2, version
    end sub
     </script>
    </job>
    Jared

  • Cant Find the Call Settings On My Z30

    Hello, I need some help.
    I bought my z30 this past Saturday March 29 from an authorised dealer in Dubai who told me that the phone can work anywhere as I reside in Dubai. Sunday March 30 I arrive to Cairo and go to my network carrier Mobinil who chopped my old SIM and made it into a new micro one to fit my z30.
    I set up everything, including wireless and the network was working fine, as well as emails and text messages, however I never thought about making calls until yesterday April 1st. The following are the problems I am facing now, I would really appreciate any HELP:
    1. I am unable to make or recieve calls. When someone calls me, they get a ringing tone but I recieve no notification on my z30.
    2. When I try to make a call, it says "call failed unable to make call try later"
    3. I cant find the call settings that show call forwarding, diverting, waiting, when I swipe down the call settings from the main menu.
    4. I keep updating the latest software but nothing happens after, it just tells me software update available, and its always the same one OS 10.2.1
    5. Everytime I power off the phone completely, it turns back on, on its own.
    6. I returned to my network carrier to check if there was something wrong with my new micro chip; the customor relations person took out my chip, tried it on his Iphone, and it was able to make and recieve calls normallly.
    7. I did a security wipe, but still, nothing changed.
    This is a brand new phone and I am quite bewildered at what is happening. There are no Blackberry retailers in Egypt and CS from Mobinil are unable to help, and the forums online are not helping me either. I would appreciate if a seriously BB z30 buff can help me as soon as possible.
    Thanks.

    NadaH1 wrote:
    The exact model number is STA 100-2
    OS version: 10.2.0. 1521
    You can try a manual upgrade if you want to... 
    Upgrading OS10 devices using Autoloader
    You would want this version 
    Software version 10.2.1.2102 (same as OS version 10.2.1.2141)
    For Z30 models STA100-1, -2, -3, -4, (all): Download 10.2.1.2102 file here
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I created an iCloud account and also had to get more space after I have done the purchase, I am unable to backup my phone! I have a stable wifi connection at home and all I see for hours and hours is "Backing Up .. Estimating time remaining"!!!!! Plz help

    I created an iCloud account and also had to get more space so after I have made the purchase, I am unable to backup my phone! I have a stable wifi connection at home and all I see for hours and hours is "Backing Up .. Estimating time remaining"!!!!! Plz help I'm unable to make the backup as I need to transfer all my data on my new iPhone 5S

    This may be caused by a corrupt existing backup that needs to be deleted, or by data on your device that is causing the backup to fail.  To troubleshoot these, try deleting your last iCloud backup (if you have one) by turning off iCloud Backup in Settings>iCloud>Storage & Backup, then tap Manage Storage, tap your device under Backups, then tap Delete Backup.  Then go back and turn iCloud Backup back on and try backing up again.
    If it still won't back up, you may have an app or something in your camera roll that is causing the backup to fail.  To locate which one, go to Settings>iCloud>Storage & Backup>Manage Storage, tap the name of your device under Backups, under Backup Options tap Show All Apps, then turn them all to Off (including camera roll) and try backing up again.  If the backup is successful, then the camera roll and/or one of your apps is causing the backup to fail and you'll have to located by process of elimination. Turn the camera roll On and try backing up again.  If it succeeds, turn some of your apps to On and try backing up again.  If it succeeds again, turn some more apps to On then try again; repeat this process until it fails.  Eventually you'll be able to locate the problem app and exclude it from your backup.
    In the meantime you can back up your phone to your computer by connect it, opening iTunes and going to File>Devices>Back Up.  Also be sure to transfer your purchases (File>Devices>Transfer Purchases).  Then set up your new phone and when given the option, choose Restore from iTunes Backup and follow the prompts to restore this backup to your new phone.  This will be much faster than using iCloud anyway.

  • Print window in version 8.1.2 can't find file to print

    Version 8.1.2, I'm trying to print a PDF from a medical website, i'm prompted to save or open the PDF file.  I choose open. The applet opens up as to print, then an error message appears, unable to find file.  But if I save the file to my desktop, then open it up, it prints fine.  I have this version running on 4 others servers, no problems there.  Anything else to look for?  I've also checked the version of java on the servers, also the same version Java 2 Runtime Enviorment SE v1.4.2_06, and Runtime Enviorment 5.0 update 9?  Also checked to make sure the plugins were using the same.   Any help would be appreciated.

    Have you tried, importing the music into iTunes again? So delete the music from iTunes only not the system, & then import to see if it finds your musics?

  • You are unable to log in to the File Vault user account "myaccount "...

    I know there are various posts already out there on remedies for recovering your data stored on a FileVault account when you receive the following message at the login screen; *"You are unable to log in to the File Vault user account "myaccount " at this time"*, but this genuinely worked for me despite AppleCare providing absolutely no assistance whatsoever. In fact, if I had followed their advise I'd be inconsolable right now having wiped my MacBook Pro and contemplating the prospect of rewriting my two essays due in 3 days time!
    I, in a moment of shear stupidity, decided to move the sparsebundle file in my one and only account to trash. Thinking nothing of my foolish actions I shut down for the evening without a care in the world. The next day I started up my computer as usual, and as usual I was prompted at the login screen for my password. I entered the correct password, but was alarmed to see the message above flash before my eyes. Without boring you all with what I did over the weekend waiting for AppleCare to open again on Monday morning. Anyway, this post is specifically for people who have put the sparsebundle of their FileVault-enabled account in the trash (NOT anything else!) without emptying it, of course! The other prerequisite is that you must REMEMBER YOUR FILEVAULT ACCOUNT PASSWORD!
    1. Firstly, you must insert *Disc 1 of the Mac OS X Install* discs.
    2. Restart your computer holding down the letter S (make sure you are holding this down BEFORE the start up noise sounds)
    3. Select the appropriate language and continue to the next screen (DO NOT go past the next screen, the WELCOME screen)
    4. At the grey bar at the top, under Utilities, select *Reset Password*
    5. Select the Administrator/Root account and proceed to change the password of this account to test
    6. Confirm the password by reentering it and click Save
    7. Restart your computer and at the login screen you should now be able to select an account named Other
    8. The username for this account is root and the password is test (the password you entered earlier)
    9. Using Finder, locate the Terminal utility, which can be found in *Applications --> Utilities*
    10. Enter the following, ignoring the bold of course (pay attention to lower cases AND spaces!): *defaults write com.apple.finder AppleShowAllFiles TRUE*
    11. Hit Enter
    12. On the next line, enter: *killall Finder*
    13. Hit Enter again
    14. Type: exit on the next line and close Terminal
    15. This has enabled the hidden files on your computer to be visible
    16. You then need to locate the sparsebundle file in the trash of your usual account folder (it could be 501, so search for that too) whilst logged in to the administrator account
    17. Once you have found it, click *Go to Folder* under Go in the grey bar and type /Users/
    18. Create a *new folder* at this location with a new username
    19. Move the sparsebundle from its present location to the folder you have just created
    20. Click Get Info on the new folder, and at the very bottom click *Apply to enclosed items*
    21. In *System Preferences --> Accounts*, create a new user with EXACTLY the same name as the folder you created (eg. Folder name = burtreynolds, new user = burtreynolds)
    22. A window should appear if you have done the above correctly stating *A folder in Users folder already has same name, would you like to use it?*
    22. Click OK
    23. Click *Show All* at the top of the Accounts window
    24. Restart your system and log in to the new account you have created
    25. The sparsebundle should now be visible
    26. Double-click on the sparsebundle, it will prompt you to enter a password
    27. Enter the password of your former account (if you have genuinely forgotten this password, I honestly can't help any further at this point)
    28. If the password is correct, the sparsebundle will automatically mount and you will have access to all the files
    29. NEVER EVER USE FILEVAULT AGAIN AND BACK UP ALL DATA YOU DON'T WANT TO LOSE!!!
    The above worked for me, and to say I'm mildly annoyed with AppleCare is, well, putting it mildly really!

    I know there are various posts already out there on remedies for recovering your data stored on a FileVault account when you receive the following message at the login screen; *"You are unable to log in to the File Vault user account "myaccount " at this time"*, but this genuinely worked for me despite AppleCare providing absolutely no assistance whatsoever. In fact, if I had followed their advise I'd be inconsolable right now having wiped my MacBook Pro and contemplating the prospect of rewriting my two essays due in 3 days time!
    I, in a moment of shear stupidity, decided to move the sparsebundle file in my one and only account to trash. Thinking nothing of my foolish actions I shut down for the evening without a care in the world. The next day I started up my computer as usual, and as usual I was prompted at the login screen for my password. I entered the correct password, but was alarmed to see the message above flash before my eyes. Without boring you all with what I did over the weekend waiting for AppleCare to open again on Monday morning. Anyway, this post is specifically for people who have put the sparsebundle of their FileVault-enabled account in the trash (NOT anything else!) without emptying it, of course! The other prerequisite is that you must REMEMBER YOUR FILEVAULT ACCOUNT PASSWORD!
    1. Firstly, you must insert *Disc 1 of the Mac OS X Install* discs.
    2. Restart your computer holding down the letter S (make sure you are holding this down BEFORE the start up noise sounds)
    3. Select the appropriate language and continue to the next screen (DO NOT go past the next screen, the WELCOME screen)
    4. At the grey bar at the top, under Utilities, select *Reset Password*
    5. Select the Administrator/Root account and proceed to change the password of this account to test
    6. Confirm the password by reentering it and click Save
    7. Restart your computer and at the login screen you should now be able to select an account named Other
    8. The username for this account is root and the password is test (the password you entered earlier)
    9. Using Finder, locate the Terminal utility, which can be found in *Applications --> Utilities*
    10. Enter the following, ignoring the bold of course (pay attention to lower cases AND spaces!): *defaults write com.apple.finder AppleShowAllFiles TRUE*
    11. Hit Enter
    12. On the next line, enter: *killall Finder*
    13. Hit Enter again
    14. Type: exit on the next line and close Terminal
    15. This has enabled the hidden files on your computer to be visible
    16. You then need to locate the sparsebundle file in the trash of your usual account folder (it could be 501, so search for that too) whilst logged in to the administrator account
    17. Once you have found it, click *Go to Folder* under Go in the grey bar and type /Users/
    18. Create a *new folder* at this location with a new username
    19. Move the sparsebundle from its present location to the folder you have just created
    20. Click Get Info on the new folder, and at the very bottom click *Apply to enclosed items*
    21. In *System Preferences --> Accounts*, create a new user with EXACTLY the same name as the folder you created (eg. Folder name = burtreynolds, new user = burtreynolds)
    22. A window should appear if you have done the above correctly stating *A folder in Users folder already has same name, would you like to use it?*
    22. Click OK
    23. Click *Show All* at the top of the Accounts window
    24. Restart your system and log in to the new account you have created
    25. The sparsebundle should now be visible
    26. Double-click on the sparsebundle, it will prompt you to enter a password
    27. Enter the password of your former account (if you have genuinely forgotten this password, I honestly can't help any further at this point)
    28. If the password is correct, the sparsebundle will automatically mount and you will have access to all the files
    29. NEVER EVER USE FILEVAULT AGAIN AND BACK UP ALL DATA YOU DON'T WANT TO LOSE!!!
    The above worked for me, and to say I'm mildly annoyed with AppleCare is, well, putting it mildly really!

Maybe you are looking for