Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



VSSWriter issue of listing

Windows Software


Reply
 
Thread Tools Search this Thread
  #1  
Old 23-10-2008
Member
 
Join Date: Oct 2008
Posts: 3
question VSSWriter issue of listing
  

Hi ,
I am writing sample vss writer for my backup application.
I am facing a problem , that my Sample writer is not listed when i give call to vssadmin list writers.

Can anybody help me how to register customized vss writer.
I am using Intialize method of VSSWriter class and subscribe method to do it.

Any help will be appriciable.
thanks
harshal

Reply With Quote
  #2  
Old 23-10-2008
Member
 
Join Date: Sep 2005
Posts: 1,466
See similar threads: VSS writer issue

VSS writers problems backing up

http://forums.techarena.in/server-cluster/403658.htm

And also the Tags: http://forums.techarena.in/tags/index.php/vss/
Reply With Quote
  #3  
Old 03-11-2008
Member
 
Join Date: Oct 2008
Posts: 3
Re: VSSWriter issue of listing

Hi Unidentified,

Thanks for reply ... but those links are not giving me any clue.
For more understanding , i m psoting my sample code

hr = ::CoInitializeEx(NULL, COINIT_MULTITHREADED);


hr = ::CoInitializeEx(NULL, COINIT_MULTITHREADED);

hr = CoInitializeSecurity(
NULL,
-1,
NULL,
NULL,
RPC_C_AUTHN_LEVEL_PKT_PRIVACY,
RPC_C_IMP_LEVEL_IDENTIFY,
NULL,
EOAC_NONE,

NULL
);


hr = CVssWriter::Initialize(TestWriterId,
TestWriterName,
(VSS_USAGE_TYPE)4,
VSS_ST_OTHER);


Can you give me any hint on this

Suggetions are welcome

Thanks
Reply With Quote
  #4  
Old 04-11-2008
Member
 
Join Date: Dec 2007
Posts: 2,273
Re: VSSWriter issue of listing

Registry Backup and Restore Operations Under VSS
The Windows Registry Service supports a VSS writer, called the registry writer, which allows requesters to back up a system registry using data stored on a shadow copied volume. However, non-VSS Win32 APIs are required to restore a registry.

The registry writer performs in-place backups and restores of the registry. In addition, the registry writer reports only system hives; it does not report user hives.

Windows Server 2003 and Windows XP: The registry writer uses an intermediate repository file (also known as a spit file) to store registry data. In addition, the registry writer reports system hives and user hives.
The writer ID for the registry writer is AFBAB4A2-367D-4D15-A586-71DBB18F8485.

Registry Backup Using VSS
The registry writer will export and save active registry files in the locations defined by the key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\hivelist.

The names of the values under this registry entry identify the registry hive to be saved, and the value's data provides the file containing the file (the hive file). The hive files are specified with the following format: \Device\HarddiskVolumeX\path\filename.

For example, under HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\hivelist, you might see \REGISTRY\MACHINE\SOFTWARE = \Device\HarddiskVolume1\Windows\System32\config\SOFTWARE.


The registry writer ensures that hive files are saved to disk prior to its shadow copy.

When backing up the registry hives, a requester would replace \Device\HarddiskVolumeX with the device object string of the volume's shadow copy.

Note You can convert the \Device\HarddiskVolumeX path to an equivalent Win32 path by using the QueryDosDevice function. For more information, see Obtaining a File Name From a File Handle or Displaying Volume Path Names.

For more follow this link: http://msdn.microsoft.com/en-us/libr...95(VS.85).aspx
Reply With Quote
  #5  
Old 24-12-2008
Member
 
Join Date: Oct 2008
Posts: 3
Re: VSSWriter issue of listing

Hi ,

I was on leave. Unfortunatly none of the reply are helpful for me.
Please can anybody help me in this problem of VSS Writer.
Reply With Quote
  #6  
Old 25-12-2008
Member
 
Join Date: Dec 2008
Posts: 128
Re: VSSWriter issue of listing

Are you referring the KB article which discuss com errors seen via event
viewer? i suppose you have to reboot everyday to ensure backups don't fail. There has to be another way of forcing these writers to reset without having to restart the server surely or at least be a fix?

Regards,
Reply With Quote
Reply

  TechArena Community > Software > Windows Software
Tags:



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "VSSWriter issue of listing"
Thread Thread Starter Forum Replies Last Post
How to listing forum in DMOZ Cheapstake Technology & Internet 7 15-07-2011 12:03 AM
Getting an error while updating company’s listing on Bing Local Listing Lotas Technology & Internet 4 15-04-2011 11:48 AM
Listing of tables with schema Norse Software Development 2 12-02-2010 10:58 PM
Directory listing of a website Gunner 1 Software Development 5 29-01-2010 02:01 PM
Dynamically listing comboBox MAGALY Software Development 3 25-11-2009 05:41 PM


All times are GMT +5.5. The time now is 02:59 PM.