Quantcast
Channel: Backup – Windows and Windows Server forum
Viewing all articles
Browse latest Browse all 3323

ERROR - Specified backup location could not be found.

$
0
0

My scripts suppose to backup the server c and E drive to the portable segate harddisk attached to it USB, shared as V$ but it kept giving me the above error.


for /f "tokens=2-4 delims=/ " %%a in ('date /T') do set month=%%a
for /f "tokens=1-3 delims=/ " %%a in ('date /T') do set day=%%a
for /f "tokens=3-5 delims=/ " %%a in ('date /T') do set year=%%a

cd\
v:
cd serverbackup
md %year%-%month%-%day%
cd %year%-%month%-%day%

md CDrive
md EDrive

Wbadmin start backup -backupTarget:v\serverbackup\%year%-%month%-%day%\CDrive -include:C: -vssFull -quiet > CDrive_log.txt
Wbadmin start backup -backupTarget:v\serverbackup\%year%-%month%-%day%\EDrive -include:E: -vssFull -quiet > EDrive_log.txt


Viewing all articles
Browse latest Browse all 3323

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>