Link to home
Start Free TrialLog in
Avatar of Mr.X
Mr.X

asked on

backup fails using script for space not available, when there is enough space

Hi,

got 2012R2 server.
doing backup using a script in task scheduler.
below is the script i am using.

WBadmin start backup -BackupTarget:E: -Include:D: -allcritical -VssFull -quiet

it fails everyday. saying the error below

The backup operation attempted at '‎2019‎-‎05‎-‎14T04:00:10.764159700Z' has failed to start, error code '2155348040' (There is not enough free space on the backup storage location to back up the data.). Please review the event details for a solution, and then rerun the backup operation once the issue is resolved.

but when i check the server- the drive which i am trying to backup "d" is 2.1 TB and the Ext harddisk "E" is 2.7 TB.

i tried formatting the drive., still it fails saying not enough free space - same error every day.

is it something, anyone can give me any ideas ?
Avatar of nobus
nobus
Flag of Belgium image

can you test without include D: ? what happens then?
or whenyou backup to E: ?
Avatar of noci
noci

Backup is not only the data but also meta data / file. So with a lot of small files there will also be more meta data..
If compression is an option try that.
What is the partitioning scheme for the target drive? If it's MBR this would explain the failure, as MBR supports a maximum of 2.2 TB and your backup destination is larger than that. If you re-partition the drive using GPT then all the volume will be visible and accessible by the server operating system. It won't be bootable (you would need to have the BIOS in UEFI mode for that) but as the drive is a backup target then that's not an issue. The official explanation can be found here:

https://support.microsoft.com/en-gb/help/2581408/windows-support-for-hard-disks-that-are-larger-than-2-tb

The article refers to Windows Server 2008 and Windows 7, but the principles hold good for Server 2012 too.
Also be sure about the difference between TiB & TB.
Ti = 1024*1024*1024 *1024
T=1000*1000*1000 * 1000
B = bytes. (vs. b = bits).
Disk manufacturers have to be precise about physical measurement & specification and use TB (as this is an official SI standard number),
Many people in the IT think they can be sloppy and get away with it and confuse TiB with TB.  Many OS's say kB, MB, GB, TB where they mean roughly kB, MB, GB, TB or exactly kiB, MiB, GiB, TiB.
Avatar of Mr.X

ASKER

Thanks guys.
I think I got the - all critical, which includes "c"drive as well.
I don't need the "c" drive. So excluded all critical from the batch script. Will see how it goes tomo backup :-)
Will let you know
ASKER CERTIFIED SOLUTION
Avatar of Mr.X
Mr.X

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