Home Not Spam

Command Line Backup Error Messages

edited October 3 in Not Spam
Using this as the command line: AMBackup.exe /b full /t system /d "\\192.168.1.107\gary\PrincessBesat\PSBK" /n "PSFull"
When executed, a second command prompt screen appears and closes. The log shows:

[2024-09-11 12:19:08] Version==1 return code: 0x00000002, .
[2024-09-11 12:19:09] [2       ]dyndisk.cpp(213): Failed to RegQueryValueEx on GetSysDgGuid.
[2024-09-11 12:19:09] [0       ]ldmio.cpp(89): No dynamic disks are found.
[2024-09-11 12:19:09] 

I believe this means it cannot find my NAS, however, there is no problem when running this manually.

Any suggestions?

Comments

  • edited September 11
    Thank you for your question Gary, I understand you are using BU on the cmd line, and across a network, is that correct?
    Is this the plain BU product, or the BU Centralized product?
    could you please help us with more info
    Could you please reply with the answers to:
    1) Which motherboard mode Legacy-BIOS, UEFI-CSM, UEFI-nonCSM?
    2) What PC brand, year, model #, desktop or laptop?
    3) Which hard drive partition table type MBR or GPT?
    4) What Aomei product tier Standard, Pro, Other? Version?
    5) What Windows version 10, 11, Home, Pro, Enterprise?
    6) Please upload the log file. C:\Program Files (x86)\AOMEI\AOMEI Backupper\<Version>\log\reg.log
    7) Please post a screenshot of your issue, and also of
    Cmd
    Diskpart
    list disk
    select disk #
    list partition
    list volume
    detail disk
    Aomei Centralized Backupper
    https://www.aomeitech.com/aomei-centralized-backupper.html#compare
    Remotely manage PCs on 1 dashboard
    Backupper Guide
    https://www.ubackup.com/help/

    Backupper Manual
    https://www.aomeitech.com/docs/AOMEI_Backupper_UserManual.pdf


  • Gathering information for you. However, while reproducing problem, I ran the CMD prompt in ADMIN mode. This produced the attached error message. 

    This may be a network issue, but the message of Untested version 6.2 for AMBackup.exe is also a possibility. I'll continue looking at the network access but is there a newer version of AMBackup?
  • edited September 13
    Please post a screenshot of your issue, and also of
    Diskpart
    list disk
    select disk #
    list partition
    list volume
    detail disk
    Aomei Free Downloads
    https://www.aomeitech.com/download.html
    Uninstall free version to get 50% off Paid Version.
    Backupper Pro Edition
    https://www.ubackup.com/changelog.html
    Keeps license activated when updating Pro version.

  • Is this the plain BU product, or the BU Centralized product?
  • @Garyp87 "This may be a network issue, but the message of Untested version 6.2 for AMBackup.exe is also a possibility. I'll continue looking at the network access but is there a newer version of AMBackup? "---Please ignore this error. It does not actually affect the command line running and result.
  • edited October 3

    It looks like you're having trouble running the AMBackup command line for your backup task, especially since it works fine manually. Here are a few suggestions that might help resolve the issue:

    1. Run as Administrator: Make sure to run the command prompt as an administrator. Sometimes, permissions can cause issues when executing commands.

    2. Network Path Accessibility: Verify that the NAS path (\\192.168.1.107\gary\PrincessBesat\PSBK) is accessible from the command line environment. You can test this by trying to navigate to the path in the command prompt using the dir command:

      cmd

    dir "\\192.168.1.107\gary\PrincessBesat\PSBK"

    Check Firewall Settings: Ensure that your firewall or any security software isn’t blocking access to the NAS when running commands from the command line. Sometimes, these programs can restrict network access.

    Environment Variables: If the backup tool relies on any specific environment variables or paths that may differ between manual execution and command line, ensure they are correctly set.

    Log Output: Since the second command prompt window closes quickly, consider redirecting the output of the command to a text file so you can review it:

    cmd
    AMBackup.exe /b full /t system /d "\\192.168.1.107\gary\PrincessBesat\PSBK" /n "PSFull" > output.txt 2>&1

    This will help capture any error messages for further analysis.

    Check for Dynamic Disks: The log indicates that no dynamic disks are found. Ensure that the disk configuration on your system is correct and that it meets the requirements for AMBackup.

    Manual Verification: Since it works manually, consider breaking down the command into smaller parts to see where the issue lies. You can test individual components of the command to isolate the problem.

    If the problem persists after trying these steps, providing additional details about your environment or any recent changes could assist others in troubleshooting further.

Sign In or Register to comment.