Link to home
Start Free TrialLog in
Avatar of Olaf De Ceuster
Olaf De CeusterFlag for Australia

asked on

Add a drive to be back-up in SBS 2011

Hi All,

Does anyone know the command lines to use in order to add a new drive to be backed (F;) up to an existing SBS 2011 shedule. Wizard does not work. I  had to add another data drive for this client and need to add it to the normal SBS backup.
Any suggestions would be appreciated.
Regards
Olaf
Avatar of Tahir2008
Tahir2008

We do not tend to use Windows SBS backup as I find in a real disaster scenario it probably wont be adequate so we utilise Shadow Protect from Storage Craft. However, you could see if this article below helps you with what you require:

http://www.deltech-cs.com/blog/archives/add-multiple-backup-destinations-to-windows-sbs-2011-when-not-all-backup-devices-are-available-onsite/
Avatar of Olaf De Ceuster

ASKER

Thanks tahir,

That is the way I have added "destination drives"
However I need to add a drive to BE backed up.
Am currently backing up C: and E:.
I added F: drive. Need to add F: to the existing Backup.
Hope that makes more sense.
Regards
Olaf
Avatar of Jeffrey Kane - TechSoEasy
Why isn't the backup wizard working?

What is the error you are getting?

Jeff
Hi Jeff,

