Announcement

Collapse
No announcement yet.

shell diskshadow win2008 64bit

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Thomas Schloßbauer
    replied
    Thanks Georg, but this is the only one that I found before I put it in this forum

    Sorry George !

    Leave a comment:


  • George Bleck
    replied
    Found this single link which might be of some vague assistance...


    http://social.technet.microsoft.com/...a-42a21192c630

    Leave a comment:


  • Scott Slater
    replied
    Originally posted by George Bleck View Post
    Is the server running in 64bit?
    2008 Server is only available in 64-bit.

    Leave a comment:


  • George Bleck
    replied
    Is the server running in 64bit?

    Just hazarding a wild guess but perhaps if you do it from a script directly it runs in native 64bit mode but when you try to do it from PB it runs it from WoW64 (32bit compatibility mode) and it's a sort of "thunking" issue?

    Leave a comment:


  • Thomas Schloßbauer
    replied
    Powerbasic 32/64bit problem ??

    Is it not really a powerbasic problem or why does no one knows this error ? Since two weeks no answer ?? Is it so unusual to develop with cc the win 2008 64bit shell ??

    Leave a comment:


  • Thomas Schloßbauer
    started a topic shell diskshadow win2008 64bit

    shell diskshadow win2008 64bit

    Does someone know the error message: COM call "(*vssObject)->InitializeForBackup" failed ??

    I use diskshadow.exe on hyper-v server 2008 and test my scripts on the command line - everything works. If I let my pb-executable do this job on the server with :

    strCmd = "diskshadow -s """ & CURDIR$ & "\mybackup_vhd.txt"""
    SHELL strCmd EXIT TO lExitCode

    will bring the COM-Error. I try explicit all the 32bit and 64bit variants of diskshadow.exe and cmd.exe but nothing works. Is it win2008 or is it the SHELL command from PB ??

    My project is a tcp/ip server that listen on commands from the network and do this backup jobs. All works fine (diskpart, etc.). My actual workaround is to create jobs in the 2008 scheduler an start and stop this jobs from PB (schtasks /RUN /TN "ShadowDelete").

    Is there someone who knows this point ?

    Script-Example: diskshadow -s mybackup_vhd.txt

    set context persistent
    set metadata c:\backupserver\metadata.cab
    begin backup
    add volume c: alias backupname
    create <-----------------------------this produced the COM-Error
    expose %backupname% shadowhdd
    end backup
    exit
Working...
X