https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2IxMTI0IiwiaGFzaCI6Ijg4ZTU3MDcyLTVhMzgtNGY0OC05Y2IxLTUxNzFjNDQyYjRjMCJ9
1-800-691-1991 | 9am - 8pm ET
EN

Cannot process the VM because the target VM state is "FileLevelRestore"

Challenge


Cause

This VM is stuck in the FileLevelRestore state.

Solution

Please make sure you do not have any file level restore windows opened for this VM.

Please re-open the File Level Restore wizard, click next 2-3 times and then click ‘Cancel’.

If the state is still the same and you are unable to backup this VM, please create a file with a .sql extension containing the following:

update [BSessions] set overall_status = 0 where overall_status <> 2

update [BJobs] set control = 0

update [ObjectsInBackups] set [state] = 0 where [state]=2 or [state]=3

After creating the SQL script, follow these steps to reset the job:

1. Save the SQL file to local disk

2. Make sure that there are no jobs running as to not reset their status accidentally

3. Run the following command: sqlcmd -S COMPUTER\INSTANCE -d VeeamBackup -i

PATHTOSCRIPT\JobsReset.sql -o c:\resetresult.txt

where COMPUTER is the name of the computer with the database, INSTANCE is the name of instance (VEEAM for default installation), PATHTOSCRIPT is the path to the script.

After running this, restart the Veeam services.

KB ID:
1124
Product:
Veeam Backup & Replication
Version:
4.x
Published:
2011-08-01
Last Modified:
2020-08-13
Please rate how helpful this article was to you:
5 out of 5 based on 1 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.
Your report was sent to the responsible team. Our representative will contact you by email you provided.
We're working on it please try again later