Don't really know. Can't find any wizard logs (Don't really know where they are)
I added two new two new drives using the wbadmin enable backup -addtarget:
command.
Can I use that to add F: drive to backup?
Error:
User generated imageOlaf
I know the syntax to use:
wbadmin enable backup
[-addtarget:<BackupTarget>]
[-removetarget:<BackupTarget>]
[-schedule:<TimeToRunBackup>]
[-include:<VolumesToInclude>]
[-nonRecurseInclude:<ItemsToInclude>]
[-exclude:<ItemsToExclude>]
[-nonRecurseExclude:<ItemsToExclude>][-systemState]
[-allCritical]
[-vssFull | -vssCopy]
[-user:<UserName>]
[-password:<Password>]
[-quiet]

But where do I find the original to edit and add include the volume?
Olaf
We need to see exactly why that error is occuring.  The log is found here:

C:\Program Files\Windows Small Business Server\Logs\SBCW.log
FYI, I actually have a feeling that the real problem is that by adding this additional volume to your backup, there is now not enough room on the backup destination drives to accommodate the POTENTIAL data.

See http://support.microsoft.com/kb/2534385 for info about this as it's a common issue when you add additional volumes to an SBS backup.
Hi Jeff,

Thanks for the log location.
The log only gives the following error:
"Terminating error in Set-WBPolicy: System.Exception:
The filename, directory name, or volume label syntax is incorrect"
Not even a hint of F: drive being added?

Which is why I used the wbadmin command.
Room does not seem an issue. Using 2.5TB drives and I reformattrf them with the correct partition sizes.

Olaf
Well, that's the error message we needed:
http://support.microsoft.com/kb/2009365

Jeff
So, use option 3 there and just running the WBADMIN command will add it to your backup job/schedule.
Option 3 is what i already used to add a the existing backup destinations.
The issue I have is to add an item to the backup. :(
Can't remove BU drives either.
Olaf
The issue I have is to add an item to the backup. :(

Running the command:  
WBADMIN ENABLE BACKUP -addtarget:{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}

Will add the item to the backup.

Philip has already documented all of this:
http://blog.mpecsinc.ca/2011/06/sbs-2011-backup-error-add-destination.html
I am still having issues finding the wbadmin string that is being used for the existing backup and adding the volume to be backed up .
Adding an extra drive with the following command I do all the the time:
WBADMIN ENABLE BACKUP -addtarget:{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
But it does not allow me to cahage or add shedule or included volumes.
It says it will continue with existing shedules and volumes.
Does anyone know how I can change that pleas?
Olaf
SOLUTION
Avatar of Jeffrey Kane - TechSoEasy
Jeffrey Kane - TechSoEasy
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Use the Windows Server Backup Snap-in from Start > Administrative Tools > Windows Server Backup.  click 'Backup Schedule' to start the Backup Schedule Wizard and follow the wizard options to change existing backup settings.
It looks like many other suggestions have been made and none of which are working. You dais you have either tried all suggestions or that you cannot perform some of the others. That been so I suggest you go to Server Manger and remove the Windows Backup Feature (a reboot may be required but don't think so). Then add the Windows backup Feature back and see if that will fix the backup Wizard and allow you to use the -addtarget command
Why is everybody being so dense on this thread?

The OP has stated clearly that he wants to BACK UP AN ADDITIONAL VOLUME in SBS 2011.  That would be wbadmin -include:   rather than wbadmin -addtarget: as everybody seems to think.  This DOES NOT seem to be the well documented "The filename, directory name, or volume label syntax is incorrect".

Maybe time for a little reading and comprehension practice?
2.5 TB additional volume?


Is it formatted as GPT or MBR?
2TB in MBR.
Thanks
Olaf
Can I rephrase:
If I used the wbadmin method to setup my backup:
Where can I find the wbadmin command that is being run for my backups so I can edit it and -incude another volume? Howcan I see the command bein run every day?
Thanks
Olaf
With the old ntbackup you could run backup wizard, schedule it to run on specific schedule and then go to the scheduled tasks and copy the command line--wbadmin does not do this and I do not know of a way to setup a backup task and then copy or edit it. I would be glad if I am wrong and someone else can show you how but I do not know of anyway this can be done.
I still haven't been able to achieve this.
I will try Jeffs suggestions and start again from scratch using the SBS wizard.
Will advise.
Thanks all for trying.
Olaf
So try telling us what problems you are encountering and what error messages you are seeing?   Or we just have to guess what you are trying and what errors are occurring?

Use the Windows Server Backup Snap-in from Start > Administrative Tools > Windows Server Backup.  click 'Backup Schedule' to start the Backup Schedule Wizard and follow the wizard options to change existing backup settings.
Did you try this?  What happened?
Did you try wbadmin enable backup -include:C:,D:  ?
If I add the extra drive to be backup I get:
User generated image
I just tried the wbadmin command suggested. It said it worked.However when I look at drives included in backup it says F: is still excluded .
I am still hopefull and will let the backup run at 11:00 tonight to see what happens.
Thanks and I keep hoping.
wbadmin.PNG
Hi Olaf,  that error message is from the SBS console.  If you read my instructions, they are to try configuring backup from the windows Server Backup snap-in:  Administrative Tools > Windows Server Backup.

What happens if you try that?
Using windows backup:
Windows-backup.PNG
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No way!  You can use Google?  Amazing!
Oops,long thread,but still ,there is context in that discussion thread including a workaround not mentioned.

But to be truthful with you ,the built in back up in 2008 / 11 is a POS!

My take would be to get Acronis,Storagecraft or some other more reliable backup.

There is a fundamental major issue with that built in backup and 4k sector drives as USB backup devices that will never get fixed(vhd vs vhdx).

It's just a time bomb waiting to go off.

Just out of curiosity,if you were to replace that 2.5 tb drive with a smaller drive (512 byte sector) of maybe in the 250 500mb range ,I would be curious as to whether or not those issues would go away.

You said you formatted that 2.5 tb drive mbr,but gut feeling is it should be gpt.

Just something telling me it's a >2.2 tb drive geometry issue.

When you boot that system ,does the bios see all of that 2.5 tb drive or just 2.2?

Is your bios uefi enabled?

What's the make and model of that server and disk controller?
Thanks gents ,will try tomorrow and let you know.
I have tried gpt before on an SBS 2011 BU without success.
wbadmin removing backup drive 1 makes sense considering this was the first drive and was replaced by two bigger drives. Not used anymore so I can remove.
Will let you  know.
Thanks.
Olaf
OK Fixed. (I hope)
Thanks Bluecompute.
I couldn't remove backup1 with wbadmin. Probably a syntax error.
I could however remove it with the SBS BU Wizard and the Windows BU wizard.
Once Backup 1 was gone , adding a new drive to be backed up was successfull using the SBS wizard.
BU will run in a couple of hours and I will check tomorrow. I am confident all's OK :)
Olaf
Hi Olaf,

nice one, congratulations for your persistence.  Glad you got it sorted.

Cheers,
BC
Olaf, sorry I didn't see your question earlier as I just dealt with this at a client on Tuesday and it just wanted drive 1 hooked up to make the changes the customer was trying to make
The trick: Find the faulty destination drive delete it and the wizards will work again.
Thanks
Olaf