How are Windows Server Backup and Command Line Tools used in vCSHB installation?

How are Windows Server Backup and Command Line Tools used during the installation of vCSHB?  Is it required in all types of deployments (PtoV, VtoV, PtoP)? Is it used to create the files that are put in the file share for the second node to use during vCSHB installation or is it only used during a vCSHB clone operation of a Physical to Physical deployment?  Are these tools not used in some deployments?

You need Windows Server Backup installed on source and destination, and during the installation of vCSHB the installer will invoke the wbadmin (Windows Server Backup Utility) and will backup configuration and application data (application data is optimal but can decrease the sync time after installation of secondary node). On the secondary node you will need only run the vCSHB installer and everything will be restored.
Check this blog entry for some more info about some problems in P2P deployment: http://www.vcoportal.de/2013/12/vmware-vcenter-server-heartbeat-restore-on-a-second-node-a-journey/

Similar Messages

  • How do shutdown the weblogic server from the command line prompt using web logic 8.1

    I%u2019m currently using weblogic 6.1, but I will upgrade to weblogic 8.1. In weblogic 6.1, the following statements will shutdown the weblogic instance from the command line:
    java weblogic.Admin -url t3://hostname:port -username system -password abc SHUTDOWN
    How do I shutdown the weblogic server from the command line prompt using web logic 8.1.
    Any help will be greatly appreciated.
    Maria

    Maria <[email protected]> wrote:
    How do I shutdown the weblogic server from the
    command line prompt using weblogic 8.1?Greetings Maria! Use this document, located here:
    http://edocs.bea.com/wls/docs81/admin_ref/cli.html#1131733
    Hope this helps...
    Brian J. Mitchell
    Systems Administrator, TRX
    email: [email protected]
    office: +1 404 327 7238
    mobile: +1 678 283 6530

  • Hello I am on a macbook pro (retina IOS 9) i have installed xcodes and command line tools but codeblocks does not compile, terminal gives this message /Users/MacPc/Desktop/Untitled1: Permission denied      any one has a solution

    Hello I am on a macbook pro (retina IOS 9) i have installed xcodes and command line tools but codeblocks does not compile, terminal gives this message /Users/MacPc/Desktop/Untitled1: Permission denied      any one has a solution?? please...

    Back up all data before proceeding.
    This procedure will unlock all your user files (not system files) and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.
    Step 1
    If you have more than one user, and the one in question is not an administrator, then go to Step 2.
    Triple-click anywhere in the following line on this page to select it:
    sudo find ~ $TMPDIR.. -exec chflags -h nouchg,nouappnd,noschg,nosappnd {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.
    Start up in Recovery mode. When the OS X Utilities screen appears, select
              Utilities ▹ Terminal
    from the menu bar. A Terminal window will open. In that window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not going to reset a password.
    Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
               ▹ Restart
    from the menu bar.

  • How to configure Team explorer 2010 command-line tool in Mac x os. configure shell or system path to include the folder to which (TF client) unzipped archive available.

    How to configure Team explorer 2010 command-line tool in Mac x os.
    Hot to configure shell or system path to include the folder to which (TF client) unzipped archive available. I am new to Mac X OS. Please help.

    Dmitry,
    Thanks for the great writeup!
    I think I've got my universal instant client libraries built correctly.
    I too am using MacBook Pro but I'm getting stuck at building the 32 bit oci8.so
    First problem is my pecl download (ver 1.4.1) did not contain a "configure" file so ./configure failed.
    I used configure from /sw/....... to try to continue.
    Second problem. Using existing configure from /sw/.... I used an appropriate variation of your example command
    (./configure --with-oci8=instantclient,/usr/local/oracle/instantclient_10_2 && make).
    Things look like everything ran OK but The output does NOT include an oci8.so file
    So I guess my question is: Which "configure" should I be using? And if it is not the one on the system under /sw/...
    where would I get it since it doesn't come in the pecl download?

  • [Forum FAQ] Cannot perform a backup schedule via Windows Server Backup and receive "The system cannot find the path specified." Error

    Symptom One
    You attempt to
    schedule a backup every day via Windows Server Backup on Windows Server 2008 R2. At the beginning, the backup works without issue. But after a few days it failed and you receive the error “Windows Server Backup:
    The system cannot find the path specified.”
    Cause
    The issue may occur if there is
    no shadow copy storage space available on the backup volume.
    Verify
    You can use the List ShadowStorage command to check if you have enough storage space to store the newly created shadow copy. If you've reviewed the size of the backup snapshot and discovered
    that there is no allocated space for the storage association, you need to resize shadowstorage.
    Solution
    You could run the command below to create shadow copy storage space on the backup volume:
    vssadmin resize
    shadowstorage /for=<ForVolumeSpec> /on=<OnVolumeSpec> [/maxsize=<MaxSizeSpec>]
    More Information
    Vssadmin resize shadowstorage
    http://technet.microsoft.com/en-us/library/cc788050.aspx
    Symptom Two
    When you add
    another external hard drive to backup schedule via Windows Server Backup on Windows Server 2012, it fails and you receive the error “The System cannot find the path specified.”
    Cause
    The issue is due to the
    Original Destination Disk was not attached to the server.
    Verify
    You could check the disk status in Disk Management to see if the Original Destination Disk is offline or removed.
    Solution
    You need to attach
    Original Destination Disk to the Server then choose another external hard drive as backup target. After that, you could remove the Original Destination Disk.
    Workaround
    To work around this issue, please use the WBADMIN command line tool to add disk.
    WBADMIN ENABLE BACKUP -addtarget :{ DiskID}
    The AddTarget parameter takes disk ID as parameter. It can be retrieved by running "WBADMIN GET DISKS" command.
    Example:
    WBADMIN ENABLE BACKUP
    -addtarget :{ aa123d14-bba0-1dd9-0d93-80aaaa6bbb63}
    More Information
    Wbadmin enable backup
    http://technet.microsoft.com/en-us/library/cc742130.aspx
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    good

  • Windows Server backup script won't do differential/incremental

    What follows is a script that doesn't seem to do backups on an incremental basis so it is creating full backups each time.
    ++++++++++
    param(
      [string]$volLetter,
      [string]$scriptStorageLocation
    function prepare-disk($checkDiskCriteria,$diskOrVolume){
        if($diskOrVolume -eq 'disk'){
        $disks = Get-WBDisk
        $selected = $disks|?{$_.DiskName -match $checkDiskCriteria}
        elseif($diskOrVolume -eq 'volume' ){
        $allVolumes = Get-WBVolume -AllVolumes
        $selected = $allVolumes|?{$_.MountPath -match $checkDiskCriteria}
    return $selected
    function add-volumeMountPoint($policyAdd,$mountPoint){
        $matchVolumes = Get-WBVolume -AllVolumes
        $correctVolume = $matchVolumes | ?{ $_.MountPoint -eq $mountPoint}
        Add-WBVolume -Policy $policyAdd -Volume $correctVolume;
        return $policyAdd
    function add-VMToWB($policyAdd,$vmName){
    $vmObject = Get-WBVirtualMachine |?{ $_.VMName -eq $vmName}
    $vmobject='PCLaw';'2012CORPEXCHANGE';'File Server';'DC1'
    Add-WBVirtualMachine $policyAdd -VirtualMachine $vmObject
    return $policyAdd
    function remove-policy(){
    $policy = get-wbpolicy -editable
    $policy|export-clixml 'backup.xml'
    remove-wbpolicy $policy -force
    function restore-policy($wbBackupTarget){
    $policyRestore = import-clixml 'backup.xml'
    $global:newPolicy = new-wbpolicy
    Set-WBSchedule -Policy $newPolicy -Schedule $policyRestore.Schedule
    $VolumeBackupLocation = New-WBBackupTarget -Volume $wbBackupTarget
    Add-WBBackupTarget -Policy $newPolicy -Target $VolumeBackupLocation
    if($([string]$policyRestore.VssBackupOptions) -match 'VssFullBackup' ){Set-WBVssBackupOptions $global:newPolicy -VssFullBackup;write-host 'foundFull'}
    else{Set-WBVssBackupOptions $global:newPolicy -VssFullBackup;write-host 'FoundCopy'}
    $newPolicyBound = $policyRestore.VolumesToBackup|%{add-volumeMountPoint $global:newPolicy $_.MountPoint;}
    $global:newPolicy = $newPolicyBound[-1]
    if($policyRestore.BMR){Add-WBBareMetalRecovery $global:newPolicy}
    if($policyRestore.SystemState){Add-WBSystemState $global:newPolicy}
    $newPolicyBound = $policyRestore.ComponentsToBackup | %{ add-VMToWB $global:newPolicy $_.VMName}
    $global:newPolicy = $newPolicyBound[-1]
    write-host -fore cyan 'Final Policy'
    $global:newPolicy
    Set-WBPolicy $global:newPolicy
    function rename-WIB($pathWIB,$dateOfBackup){
    if(test-path $pathWIB){
        $newName = "WIB_"+$dateOfBackup
        rename-item $pathWIB -newName $newName
    Add-WBBackupTarget -Policy $newPolicy
    Set-WBPolicy $newPolicy
    if(!($scriptStorageLocation)){
    $scriptStorageLocation = 'C:\Techbase\WindowsBackupRecreationScript';}
    $volCheck = $volLetter+":";
    $pathNew = $volLetter+":\WindowsImageBackup";
    $dateOfBackup = Get-Date -UFormat "%Y_%m_%d";
    $volName = $volLetter+":";
    if(!(test-path "$scriptStorageLocation\WBfile.txt")){
    $diskOrVolumeInput = Read-host 'Are you using a disk or a volume (type d or v)?'
    $diskOrVolumeInput = $diskOrVolumeInput.ToLower();
        if(($diskOrVolumeInput -eq 'v') -or ($diskOrVolumeInput -eq 'd')){
            New-Item "$scriptStorageLocation\WBfile.txt" -type file
            Add-content "$scriptStorageLocation\WBfile.txt" $diskOrVolumeInput        
                if($diskOrVolumeInput -eq 'd'){
                    disk
                    $diskNum= Read-host 'Please select the disk number ?'
                    Add-content "$scriptStorageLocation\WBfile.txt" $diskNum
                elseif($diskOrVolumeInput -eq 'v'){
                    $allVolumes = Get-WBVolume -AllVolumes;
                    $allVolumes|Select  *;
                    $diskVol= Read-host 'Please type in the letter of the Mountpath you would like to use (Only type in the letter)?'
                    $diskVol = $diskVol.ToUpper();
                    Add-content "$scriptStorageLocation\WBfile.txt" $diskVol
        else{
            Write-host -fore red 'Sorry the input was not an available option.'
    else{
    write-host 'Your configuration file was ready when this script is executed.';
    $info = gc "$scriptStorageLocation\WBfile.txt"
        if($info[0]='v'){
            write-host -fore cyan $info[1]
            $WB_Volume = prepare-disk $info[1] 'volume'
            $locationOfWIB = $info[1] +":\WindowsImageBackup";
            rename-WIB  $locationOfWIB $dateOfBackup
            remove-policy
            restore-policy $WB_Volume
        elseif($info[0]='d'){
            $WB_Disk = prepare-disk 'WD My Book 1230 USB Device' 'disk'
            $WB_Disk;
    +++++++++++
    Also what follows is the most recent backup policy.
    +++++++++++++++++++
    - <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04">
    - <Obj RefId="0">
    - <TN RefId="0">
      <T>Microsoft.Windows.ServerBackup.Commands.WBPolicy</T>
      <T>System.Object</T>
      </TN>
      <ToString>Microsoft.Windows.ServerBackup.Commands.WBPolicy</ToString>
    - <Props>
    - <Obj N="Schedule" RefId="1">
    - <TN RefId="1">
      <T>System.Collections.Generic.List`1[[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</T>
      <T>System.Object</T>
      </TN>
    - <LST>
      <DT>2014-10-14T19:30:00</DT>
      </LST>
      </Obj>
    - <Obj N="BackupTargets" RefId="2">
    - <TN RefId="2">
      <T>System.Collections.Generic.List`1[[Microsoft.Windows.ServerBackup.Commands.WBBackupTarget, wsbcmdlet, Version=6.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</T>
      <T>System.Object</T>
      </TN>
    - <LST>
    - <Obj RefId="3">
    - <TN RefId="3">
      <T>Microsoft.Windows.ServerBackup.Commands.WBBackupTarget</T>
      <T>System.Object</T>
      </TN>
      <ToString>F:</ToString>
    - <Props>
      <S N="Label">3TB USB</S>
      <Nil N="WBDisk" />
      <S N="WBVolume">3TB USB (F:)</S>
      <S N="Path">\\?\Volume{7f5bcfe6-a050-44be-80c9-b056f0121819}</S>
      <S N="TargetType">Volume</S>
      <B N="InheritAcl">true</B>
      <B N="PreserveExistingBackup">true</B>
      </Props>
      </Obj>
      </LST>
      </Obj>
    - <Obj N="VolumesToBackup" RefId="4">
    - <TN RefId="4">
      <T>System.Collections.Generic.List`1[[Microsoft.Windows.ServerBackup.Commands.WBVolume, wsbcmdlet, Version=6.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</T>
      <T>System.Object</T>
      </TN>
      <LST />
      </Obj>
    - <Obj N="FilesSpecsToBackup" RefId="5">
    - <TN RefId="5">
      <T>System.Collections.Generic.List`1[[Microsoft.Windows.ServerBackup.Commands.WBFileSpec, wsbcmdlet, Version=6.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</T>
      <T>System.Object</T>
      </TN>
      <LST />
      </Obj>
    - <Obj N="FilesSpecsToExclude" RefId="6">
      <TNRef RefId="5" />
      <LST />
      </Obj>
    - <Obj N="ComponentsToBackup" RefId="7">
    - <TN RefId="6">
      <T>System.Collections.Generic.List`1[[Microsoft.Windows.ServerBackup.Commands.WBApplicationComponent, wsbcmdlet, Version=6.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</T>
      <T>System.Object</T>
      </TN>
    - <LST>
    - <Obj RefId="8">
    - <TN RefId="7">
      <T>Microsoft.Windows.ServerBackup.Commands.WBVirtualMachine</T>
      <T>Microsoft.Windows.ServerBackup.Commands.WBApplicationComponent</T>
      <T>System.Object</T>
      </TN>
      <ToString>0E91F216-553D-4C7C-8178-A09E5D081020\</ToString>
    - <Props>
      <S N="VMName">PCLaw 2008 R2</S>
      <S N="ComponentName">0E91F216-553D-4C7C-8178-A09E5D081020</S>
      <S N="LogicalPath" />
      <S N="Caption">Backup Using Saved State\PCLaw 2008 R2</S>
      <G N="WriterId">66841cd4-6ded-4f4b-8f17-fd23f8ddc3de</G>
      <G N="InstanceId">b0f4f239-bcc6-408f-9db6-b66d5de9458d</G>
      </Props>
      </Obj>
    - <Obj RefId="9">
      <TNRef RefId="7" />
      <ToString>12DCBB00-87D9-4660-82E1-E01245A5E011\</ToString>
    - <Props>
      <S N="VMName">2012CORPEXCHANGE</S>
      <S N="ComponentName">12DCBB00-87D9-4660-82E1-E01245A5E011</S>
      <S N="LogicalPath" />
      <S N="Caption">Backup Using Saved State\2012CORPEXCHANGE</S>
      <G N="WriterId">66841cd4-6ded-4f4b-8f17-fd23f8ddc3de</G>
      <G N="InstanceId">b0f4f239-bcc6-408f-9db6-b66d5de9458d</G>
      </Props>
      </Obj>
    - <Obj RefId="10">
      <TNRef RefId="7" />
      <ToString>8A769D3A-4B21-419A-8BA2-584EC3168C51\</ToString>
    - <Props>
      <S N="VMName">File Server</S>
      <S N="ComponentName">8A769D3A-4B21-419A-8BA2-584EC3168C51</S>
      <S N="LogicalPath" />
      <S N="Caption">Backup Using Saved State\File Server</S>
      <G N="WriterId">66841cd4-6ded-4f4b-8f17-fd23f8ddc3de</G>
      <G N="InstanceId">b0f4f239-bcc6-408f-9db6-b66d5de9458d</G>
      </Props>
      </Obj>
    - <Obj RefId="11">
      <TNRef RefId="7" />
      <ToString>A912807A-04FE-4AB6-981B-01D6489865D6\</ToString>
    - <Props>
      <S N="VMName">DC1</S>
      <S N="ComponentName">A912807A-04FE-4AB6-981B-01D6489865D6</S>
      <S N="LogicalPath" />
      <S N="Caption">Backup Using Saved State\DC1</S>
      <G N="WriterId">66841cd4-6ded-4f4b-8f17-fd23f8ddc3de</G>
      <G N="InstanceId">b0f4f239-bcc6-408f-9db6-b66d5de9458d</G>
      </Props>
      </Obj>
      </LST>
      </Obj>
      <B N="BMR">false</B>
      <B N="SystemState">false</B>
      <B N="OverwriteOldFormatVhd">false</B>
    - <Obj N="VssBackupOptions" RefId="12">
    - <TN RefId="8">
      <T>Microsoft.Windows.ServerBackup.Commands.VssBackupOptions</T>
      <T>System.Enum</T>
      <T>System.ValueType</T>
      <T>System.Object</T>
      </TN>
      <ToString>VssFullBackup</ToString>
      <I32>0</I32>
      </Obj>
      </Props>
      </Obj>
      </Objs>
    ++++++++
    +++++++++++++++++++++++++
    Script does everything perfect except for the backup not being incremental/differential - it just creates a different folder each iteration that it puts the backup into.
    I would appreciate if someone could go through and let me know what we might be doing wrong - why we are not able to get this job to be incremental/differential.
    Thanks in advance.

    Hre are all of the options for Windows Backup:
    http://technet.microsoft.com/en-us/library/ee706670.aspx
    If you can find an incremental backup naywhere in the options then I will admit I have missed something.
    The old Windows Backup, pre-2008, could do incremental backups.  The newer backup system is minimal and serves different purposes.
    The question about how to use a subsystem of Windows is NOT a scripting question.  It is a "how-to" for a Windows component.
    If you do not understand the scrip tyou posted then I recommend finding someone with sufficient understanding of Windows and the new backup Cmdlets to help you top understand how they work.
    Here is the Microsoft description of Windows Server Backup:
    Windows Server Backup consists of a Microsoft Management Console (MMC) snap-in, command-line tools, and Windows PowerShell cmdlets that provide a complete solution for your day-to-day backup and recovery needs. You can use Windows Server Backup to back
    up a full server (all volumes), selected volumes, the system state, or specific files or folders—and to create a backup that you can use for bare metal recovery. You can recover volumes, folders, files, certain applications, and the system state. And, in case
    of disasters like hard disk failures, you can perform a bare metal recovery. (To do this, you will need a backup of the full server or just the volumes that contain operating system files, and the Windows Recovery Environment—this will restore your complete
    system onto your old system or a new hard disk.)
    You can use Windows Server Backup to create and manage backups for the local computer or a remote computer. And, you can schedule backups to run automatically.
    Windows Server Backup is intended for use by everyone who needs a basic backup solution—from small business to large enterprises—but is even suited for smaller organizations or individuals who are not IT professionals.
    It specifically states that only a full server or selected file,device backup is possible.  There is no statement of incremental backup.  Windows Server backup is intended for server recovery.
    If you type "help Set-WBVssBackupOptions
    -full" you will see that there are only two options "full" and "copy".
    Please post your issues in the WS2008 or the WS2012 forum to get more information on how the Windows Server backup service works.
    ¯\_(ツ)_/¯

  • How to uninstall "Command Line Tools" in Xcode 4.3?

    Just installed Command Line Tools using the perference in Xcode 4.3. After removing Xcode 4.3, I found the Command Line Tools are not removed.
    Is there any way to uninstall?
    Thanks!

    Check the 'About Xcode' readme:
    Uninstalling Xcode Developer Tools
    To uninstall Xcode developer tools on the boot volume along with the <Xcode> directory, from a Terminal window type:
    $ sudo <Xcode>/Library/uninstall-devtools --mode=all
    To remove the underlying developer content on the boot volume, but leave the <Xcode> directory and supporting files untouched, from a Terminal window type:
    $ sudo <Xcode>/Library/uninstall-devtools --mode=systemsupport
    To just remove the UNIX development support on the boot volume, but leave the <Xcode> directory and supporting files untouched, from a Terminal window type:
    $ sudo <Xcode>/Library/uninstall-devtools --mode=unixdev
    Finally, to just uninstall the <Xcode> directory you can simply drag it to the trash, or from a Terminal window type:
    $ sudo <Xcode>/Library/uninstall-devtools --mode=xcodedir
    NOTE: The uninstaller that ships with previous versions of the Xcode developer tools will not clean everything off of your system properly. You should use the one installed with these Xcode developer tools.
    -=-
    If you find a black hole with the above, you could always reinstall Xcode, with those tools deselected and then delete according to the above, but all bets are off at that point, sorry
    Good luck in any case.

  • Running a command in a command line tool in fastest way

    Before anything I want to clarify some terms : 
    apk
    file (android application package file) : equivalent to executable (exe) files on windows
    aapt.exe
    : A command line tool which comes with android sdk in order to fetch information of an apk file (It obviously has other usages)
    note : This question is not about an android feature. It's all about C# and functionality of .Net framework 
    An
    apk file has a name just same as any other file, but it has a internal name (which will be shown when you install apk file on android os as name of application) 
    with
    aapt.exe I can get internal name of an apk using following command :  
    aapt
    d badging "<apk path>"
    I
    have copied aapt.exe where executable file of my c# application is and I want  :
    Enter
    above command for each apk in selected directory (using GetAllFiles method)
    I want to get internal names of apk files and
    I've tried a lot of ways and I've searched a lot. finally this is what I've got : 
    Process proc = new Process();
    proc.StartInfo.FileName = "cmd.exe";
    proc.StartInfo.RedirectStandardInput = true;
    proc.StartInfo.RedirectStandardOutput = true;
    proc.StartInfo.UseShellExecute = false;
    proc.StartInfo.StandardOutputEncoding = System.Text.Encoding.UTF8;
    proc.Start();
    using (StreamWriter sw = proc.StandardInput)
    foreach (string path in Directories.GetAllFiles(@"E:\apk", "apk"))
    sw.WriteLine("aapt d badging " + "\"" + path + "\"");
    //following line doesn't work because sStandardInput is open
    Debug.WriteLine(proc.StandardOutput.ReadToEnd());
    // There will be a really huge amount of text (at least 20 line per sw.Writeline) and
    //it impacts performance so following line is not really what I'm looking for
    Debug.WriteLine(proc.StandardOutput.ReadToEnd());
    GetAllFiles is
    a function that I've created to fetch all apk file full path. It gets two argument. First argument is path and second one is extension of file you want its full path to be fetched.
    This is not final code.
    As I've commented it out first Debug.WriteLine doesn't
    work and second one is not a good idea. how should I get output from proc?
    I have tried running process by argument and its awful :)
    As another approach :
    Because apk files are basically zip files I can extract them get what I want from them.
    There is an xml file named Androidmanifest.xml in every apk file.
    Androidmanifest.xml is like an ID card for an apk file and apk internal name can be found in it but here are some problems with this approach : 
    1. Androidmanifest.xml is not a plain text file. It's coded and it requires a lot of complexity to decode it
    2. application name (or apk internal name) is an attribute in this file and it's value is not a string value. It's a reference to a file where strings are stored and worst thing is it's not an easy to find out reference. It's just a number

    And you don't get any output from it? Maybe you're passing the arguments incorrectly?
    No. I don't get any result and I have checked arguments and it's correct.
    But you are already running a separate process for every apk file. You start a single cmd.exe and then send it commands that will cause aapt to be run for every file. Unless aapt accepts multiple apk filenames on the command line there's no way
    around using separate processes.
    I didn't know that. anyway speed in this way is much more rather than creating a function. creating a Process object in it and calling function for each apk file.
    I read somewhere that it's possible to run multiple commands in cmd by & operator but as you said I think every command runs aapt. I have tested this approach too and it's very very slow
    fastest approach I have found is what I have wrote here and speed is about  0.6 per apk file which is still slow when there is thousands of apk files.
    I tried an application that does same thing (fetching apk information) and in it's installation directory I found aapt.exe which means it uses this tool to get information but speed is significantly faster rather than my application.   
    So what's your suggestion about this? 

  • To run a report from command line, when using jdbc-odbc bridge

    Hi,
    How to run a report from command line, when using jdbc-odbc bridge?
    Usually with tns, we do by "rwrun module=<> userid=<user>/<passwd>@tns".
    with odbc, we do by "rwrun module=<> userid=<user>/<passwd>@odbc:DSN"
    Please specify, what is command line arguments for jdbc-odbc bridge driver?
    Environment : Oracle 9i Report Builder on WinNT
    Database : Sybase
    Regards,
    Ramanan

    Hello Ramanan,
    Report Builder : connect JDBC Query in Report Builder is to through Connection Dialog in JDBC Query Editor. User can use a Sign on parameter (can use, default : P_JDBCPDS or can create new) to connect to JDBC Data Source. Connection once made will be mentioned and will be reused through out Reports Builder.
    JDBC PDS allows user to connect one or more same or different kind of databases.
    While running report through runtime or Server, user can pass the sign on parameter(connection string) value, like any other user parameter.
    Syntax for connection string : <username>/<password>@databaseURL . The syntax of database part of connection string depend on the type of JDBC Driver used to connect to Data Source while designing the JDBC Query. databaseURL refer to the location of the database and its format depend on the JDBCPDS river selected in design time while creating the JDBC Query.
    rwrun eg :
    rwrun report=jdbc_odbc.rdf destype=file desname=output.html desformat=html P_JDBCPDS=scott/tiger@database
    Server eg :
    http://server.com:8888/servlet/RWServlet?server=MyReportServer+report=jdbc_odbc.rdf+destype=cache+desformat=html+P_JDBCPDS=scott/tiger@database
    http :
    Please see ORACLE_HOME/reports/conf/jdbcpds.conf for more information.
    With Regards
    Reports Team

  • [Windows Server 2008 R2] [Windows Server Backup] How to remove an old backup set

    Hello,
        long time ago I made a backup of some files of a server on a network location running manually a command like this one:
    "wbadmin start backup -backupTarget:\\Server1\Backup\MyServer\wbadmin_Effe -include:F: -user:DOMAIN\myself -password:******** -quiet"
    Now this network location is no more available because that machine is definitely broken.
    I have no problems to run and create backups on a local drive or on other network locations.
    My only problem is that now, in the main window of Windows Server Backup, when i click "View details" under "All Backups", I can still see that backup as the oldest available... that's a bit annoying.
    It appears also if I run the command "wbadmin GET VERSIONS".
    Does anybody know how can I remove this backup version set from my server?
    Thanks,
        Alex.

    Hi Alex,
    The command will remove all backups existed on your server. If you cannot get Shadow Copy ID and there are "good" backups existed on you server, you could not remove the old backup versions.
    How to completely delete the backup file from network share and clean up the backup version for the server?
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/2ecc1c25-9308-4c50-be37-9762913cab61/how-to-completely-delete-the-backup-file-from-network-share-and-clean-up-the-backup-version-for-the?forum=windowsbackup
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How to schedule multiple backup job through windows server backup in windows server 2008 R2

    hi expert,
    need your help, In my small  environment I am using windows 2008 R2 as a domain controller. and installed windows server feature for backup.
    Now i want to create backup at a different time.
    1. System state backup at 5.00 PM on saturday only
    2.  finance and hr data backup on daily basis at 5.00 PM.
    so how i create different job schedule through windows server backup.
    Regards,
    Triyambak
    Regards, Triyambak

    Scenario #1
    The following command will create a Task Scheduler task named
    DailyFolder1Backup with the start time of 23:00.
    This task will run DAILY with the HIGHESTprivileges. It will run the Windows Server Backup CLI to backup
    g:\folder1 to target volume
    F:.
    SCHTASKS /Create /SC DAILY /TN
    DailyFolder1Backup /RL HIGHEST /ST 23:00/TR
    "wbadmin start backup –backupTarget:F: -include:g\folder1
    -vsscopy -quiet"
    Scenario #2
    The following command will create a Task Scheduler task named
    DailyFolder2Backup with the start time of 24:00.
    This task will run DAILY with the HIGHESTprivileges. It will run the Windows Server Backup CLI to backup
    h:\folder2 to target volume
    F:.
    SCHTASKS /Create /SC DAILY /TN
    DailyFolder2Backup/RL HIGHEST /ST 24:00/TR
    "wbadmin start backup –backupTarget:F: -include:h:\folder2
    -vsscopy -quiet"
    Please feel free to let us know if you have any question or concern.
    Please VOTE as HELPFUL if the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • Lost Windows Server Backup, historical backups. Backup seems to have restarted from a fresh full backup. How can I get to those old backups?

    Scenario with very bad outlook:
    Friday-16th, early AM.  Win2008 SBS Server crashes due to RAID5 issues, bad disk.  Found that server was NOT configured with hot spare and for some reason the controller had marked a 2nd disk bad..which turned out not to be the case.
    Had a single external USB backup drive being fed by Windows Server Backup.  Obtained support from vendor and was able to regain the RAID and start the server. 
    Soon became apparent that Exchange was having serious issues - edb was corrupt and not mountable.  Restore edb from backup, repaired and was eventually able to mount.  Then found it had Hub Transport issues.  Researching that when it was noticed
    NTFS events being logged at a high rate.  Restarted system to repair the filesystem, which was successful.
    After the FS repair, found the Exchange edb, new edb I had created to migrate mailboxes to, and public edb all 0k in size.
    Restored the edb again and commenced repair, which eventually read Clean Shutdown again...but could not get it to mount.  Exchange was having various issues seemingly with AD.
    Changed backup time to avoid a backup that day, as did not want to back up while RAID was rebuilding - had inserted a replacement for the failed drive.
    Monday/19th, was advised that much of the data was corrupt.  This is an accounting firm and relies heavily on their data, especially since the last time their ext USB was rotated was Nov6 2013.  They now have no year end backup, nor a backup from
    post tax season 2014.
    Is it possible to recover any of the historical backups prior to the full backup/restart?
    Oh, and all Shadow Copies for the impacted volume/drive are gone.
    Thank you.

    Hi,
    Please use the “Wbadmin get versions” command to check the backup versions on the server. If there is only latest shadow copy, you may not recover any of the historical backups prior to the full backup.
    Backup Version and Space Management in Windows Server Backup
    http://blogs.technet.com/b/filecab/archive/2009/06/22/backup-version-and-space-management-in-windows-server-backup.aspx
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Can Windows Server Backup spread a single backup job across multiple disks if they are not set up as a virtual disk?

    This may be a dumb question, but I can't seem to find any definitive information after having done many, many searches.  Short question is - can Windows Server Backup spread a single backup job across multiple disks if they are not in a storage
    pool or some other RAID/JBOD structure?
    Background:
    I'm running Server 2012 Essentials with all Windows Updates installed.  I have been backing up approx 2.8TB of data (Bare Metal Recovery, C:, S: (shared folders), and system reserved) for the past year+ onto a storage pool made up of two-2TB external
    USB drives.  Backup is slow (takes approx 1.5 days to complete), but generally works.  Not surprisingly I was constantly getting capacity low messages so I decided to increase my backup storage pool by adding a 3TB drive and another spare 750GB drive
    for a total of 7.75TB.  Instead of having four separate external USB enclosures, I bot a 4-bay enclosure - Startech.com model #S3540BU33E to simplify this (or so I thought!).
    The first problem I had was adding the two new drives to the existing storage pool. I think that is because the Startech uses a JMicron USB controller that reports identical uniqueid's for all drives so only one shows up in the GUI interface for creating storage
    pools. After doing research on this, I set up a new storage pool and virtual disk using all four drives via Powershell and thought I was good. However, when the backup ran, it failed after filling the first drive, saying there was no remaining capacity. In
    reality there were three remaining empty drives and there storage pool reported almost 5TB of avail capacity. I assumed this was due to the identical uniqueid issue so I decided to try a different tactic.
    Instead of using a storage pool that combines all four disks into one virtual disk, I just added each of them to Windows Server Backup as individual drives thinking it would manage them collectively. I.e., when a drive filled up during a particular backup,
    it would just start using the next drive and so on. Apparently this was a foolish assumption because the backup failed again as soon as the first disk filled up.
    So now I don't know if this is still an issue with the identical uniqueid's or if Server Backup actually can't spread a single backup across multiple individual drives that aren't in a pool or other virtual disk implementation. Hence, my original question.
    My guess is that it does *not* spread them across individual disks, but I just wanted to get confirmation.
    Thanks

    Mandy,
    Thank you for following up on my question.
    Unfortunately the article you referenced doesn't address what I am trying to accomplish.
    The article focuses on saving the same backup job to multiple disks and rotating the disks between on and offsite for enhanced protection.  However, it still requires that an individual backup job fits on a single disk.
    What I am trying to determine is if a single backup job can span across more than one physical disk (during the backup process) without those physical disks being in some type of virtual disk implementation (e.g., storage pool, RAID, etc.).
    Thanks,
    Gerry

  • Can I use Azure Backup and Windows Server Backup in a Windows Server ?

    Can I use Azure Backup and Windows Server Backup in a Windows Server ?
    I want to use both Azure Backup and Windows Server Backup for two senarios.
    For Disaster Recovery = Azure Backup to Azure Storage.
    For non-Disacter Recovery = Windows Server Backup to a on-premises disk.
    The non-Disaster Recovery mean a file or folder recovery, disk crash recovery, migrate to another servers.
    The non-Disaster Recovery need the speed of recovery just like 10 TB recovery as soon as possible.
    If I can use both Azure Backup and Windows Server Backup in a Windows Server,
    Are there any notes for using both ?
    Regards,
    Yoshihiro Kawabata 

    Hi Yoshihiro Kawabata,
    Thanks for posting here!
    Azure Backup to Azure Storage and Windows Server Backup to a on-premises disk. These are two different question and can be answered individually.
    Azure Backup to Azure Storage - Possible.
    Windows Server Backup to a on-premises disk - Possible.
    Can I use Azure Backup and Windows Server Backup in a Windows Server? Is a question.
    I will check on this and get back to you at the earliest.
    Thanks!
    Sadiqh

  • How do you repair ntoskrnl.exe error or system error in windows server 2008 and 2012

                              
    hi,
    can you repair system file errors like  ntoskrnl.exe in windows server 2008 and 2012  like   like before  in windows server 2003 ?
     the steps were  repairing ntoskrnl.exe  error in windows server 2003
    1- have a 2003 cd and from that cd  start recovery console and copy from i386 directory ntldr and ntdetect.com to  windows /system32 directory on the  server and then repairing
    2- MBR with fixmbr command  and then  rebuild BOT.INI file  with bootcfg/rebuild . 
    now my question  is how you repair or solve such problem with ntoskrnl.exe error  in windows server 2008 and windows server 2012
    thanks
    johan
    h.david

    first this wil take a lot of time for windows 2008 and 2012 ,
    and what about windows 2003 I thing this has no startup repair
    thanks
    johan
    h.david
    What will take a lot of time? Repair or clean install? These days one can standup a new VM and have an operating system on it in around 20 minutes or so.
    Correct server 2003 is file based deployment and completely different OS from repair perspective as well.
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

Maybe you are looking for

  • HTT ratio, what does it do?

    I'm new at this A64 stuff so bear with me.   As far as the cpu multipler and FSB speeds go I understand, but the HTT stuff thrown in the mix is confusing me.   When the HTT is set to 1x, 2x, etc what is it actually changing and why would I want to ch

  • Showing report in Excel

    I'm having trouble trying to show the output for a report in excel. I used the example located at "http://www.oracle.com/technology/products/reports/htdocs/getstart/demonstrations/excel/index.html" I followed the directions exactly I get an "java.lan

  • ECATT Use for upload master data

    Hi Please Guide me how to use ECATT , when  we Upload the Master data in SAP Best Practice ,not in SAP R/3 ( note : for SAP Best Practice system only) through ECATT. Can anybody have any idea about this Guide me Regards Roobal

  • Holiday Calendar In HR.

    I was wondering the following: In HR there are certain calendars that are assigned to employees through their work schedules. In the project I´m participating, the PS functionality/module is also being used. In this module there are calendars linked

  • How Does Counterstrike 1.6 Perform on Your MBP?

    I know I should be getting a Windows-based desktop for playing CS, but I'm hoping that I can play the same in bed with what I still regard as the sexiest laptop on earth. What are your CS FPS on a MacBook Pro? Does the video card stand up to Valve's