Results 1 to 7 of 7
-
11-01-2012, 11:26 AM #1Newcomer
- Join Date
- Nov 2012
- Posts
- 3
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Unregister/remove files from "VSS repository"
Hi,
Is there a way to unregister/remove a file from the "VSS repository". TSM is unable to backup a file that is not available (remote location, TSM is running as Local System), which shows up as a warning in the backup report.
I know of diskshadow, used that utility to show the list of files that will be backed up as a part of VSS. But that utility doesn't seem to provide any way to unregister/remove files. Need to remove the faulting file from that list.
How do files end up on that list anyway?
Thanks in advance!
// B //
-
11-01-2012, 11:50 AM #2Moderator
- Join Date
- Aug 2005
- Location
- Somewhere in the US
- Posts
- 5,301
- Thanks
- 2
- Thanked 137 Times in 135 Posts
You can try from the node itself:
- Enter CLI: dsmc
- 'help delete backup' for details.Ed
-
11-01-2012, 11:59 AM #3
This happened to me and we created a dummy file for the one missing. It's a known issue and if you search the error MS states the easiest way to fix it is to create a dummy file in the location specified. So open up notepad and save a small text file under the same name and location.
-
11-02-2012, 04:21 AM #4Newcomer
- Join Date
- Nov 2012
- Posts
- 3
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Thank you for your answer! I don't want to delete a file from a backup set. Actually, the file never ends up on backup. When TSM performs it's VSS backup, it throws an error message in dsmerror.log.
2012-11-02 00:39:33 ANS4251W System Writer file '\\localserver\c$\Windows\system32\remoteserver\vi sma$\visma\business\visma.businesshost.exe': not found.
Localserver is the name of the local server and remote server is a... remote server (doesn't the path look wierd?)
Performing a "list writers detailed" gives me the following output (i have trimmed it to contain only the necessary part, normally the list contain looots of files)
* WRITER "System Writer"
- Writer ID = {e8132975-6f93-4464-a53e-1050253ae220}
- Writer instance ID = {2c5847f1-f9fa-40ad-bd57-4d7e374d7f4e}
- Supports restore events = FALSE
- Writer restore conditions = VSS_WRE_NEVER
- Restore method = VSS_RME_RESTORE_AT_REBOOT_IF_CANNOT_REPLACE
- Requires reboot after restore = TRUE
- Excluded files:
+ Component "System Writer:\System Files"
- Name: System Files
- Logical path:
- Full path: \System Files
- Caption: System Files
- Type: VSS_CT_FILEGROUP [2]
- Is selectable: FALSE
- Is top level: TRUE
- Notify on backup complete: FALSE
- Components:
- File List: Path = \\srv314\visma$\visma\business, Filespec = visma.businesshost.exe
What I want to accomplish is to remove the file from the VSS writer "System Writer" list of files. So far I haven't found out on how to do this :/
-
11-02-2012, 04:23 AM #5Newcomer
- Join Date
- Nov 2012
- Posts
- 3
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Thank you for your reply! The file isn't actually missing, the path is on a remote computer, not sure if it's possible to trick TSM or the OS that the file is local, using a dummy file. As TSM is running under the LocalSystem account, there is no way for TSM to access the remote file as LocalSystem (security). Sure, I could change the user that the TSM services are running as, but I don't need the remote file, so it seems like the wrong approach. I would like to fix the problem at the source. I am not familiar on how VSS works in detail, but I figure that previous to a VSS backup, TSM will ask the OS for files that will be included in a VSS backup (it appears to be different sets for different VSS writers). What I really want to know is how to get that file off the list of VSS files for a specific VSS writer.
-
11-12-2012, 01:39 AM #6Member
- Join Date
- May 2007
- Posts
- 44
- Thanks
- 0
- Thanked 1 Time in 1 Post
Try adding these lines to your opt file and see if the error goes away.
SNAPSHOTPROVIDERFS VSS
SNAPSHOTPROVIDERIMAGE VSS
SKIPMISSINGSYSWFILES YES
-
11-12-2012, 01:36 PM #7Member
- Join Date
- Dec 2011
- Posts
- 56
- Thanks
- 4
- Thanked 1 Time in 1 Post
Couldn't you just add an EXCLUDE for the specific files to the dsm.opt file if you know you don't want that file backed up?
Similar Threads
-
SQL2025N An I/O error "-72" occurred on media "TSM" on DB2 onoline backup
By AjM in forum DB2Replies: 2Last Post: 10-18-2012, 12:45 PM -
Keep getting "ANE4005E file not found" even with SNAPSHOTPROVIDERFS=VSS
By heiermann in forum TSM ClientReplies: 0Last Post: 05-07-2012, 06:18 AM -
How remove the directory "adsm.sys\Eventlog" ?...
By yilas in forum Backup / Archive DiscussionReplies: 1Last Post: 09-26-2006, 02:11 PM -
TDP for SQL: Backups changing DB recovery mode from "normal" to "simple"?
By c.j.hund in forum TDP/Application Layer BackupReplies: 1Last Post: 09-12-2006, 04:29 AM -
accidental "delete filespace" and "remove node"
By rogwall in forum Administrative ClientReplies: 2Last Post: 05-09-2006, 02:57 PM


Reply With Quote
