backup using wbadmin on windows 7 pro x 64
Hi
when I try to run a backup script using wbadmin I get the error message that incremental backup is not allowed on this volume of windows? how do I solve this?
thanks for your help
the script that I am using is this one
@echo off
::Demo-Backup.bat
::demonstration script using WBADMIN.EXE on a Windows Server 2008 R2 Server
::http://redmondmag.com/Articles/2010/04/01/Backup-Basics-in-Windows-Server-2008-R2.aspx?Page=1
::Revised 9:58 AM 7/26/2010
set backupshare=F:\backup
rem files and folders to include
set include=c:\Scripts,C:\Users\paul-desktop
set m=%date:~4,2%
set d=%date:~7,2%
set y=%date:~10,4%
set h=%time:~0,2%
set min=%time:~3,2%
set sec=%time:~6,2%
rem handle blanks in hour
if /i %h:~0,1%$==$ set h=0%h:~1,1%
rem defining a new folder like \\mycompany-dc01\backup\RESEARCHDC\12152009_132532
set newfolder=%backupshare%\%computername%\%m%%d%%y%_%h%%min%%sec%
echo Creating %newfolder%
mkdir %newfolder%
rem run the backup
echo Backing up %include% to %newfolder%
wbadmin start backup -backuptarget:%newfolder% -include:%include% -quiet
rem Clear variables
set backupshare=
set include=
set m=
set d=
set y=
set h=
set min=
set sec=
set newfolder=
::EOF
pause
February 18th, 2011 5:15pm
Hi,
Thanks for the post!
Please refer to:
Wbadmin start backup
For the script issue, I recommend you ask this question in
Script Forum.
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and
other communities who read the forums regularly can either share their knowledge or learn from your interaction with us.
Thanks for your understanding and cooperation!
Best Regards,
Miya YaoThis posting is provided "AS IS" with no warranties, and confers no rights. | Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer
your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
February 21st, 2011 11:31pm