Hi,
i do not receive the success message "Full Mirror complete" for my first database. There are no problems with the second database.
However, everything seems to be fine with the amount of data.
First database has 151000 files
Second database has 10000 files
Is the first database too large? Any idea?
Attached is the last section of the log file (vault_mirror_2018_no_success_message.jpg).
Solved! Go to Solution.
Solved by anandax. Go to Solution.
Solved by Jason.Courtemanche. Go to Solution.
Hi @anandax,
Where you able to get Vault Mirror to work? So it currently downloads all the data but the status is wrong?
Are there error in the Vault logs while it was running? If you run SQL Maintenance Plan on this database does it finish or generate errors?
Regards,
Jason
@Jason.Courtemanche wrote:Hi @anandax,
Where you able to get Vault Mirror to work? So it currently downloads all the data but the status is wrong?
Are there error in the Vault logs while it was running? If you run SQL Maintenance Plan on this database does it finish or generate errors?
Regards,
Jason
- Where you able to get Vault Mirror to work?
We have 2 databases. The first database has 150000 files, the second 10000 files.
The VaultMirror runs on a Win7x64-machine. With Vault 2016 we have not any problemes.- So it currently downloads all the data but the status is wrong?
Yes, but only for the first database. The log is written correctly for the second database.- Are there error in the Vault logs while it was running?
No errors.- If you run SQL Maintenance Plan on this database does it finish or generate errors?
I will test it.Note: We create a complete backup every day. Before we start Vaultmirror we move the destinationfolder from the backup to the previous day.
Our script:
ECHO Delete previous_day >>D:\Mirror\Log\%date%_Day-Vaultmirror.txt RMDIR D:\Mirror\previous_day /Q /S >>D:\Mirror\Log\%date%_Day-Vaultmirror.txt ECHO. ECHO MOVE FOLDER >>D:\Mirror\Log\%date%_Day-Vaultmirror.txt move /Y D:\Mirror\day D:\Mirror\previous_day >>D:\Mirror\Log\%date%_Day-Vaultmirror.txt ECHO. ECHO Create folder day >>D:\Mirror\Log\%date%_Day-Vaultmirror.txt md D:\Mirror\day >>D:\Mirror\Log\%date%_Day-Vaultmirror.txt ECHO. "C:\Program Files\Autodesk\Data Management Applications\Vault Mirror 2018\VaultMirror.exe" -FullMirror -U Administrator -P "" -S server10 -V DB1 -F D:\Mirror\day\%date% -noFail -L D:\Mirror\Log\%date%-Tag-Vaultmirror-DB1.log "C:\Program Files\Autodesk\Data Management Applications\Vault Mirror 2018\VaultMirror.exe" -FullMirror -U Administrator -P "" -S server10 -V DB2 -F D:\Mirror\day\%date% -noFail -L D:\Mirror\Log\%date%-Tag-Vaultmirror-DB2.log ECHO.
If we don't move the folder "day", the protocol works. It seems that the large amount of data causes the problem with the protocol.
4: If you run SQL Maintenance Plan on this database does it finish or generate errors?
I did the maintenance. No errors, but the problem is still there.
The Vaultmirror-Log has 115000 - 120000 lines and ending with
Status: Downloading... 1% Status: Downloading.
HI @anandax,
"If we don't move the folder "day", the protocol works. It seems that a large amount of data causes the problem with the protocol."
Thanks for the update. That is interesting if you just run vault mirror the status updates but if you move the day folder in the script the status does not update correctly?
Regards,
Jason
"That is interesting if you just run vault mirror the status updates but if you move the day folder in the script the status does not update correctly?"
That is correct. With the second and smaller database it works without any problems.
Hi @anandax,
Thank you for the update. I was trying to test your script but I keep getting file security issues so I was unable to reproduce your issue. I would recommend braking these steps into two different stages to see if that helps. So you are not trying to do both steps (the file move and vault download) in one the script since there is some side effect of moving files that are affecting the Vault mirror status.
Regards,
Jason
Hi
I'm just checking in again to see if you need more help with this. Did the suggestion I provided yesterday work for you?
If so, please click Accept as Solution on the posts that helped you so others in the community can find them easily.
Regards,
Jason
I have solved the problem with robocopy. Now it works
Instead of moving the folders I use robocopy with parameter "/Purge".
robocopy "D:\Mirror\day "D:\Mirror\previous_day" /E /ZB /COPY:DAT /PURGE /R:1 /W:1 /LOG:D:\Mirror\Log\%date%_Day-Vaultmirror.txt /NFL
Can't find what you're looking for? Ask the community or share your knowledge.