You can restore a single file to its previous state using the Windows Control Panel (WCP) if you have a backup of your website. This process allows you to revert specific changes to a file without restoring the entire site or folder.
Important: This feature is only available if you have a valid backup of the website. If you do not have a backup, you will not be able to perform a restoration.
Before you begin
You will need:
An active Windows Control Panel (WCP) account
A valid backup of the website or the specific file
The exact file path and name of the file you wish to restore
Restore a single file
Log in to the Windows Control Panel.
Navigate to the File Manager section.
Select the domain or website containing the file.
Navigate through the directory structure to locate the specific file you wish to restore.
Select the file and click the Restore button.
Select the desired backup point from the list of available dates.
Click Restore to confirm.
Confirm the result
The system will display a confirmation message indicating the file was successfully restored.
The file's "Last Modified" date will update to the date of the selected backup.
You can verify the content of the file by opening it in the File Manager or via an FTP client.
If the file is not listed in the backup options
If you cannot see the specific file or the expected backup date in the list, the file may not have been included in the backup or the backup may have failed.
Check the following:
Verify that the file path is correct.
Ensure the file was not moved or renamed recently.
Confirm that the backup was successfully completed for that specific date.
Limitations
This procedure only restores the content of the selected file. It does not restore permissions, ownership, or metadata associated with the file. If you need to restore an entire directory or multiple files, you should use the "Restore Folder" option instead.
