Hello, Could someone help me understanding what I'm doing wrong with 2k8 r2 backups ? I'm trying to backup a folder's content into a destination located to an external USB drive. Folder to backup : e:\data Target folder : g:\target (where target will be the date in yyyyMMdd format) If I start powershell and type : wbadmin -backupTarget:"g:\target" -include:"e:\data" then I end getting an error message complaining (I translate from french, so sorry for errors) that : "The specified backup location cannot be found or is not a valid backup location" But, If I type : wbadmin -backupTarget:"g:" -include:"e:\data" then, it works fine - but, then, I cannot have distinct backups for each day. I browsed MS boards and technets, but couldn't find any helpful information on this. And google was anything but my friend either. Any idea about what I'm doing wrong ? Many thanks, J.-L.
What i know is -backupTarget: don't support argument like "g:\target", it only support driver letter or network share..... you can try this, share your folder "Target" & give UNC path to -backupTarget:
Me again... I modified the script to match destination requirements : ------------- Begin script ----------- $jour=get-date -uformat %Y%m%d $vol="\\m20sewhq01\g$\SVG-Quot\" $dest=$vol+$jour mkdir $dest wbadmin Start Backup -backuptarget:$dest -include:"D:\Horoquartz" -vsscopy -quiet --------------- End script ----------- This time, I get another error that says approximatively : "Unable to achieve requested task because of system file limitation" However, the folder 20130502 is correctly created on G: and, moreover, content has been added to it, as one can see in attached file List.txt. I redirected the output to a file I attach here - guess it won't be of any use... -. This 2k8 r2 is getting me more and more puzzled... Regards, J.-L.
What is file system on drive that used to keep backup? And to test backup use CMD console & then change\ modify your script according to results...
It's NTFS. But I don't see why it would be relevant, since backups only fail when I try to send them in a folder. If I do them at the root of the volume, they systematically succeed. Seems not that logical to me... Regards, J.-L.
Hello, Just tested to be sure : the windows backup task itself behaves the same! So, I created a script for daily-backups and one for monthly ones (this one saves the whole server), all sending data at the root of G:\, and I'm going to see what happens. Next step will be to check for what I cant retrieve this way, ie if I can only retrieve data from the latest backup, or also ones from a earlier backup. Let's keep our fingers crossed. Best regards, J.-L
this because Windows serverv back support to back-up only one partition per disk, i''ve run to the same issue, after i tried Veeam which cause alot of trouble backing up files and folders, now i am using Symantec backup ex is amazing tool, you should try it
Hello, @ Mr 0x00 : compression is not enabled on the target disc ([right clic / properties / compress volume to increase free space] is unchecked, assuming that is what you mean). See below the 2nd part of my reply to cyberbot. @ cyberbot : this software looks fair, though I don't think I will be able to have it bought before next year, as it wasn't budgeted. As for the fact it only supports one partition per disk, I don't understand what it really means. I found an article on iTPro ([itpro.] [fr/a/creer-sauvegarde-windows-server-wbadmin/] remove all brackets and spaces) with a script that I slightly modified (and corrected some minor typos) as follows : -------------------- Begin Script ---------------------- @echo off chcp 1251 ::SVG-Mens.bat rem backup target UNC set Target=\\M20SEWHQ01\G$ rem define date time variables for building the folder name set d=%date:~0,2% set m=%date:~3,2% set y=%date:~6,4% set h=%time:~0,2% set min=%time:~3,2% set sec=%time:~6,2% rem files and folders to include rem defining target folder like \\Server\backup\20091215_132532 set newfolder=%Target%\SVG-Mens\%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% -allCritical -vssfull -quiet rem Clear variables set backupshare= set include= set m= set d= set y= set h= set min= set sec= set newfolder= ------------------------ End Script ------------------------ Running this script worked fine : it saved my server correctly (at least, that is what it reported!). Then I duplicated it and modified so as to get a different one for partial backups : ------------------------ Mods & add-ons ------------------ .../... rem files and folders to include set include=D:\Horoquartz,E:\HQSAUVE .../... echo Backing up %include% to %newfolder% wbadmin start backup -backupTarget:%newfolder% -include:%include% -quiet .../... ------------------------------------------------------------- This time again, as I feraed it, it didn't work. What I can't understand is why, with the same syntax, partial backups always fails as total ones always succeed (I didn't try full backups before, as I was focussed on the problem) ? Regards, J.-L.
what is the error displayed ? don't clear variable before your modification ... @sebus: free programs with imaging and incremental backup ... haven't yet found ...