1. Welcome Guest! In order to create a new topic or reply to an existing one, you must register first. It is easy and free. Click here to sign up now!.
    Dismiss Notice

"volume shadow copying" from,the command line?

Discussion in 'Windows Home Server' started by ToddAndMargo, Oct 14, 2009.

  1. ToddAndMargo

    ToddAndMargo Guest

    Hi All,

    I am having a total pain in the neck trying to backup
    some files in my Users directories with xcopy, etc..
    Access violation, etc, even though I am running as
    Administrator.

    Is there a way I can do "volume shadow copying" from
    the command line?

    Many thanks,
    -T
     
  2. "ToddAndMargo" <ToddAndMargo@invalid.com> wrote in message
    news:um0TuqPTKHA.1372@TK2MSFTNGP02.phx.gbl...<!--coloro:blue--><span style="color:blue <!--/coloro-->
    > Hi All,
    >
    > I am having a total pain in the neck trying to backup
    > some files in my Users directories with xcopy, etc..
    > Access violation, etc, even though I am running as
    > Administrator.
    >
    > Is there a way I can do "volume shadow copying" from
    > the command line?
    >
    > Many thanks,
    > -T<!--colorc--><!--/colorc-->

    You could use ntbackup.exe. Alternatively, vshadow.exe might do the trick -
    see here: . I have yet to try
    this approach.
     
  3. ToddAndMargo

    ToddAndMargo Guest

    Pegasus [MVP] wrote:<!--coloro:blue--><span style="color:blue <!--/coloro-->
    > "ToddAndMargo" <ToddAndMargo@invalid.com> wrote in message
    > news:um0TuqPTKHA.1372@TK2MSFTNGP02.phx.gbl...<!--coloro:green--><span style="color:green <!--/coloro-->
    >> Hi All,
    >>
    >> I am having a total pain in the neck trying to backup
    >> some files in my Users directories with xcopy, etc..
    >> Access violation, etc, even though I am running as
    >> Administrator.
    >>
    >> Is there a way I can do "volume shadow copying" from
    >> the command line?
    >>
    >> Many thanks,
    >> -T<!--colorc--><!--/colorc-->
    >
    > You could use ntbackup.exe. Alternatively, vshadow.exe might do the trick -
    > see here: . I have yet to try
    > this approach. <!--colorc--><!--/colorc-->

    Thank you! I got to run to customer site. Will read
    tomorrow.

    Have you seen?


    -T
     
  4. whs

    whs Guest

    ToddAndMargo;1168077 Wrote: <!--coloro:blue--><span style="color:blue <!--/coloro-->
    > Hi All,
    >
    > I am having a total pain in the neck trying to backup
    > some files in my Users directories with xcopy, etc..
    > Access violation, etc, even though I am running as
    > Administrator.
    >
    > Is there a way I can do "volume shadow copying" from
    > the command line?
    >
    > Many thanks,
    > -T<!--colorc--><!--/colorc-->


    Why do you want to do that from cmd. Go to the Backup and Restore
    Center, then in the left pane to "Create a Restore Point ...".You can do
    it right from there.


    --
    whs
     
  5. "ToddAndMargo" <ToddAndMargo@invalid.com> wrote in message
    news:eOLET%23PTKHA.4364@TK2MSFTNGP04.phx.gbl...<!--coloro:blue--><span style="color:blue <!--/coloro-->
    > Pegasus [MVP] wrote:<!--coloro:green--><span style="color:green <!--/coloro-->
    >> "ToddAndMargo" <ToddAndMargo@invalid.com> wrote in message
    >> news:um0TuqPTKHA.1372@TK2MSFTNGP02.phx.gbl...<!--coloro:darkred--><span style="color:darkred <!--/coloro-->
    >>> Hi All,
    >>>
    >>> I am having a total pain in the neck trying to backup
    >>> some files in my Users directories with xcopy, etc..
    >>> Access violation, etc, even though I am running as
    >>> Administrator.
    >>>
    >>> Is there a way I can do "volume shadow copying" from
    >>> the command line?
    >>>
    >>> Many thanks,
    >>> -T<!--colorc--><!--/colorc-->
    >>
    >> You could use ntbackup.exe. Alternatively, vshadow.exe might do the
    >> trick - see here: . I have
    >> yet to try this approach.<!--colorc--><!--/colorc-->
    >
    > Thank you! I got to run to customer site. Will read
    > tomorrow.
    >
    > Have you seen?
    >

    >
    > -T<!--colorc--><!--/colorc-->

    It's the same thing that I mentioned.
     
  6. ToddAndMargo

    ToddAndMargo Guest

    whs wrote:<!--coloro:blue--><span style="color:blue <!--/coloro-->
    > ToddAndMargo;1168077 Wrote: <!--coloro:green--><span style="color:green <!--/coloro-->
    >> Hi All,
    >>
    >> I am having a total pain in the neck trying to backup
    >> some files in my Users directories with xcopy, etc..
    >> Access violation, etc, even though I am running as
    >> Administrator.
    >>
    >> Is there a way I can do "volume shadow copying" from
    >> the command line?
    >>
    >> Many thanks,
    >> -T<!--colorc--><!--/colorc-->
    >
    >
    > Why do you want to do that from cmd. Go to the Backup and Restore
    > Center, then in the left pane to "Create a Restore Point ...".You can do
    > it right from there.<!--colorc--><!--/colorc-->

    I am specifically targeting on certain files with a certain
    extension in each user's desktop. You do not have that kind
    fine control in backup. You have to select the whole c:\users
    directory tree. I could be wrong now ...

    -T
     
  7. "ToddAndMargo" <ToddAndMargo@invalid.com> wrote in message
    news:O3es$BcTKHA.5208@TK2MSFTNGP05.phx.gbl...<!--coloro:blue--><span style="color:blue <!--/coloro-->
    > whs wrote:<!--coloro:green--><span style="color:green <!--/coloro-->
    >> ToddAndMargo;1168077 Wrote:<!--coloro:darkred--><span style="color:darkred <!--/coloro-->
    >>> Hi All,
    >>>
    >>> I am having a total pain in the neck trying to backup
    >>> some files in my Users directories with xcopy, etc..
    >>> Access violation, etc, even though I am running as
    >>> Administrator.
    >>>
    >>> Is there a way I can do "volume shadow copying" from
    >>> the command line?
    >>>
    >>> Many thanks,
    >>> -T<!--colorc--><!--/colorc-->
    >>
    >>
    >> Why do you want to do that from cmd. Go to the Backup and Restore
    >> Center, then in the left pane to "Create a Restore Point ...".You can do
    >> it right from there.<!--colorc--><!--/colorc-->
    >
    > I am specifically targeting on certain files with a certain
    > extension in each user's desktop. You do not have that kind
    > fine control in backup. You have to select the whole c:users
    > directory tree. I could be wrong now ...
    >
    > -T<!--colorc--><!--/colorc-->

    You have no control with System Restore but you have any kind of control
    with ntbackup.exe.
     
  8. whs

    whs Guest

    ToddAndMargo;1168942 Wrote: <!--coloro:blue--><span style="color:blue <!--/coloro-->
    > whs wrote:> > > <!--coloro:green--><span style="color:green <!--/coloro--><!--coloro:darkred--><span style="color:darkred <!--/coloro-->
    > > > ToddAndMargo;1168077 Wrote:> > > > >
    > > > >> Hi All,
    > > > >>
    > > > >> I am having a total pain in the neck trying to backup
    > > > >> some files in my Users directories with xcopy, etc..
    > > > >> Access violation, etc, even though I am running as
    > > > >> Administrator.
    > > > >>
    > > > >> Is there a way I can do "volume shadow copying" from
    > > > >> the command line?
    > > > >>
    > > > >> Many thanks,
    > > > >> -T> > > >
    > > >
    > > >
    > > > Why do you want to do that from cmd. Go to the Backup and Restore
    > > > Center, then in the left pane to "Create a Restore Point ...".You<!--colorc--><!--/colorc-->
    > > can do<!--coloro:darkred--><span style="color:darkred <!--/coloro-->
    > > > it right from there. > > <!--colorc--><!--/colorc--><!--colorc--><!--/colorc-->
    >
    > I am specifically targeting on certain files with a certain
    > extension in each user's desktop. You do not have that kind
    > fine control in backup. You have to select the whole c:users
    > directory tree. I could be wrong now ...
    >
    > -T<!--colorc--><!--/colorc-->


    No you are not wrong. But I know of no way to use VSS to deal with
    individual files. You may want to explore some of the imaging programs
    that also do file backup. Here is a list of free programs: ( '7 Freeware
    Acronis True Image & Norton Ghost Alternatives'
    () ).


    --
    whs
     
  9. whs wrote:<!--coloro:blue--><span style="color:blue <!--/coloro-->
    > ToddAndMargo;1168942 Wrote: <!--coloro:green--><span style="color:green <!--/coloro-->
    >> whs wrote:> > > <!--coloro:darkred--><span style="color:darkred <!--/coloro-->
    >>>> ToddAndMargo;1168077 Wrote:> > > > >
    >>>>>> Hi All,
    >>>>>>
    >>>>>> I am having a total pain in the neck trying to backup
    >>>>>> some files in my Users directories with xcopy, etc..
    >>>>>> Access violation, etc, even though I am running as
    >>>>>> Administrator.
    >>>>>>
    >>>>>> Is there a way I can do "volume shadow copying" from
    >>>>>> the command line?
    >>>>>>
    >>>>>> Many thanks,
    >>>>>> -T> > > >
    >>>>
    >>>> Why do you want to do that from cmd. Go to the Backup and Restore
    >>>> Center, then in the left pane to "Create a Restore Point ...".You
    >>> can do
    >>>> it right from there. > > <!--colorc--><!--/colorc-->
    >> I am specifically targeting on certain files with a certain
    >> extension in each user's desktop. You do not have that kind
    >> fine control in backup. You have to select the whole c:users
    >> directory tree. I could be wrong now ...
    >>
    >> -T<!--colorc--><!--/colorc-->
    >
    >
    > No you are not wrong. But I know of no way to use VSS to deal with
    > individual files. You may want to explore some of the imaging programs
    > that also do file backup. Here is a list of free programs: ( '7 Freeware
    > Acronis True Image & Norton Ghost Alternatives'
    > () ).
    >
    > <!--colorc--><!--/colorc-->

    If you'll look at this link,
    .
    it gives instructions on how to backup live virtual machines. Which is
    not your problem, however it does utilize vshadow.exe (included in VSS
    Software Development Kit) to create shadow copies and then mount one of
    the shadow copies as a drive. From there you can copy whatever files off
    of that mounted drive you want to. In the vb script where it talks about
    VM drive and VM folder, you would of course just substitute what you
    want to backup. It works pretty well for Virtual Server 2005 R2 on
    Windows 2003 R2. And, it might work for you in this situation.

    hth,
    Brooke
     
  10. whs

    whs Guest

    Brooke Justice;1169736 Wrote: <!--coloro:blue--><span style="color:blue <!--/coloro-->
    > whs wrote:> > > <!--coloro:green--><span style="color:green <!--/coloro--><!--coloro:darkred--><span style="color:darkred <!--/coloro-->
    > > > ToddAndMargo;1168942 Wrote:> > > > >
    > > > >> whs wrote:> > >
    > > > >> I am specifically targeting on certain files with a certain
    > > > >> extension in each user's desktop. You do not have that kind
    > > > >> fine control in backup. You have to select the whole c:users
    > > > >> directory tree. I could be wrong now ...
    > > > >>
    > > > >> -T> > > >
    > > >
    > > >
    > > > No you are not wrong. But I know of no way to use VSS to deal<!--colorc--><!--/colorc-->
    > > with<!--coloro:darkred--><span style="color:darkred <!--/coloro-->
    > > > individual files. You may want to explore some of the imaging<!--colorc--><!--/colorc-->
    > > programs<!--coloro:darkred--><span style="color:darkred <!--/coloro-->
    > > > that also do file backup. Here is a list of free programs: ( '7<!--colorc--><!--/colorc-->
    > > Freeware<!--coloro:darkred--><span style="color:darkred <!--/coloro-->
    > > > Acronis True Image & Norton Ghost Alternatives'
    > > > ('7 Freeware Acronis True Image & Norton Ghost Alternatives'<!--colorc--><!--/colorc-->
    > > ()) ).<!--coloro:darkred--><span style="color:darkred <!--/coloro-->
    > > >
    > > > > > <!--colorc--><!--/colorc--><!--colorc--><!--/colorc-->
    >
    > If you'll look at this link,
    > 'Backing Up Live Virtual Server VMs -- Redmondmag.com'
    > (
    ).
    > it gives instructions on how to backup live virtual machines. Which
    > is
    > not your problem, however it does utilize vshadow.exe (included in
    > VSS
    > Software Development Kit) to create shadow copies and then mount one
    > of
    > the shadow copies as a drive. From there you can copy whatever files
    > off
    > of that mounted drive you want to. In the vb script where it talks
    > about
    > VM drive and VM folder, you would of course just substitute what you
    > want to backup. It works pretty well for Virtual Server 2005 R2 on
    > Windows 2003 R2. And, it might work for you in this situation.
    >
    > hth,
    > Brooke<!--colorc--><!--/colorc-->

    Would be interesting to know whether that works in Vista. It was my
    understanding the VSS works differently in the server OS than in Vista.
    But maybe I am wrong.


    --
    whs
     
  11. whs wrote:<!--coloro:blue--><span style="color:blue <!--/coloro-->
    > Brooke Justice;1169736 Wrote: <!--coloro:green--><span style="color:green <!--/coloro-->
    >> whs wrote:> > > <!--coloro:darkred--><span style="color:darkred <!--/coloro-->
    >>>> ToddAndMargo;1168942 Wrote:> > > > >
    >>>>>> whs wrote:> > >
    >>>>>> I am specifically targeting on certain files with a certain
    >>>>>> extension in each user's desktop. You do not have that kind
    >>>>>> fine control in backup. You have to select the whole c:users
    >>>>>> directory tree. I could be wrong now ...
    >>>>>>
    >>>>>> -T> > > >
    >>>>
    >>>> No you are not wrong. But I know of no way to use VSS to deal
    >>> with
    >>>> individual files. You may want to explore some of the imaging
    >>> programs
    >>>> that also do file backup. Here is a list of free programs: ( '7
    >>> Freeware
    >>>> Acronis True Image & Norton Ghost Alternatives'
    >>>> ('7 Freeware Acronis True Image & Norton Ghost Alternatives'
    >>> ()) ).<!--colorc--><!--/colorc-->
    >> If you'll look at this link,
    >> 'Backing Up Live Virtual Server VMs -- Redmondmag.com'
    >> (
    ).
    >> it gives instructions on how to backup live virtual machines. Which
    >> is
    >> not your problem, however it does utilize vshadow.exe (included in
    >> VSS
    >> Software Development Kit) to create shadow copies and then mount one
    >> of
    >> the shadow copies as a drive. From there you can copy whatever files
    >> off
    >> of that mounted drive you want to. In the vb script where it talks
    >> about
    >> VM drive and VM folder, you would of course just substitute what you
    >> want to backup. It works pretty well for Virtual Server 2005 R2 on
    >> Windows 2003 R2. And, it might work for you in this situation.
    >>
    >> hth,
    >> Brooke<!--colorc--><!--/colorc-->
    >
    > Would be interesting to know whether that works in Vista. It was my
    > understanding the VSS works differently in the server OS than in Vista.
    > But maybe I am wrong.
    >
    > <!--colorc--><!--/colorc-->

    I have not used this on Vista, but have used a third party program to
    expose the shadow copies on Vista in order to restore a PST. So, it's
    possible. If I remember right, XP uses Shadow copy only to copy system
    files, registry, etc, but Vista and Server2003 on up will shadow copy
    the whole volume. The following links may help...

    Vshadow Tool referenced in the VSS SDK


    VSS information and at the bottom, links to MS Windows SDK which has
    vshadow.exe for W2k3 and up included, and to the VSS SDK 7.2


    hth,
    Brooke
     
  12. whs

    whs Guest

    Brooke Justice;1169948 Wrote: <!--coloro:blue--><span style="color:blue <!--/coloro-->
    > whs wrote:> > > <!--coloro:green--><span style="color:green <!--/coloro--><!--coloro:darkred--><span style="color:darkred <!--/coloro-->
    > > > Brooke Justice;1169736 Wrote:> > > > >
    > > > >> whs wrote:> > >
    > > > >> If you'll look at this link,
    > > > >> 'Backing Up Live Virtual Server VMs -- Redmondmag.com'
    > > > >> ('Backing Up Live Virtual Server VMs -- Redmondmag.com'
    > > > ()).
    > > > >> it gives instructions on how to backup live virtual machines. Which
    > > > >> is
    > > > >> not your problem, however it does utilize vshadow.exe (included in
    > > > >> VSS
    > > > >> Software Development Kit) to create shadow copies and then mount one
    > > > >> of
    > > > >> the shadow copies as a drive. From there you can copy whatever files
    > > > >> off
    > > > >> of that mounted drive you want to. In the vb script where it talks
    > > > >> about
    > > > >> VM drive and VM folder, you would of course just substitute what you
    > > > >> want to backup. It works pretty well for Virtual Server 2005 R2 on
    > > > >> Windows 2003 R2. And, it might work for you in this situation.
    > > > >>
    > > > >> hth,
    > > > >> Brooke> > > >
    > > >
    > > > Would be interesting to know whether that works in Vista. It was<!--colorc--><!--/colorc-->
    > > my<!--coloro:darkred--><span style="color:darkred <!--/coloro-->
    > > > understanding the VSS works differently in the server OS than in<!--colorc--><!--/colorc-->
    > > Vista.<!--coloro:darkred--><span style="color:darkred <!--/coloro-->
    > > > But maybe I am wrong.
    > > >
    > > > > > <!--colorc--><!--/colorc--><!--colorc--><!--/colorc-->
    >
    > I have not used this on Vista, but have used a third party program to
    > expose the shadow copies on Vista in order to restore a PST. So, it's
    > possible. If I remember right, XP uses Shadow copy only to copy
    > system
    > files, registry, etc, but Vista and Server2003 on up will shadow copy
    > the whole volume. The following links may help...
    >
    > Vshadow Tool referenced in the VSS SDK
    > 'VShadow Tool and Sample (Windows)'
    > (
    )
    >
    > VSS information and at the bottom, links to MS Windows SDK which has
    > vshadow.exe for W2k3 and up included, and to the VSS SDK 7.2
    > 'Volume Shadow Copy Service (Windows)'
    > (
    )
    >
    > hth,
    > Brooke<!--colorc--><!--/colorc-->


    Right. Getting stuff off the shadows is easy with Shadow Explorer (
    'ShadowExplorer.com - About' (
    ) ). Long
    time ago I even made a video tutorial on it ( 'Recover lost files with
    Shadow Explorer - Tutorial on Vimeo' (
    ) ).
    You can also find a written version here: ( 'Recover Files with Shadow
    Copies on Any Version of Windows Vista :: the How-To Geek'
    (
    )).


    --
    whs
     

Share This Page