Backup done, but only for one VM

Sep 11, 2014 at 8:31 AM
Edited Sep 11, 2014 at 8:35 AM
Hi,
I have 3 Vm on hyperv 2008 R2 Wserver, now using hvbackup to backup it using script:
set BCKPATH="d:\Kopie Virtuali\HyperVbackupz"

pushd %BCKPATH% && forfiles.exe -m *.zip -d -7 -c "cmd /c del @path"
popd
HVBackup.exe -a -o %BCKPATH% --outputformat "{0}_{2:dd-MM-yyyy}.zip" 1> lastlog_out.txt 2> lastlog_err.txt
but backup is created only for one VM, no errors files are created. Only in CMD window after line that search and delete files it give info that files are not found by that search criteria - but it's ok because folder it's empty.
What is wrong?
Oct 6, 2014 at 2:10 PM
I've been having similar issues. My current backup command running is...

set BCKPATH="\qnapmain\Backup\Hyper-V"

rem net use %BCKPATH% /user:<user> <password>

pushd %BCKPATH% && forfiles.exe -m *.zip -d -7 -c "cmd /c del @path" popd HVBackup.exe -f list.txt -o %BCKPATH% 1> lastlog_out.txt 2> lastlog_err.txt

Backs up my VM's I have specified in the list.txt file. However for reasons unknown it will randomly miss one, or two.....no errors or anything. Two of my windows VM's didn't backup this saturday