Community
Vault Forum
Welcome to Autodesk’s Vault Forums. Share your knowledge, ask questions, and explore popular Vault topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

No success message for the first database in Vault Mirror 2018 ???

10 REPLIES 10
SOLVED
Reply
Message 1 of 11
anandax
648 Views, 10 Replies

No success message for the first database in Vault Mirror 2018 ???

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).

 

vault_mirror_2018_no_success_message

10 REPLIES 10
Message 2 of 11

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

Message 3 of 11

Hi @anandax,


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

Message 4 of 11


@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

 

  1. 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.
  2. 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.
  3. Are there error in the Vault logs while it was running?
    No errors.
  4.  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.

Message 5 of 11

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.
Message 6 of 11

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

Message 7 of 11

"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.

Message 8 of 11

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

Message 9 of 11

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

Message 10 of 11

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

Message 11 of 11

Hi @anandax,

 

Thank you for following up. I appreciate you letting me know how you resolved this and for marking the solution.

 

Regards,

Jason

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report