S
scott.elder
Hi all, I'm trying to create a batch file for a network backup routine.
When the user runs the batch file, it determines it's ip address range
and looks up the appropriate ip address of the computer it's going to
backup to.
I'm using robocopy to do a mirror copy on the directory but I want to
be able to check how much data is to be copied and wether there's
actually enough free space on the network drive that it's copying to.
If there's not enough space it needs to come up with the appropriate
message, and if there is enough free space, continue with the copy
operation. If the directory being mirrored is already present on the
network drive, it will obviously have to a) find out the size of the
directory on the network drive and b) add that to the 'free space'
figure when making it's calculation to determine if there's enough free
space on the network drive.
Any ideas?
Thanks in advance for your time.
When the user runs the batch file, it determines it's ip address range
and looks up the appropriate ip address of the computer it's going to
backup to.
I'm using robocopy to do a mirror copy on the directory but I want to
be able to check how much data is to be copied and wether there's
actually enough free space on the network drive that it's copying to.
If there's not enough space it needs to come up with the appropriate
message, and if there is enough free space, continue with the copy
operation. If the directory being mirrored is already present on the
network drive, it will obviously have to a) find out the size of the
directory on the network drive and b) add that to the 'free space'
figure when making it's calculation to determine if there's enough free
space on the network drive.
Any ideas?
Thanks in advance for your time.