Solved

Ghost API from VB.Net

Posted on 2013-01-13
9
550 Views
Last Modified: 2013-01-18
Hi Experts,

I want to call Norton Ghost 15.0 backup & restore module from my VB.Net application. Is there any API / Commands available for this purpose. Any sample code, about how to call Norton Ghost from VB.Net / .Net application?

Regards,
Soumen
0
Comment
Question by:Soumen-Roy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
9 Comments
 
LVL 42

Accepted Solution

by:
sedgwick earned 500 total points
ID: 38771798
you simply call the ghost command from your vbnet using Process object.

for instance, to back up the main hard drive:

Process.Start("c:\progra~1\symantec\Norton~1\ghostexp.exe", "-clone,mode=dump,src=1,dst=d:\backups\maindrv.gho")

Open in new window

0
 

Author Comment

by:Soumen-Roy
ID: 38771805
@sedgwick,

I installed "Norton Ghost 15.0" 30 days trial in my XP SP3 32 Bit PC. I found no ghostexp.exe in the installation directory "C:\Progra~1\Norton\...". I searched my entire HDD but no such exe exists. Am I doing any wrong?

Regards,
Soumen
0
 
LVL 42

Expert Comment

by:sedgwick
ID: 38771871
ghost32.exe and ghost.exe are not included in the free trial only in the full licensed product.
so you basically have no way of running ghost commands from your .net app.

in case you are able to put your hands on either one, here's a link to the user reference ghost command-line switchws:

Ghost's command-line switches
0
MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

 

Author Comment

by:Soumen-Roy
ID: 38771970
@sedgwick,

My friend has licensed "Norton Ghost 15.0" and I found ghost32.exe / ghost.exe nowhere in his PC also. Is it included in ver 15? I can not find those.

Regards,
Soumen
0
 
LVL 42

Expert Comment

by:sedgwick
ID: 38771980
i meant the ghost solution, check the reply here:
http://www.symantec.com/connect/forums/does-ghost-15-include-ghost32exe-and-ghost64exe

download the trial here:
Symantec Ghost Solution Suite
0
 

Author Comment

by:Soumen-Roy
ID: 38772025
@sedgwick,

Thanx, understood. Let me check. Give me some time.

Regards,
Soumen
0
 

Author Comment

by:Soumen-Roy
ID: 38772066
@sedgwick,

Thank you, it worked, I got those two exes. But I surprised there are two exes. ghost32.exe and ghost.exe. There is no ghost64.exe available. So, no exe for 64 bit! But that link you provided

http://www.symantec.com/connect/forums/does-ghost-15-include-ghost32exe-and-ghost64exe

clearly says that 64 bit is available. Probably I am using 32 bit XP SP3, thats why 64bit exe not available. I am not sure.

Your code

Process.Start("c:\progra~1\symantec\Norton~1\ghostexp.exe", "-clone,mode=dump,src=1,dst=d:\backups\maindrv.gho")

indicating that you are suggesting to use ghostexp.exe instead of ghost32.exe. May I ask you why?

I want to do 3 thing,

1. back up system / windows file
2. back up data / folders from HDD
3. restore those from particular location

Can you please help me with these three parameters with Process.Start?

Regards,
Soumen
0
 

Author Comment

by:Soumen-Roy
ID: 38792042
I've requested that this question be closed as follows:

Accepted answer: 0 points for Soumen-Roy's comment #a38771805

for the following reason:

Excellent solution, as expected
0
 

Author Closing Comment

by:Soumen-Roy
ID: 38792043
I wanted to close it as I got an excellent solution from Sedgwick, but probably done some mistake at last time by my end. Sorry for that. Sedgwick solve my problem by providing me a nice solution.

Thanx
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to update Firmware and Bios in Dell Equalogic PS6000 Arrays and Hard Disks firmware update.
VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question