# virsh restore state-file
This restarts the saved guest virtual machine, which may take some time. The guest virtual machine's name and UUID are preserved but are allocated for a new id.
virsh restore state-file command can take the following options:
--bypass-cache - causes the restore to avoid the file system cache but note that using this option may slow down the restore operation.
--xml - this option must be used with an XML file name. Although this option is usually omitted, it can be used to supply an alternative XML file for use on a restored guest virtual machine with changes only in the host-specific portions of the domain XML. For example, it can be used to account for the file naming differences in underlying storage due to disk snapshots taken after the guest was saved.
--running - overrides the state recorded in the save image to start the domain as running.
--paused- overrides the state recorded in the save image to start the domain as paused.