Recover Files from Corrupted Linux or Windows VPS – Windows is not loading!

Recover Files from Corrupted Linux or Windows
By

0 Comment

4 mins Read

Recover Files from Corrupted Linux or Windows

Linux and Windows are two of the most frequently used VPS operating systems. Sometimes, a few errors within their script may cause a failure. In this tutorial, we will tell you how to Recover Files from Corrupted Linux or Windows VPS. You can either watch the video below or follow along by reading.

If, for any reasons, the Operating System, whether Windows or Linux, does not load on your VPS server, you can follow this step by step guide and learn how to load the VPS into the Rescue Mode and grab your files off the server before formatting your VPS and installing a new Operating System on it.The first thing you need to do is to confirm that the Operating System does not load by connecting to the server via VNC and then reboot the VPS from your control panel a couple of times.

As most of the corruptions happen in Windows VPS servers, we have written this guide around Windows VPS servers, but the same steps work for other Operating Systems as well.

How to Recover Files from Corrupted VPS

 

Step 1: Log In to Cloudzy and choose the VPS (in the ‘Services’ list)

First, log in to your Control Panel from https://support.cloudzy.com/clientarea.php.

Then click on ‘Services‘.

Recover Files 01

Click on the target VPS server which you want to reboot into Rescue Mode. (if you have multiple VPS servers, please make sure that you select the appropriate VPS instance.)

Recover Files 02

Step 2: Choose Rescue Mode

 rescue modeChoose the ‘Rescue Mode‘ just like the picture below:

Step 3: Enable Rescue Mode

Pick a password for the Rescue Mode. Then, click on Enable Rescue Mode.

Enable-Rescue-Mode

Wait until the server reboots into Rescue mode.

It will show you a page like:

enable-rescue-2

In this step, please wait 2-5 minutes. Then, refresh the page and you will see this message:

vps information

Now the VPS is loaded into the Rescue Mode. The Rescue Mode is Linux based utility for grabbing your data out of the server.

Step 4:  Install WinSCP  and login to the rescue VM

To transfer the data, you must download WinSCP software, which transfers files between Windows and Linux Operating Systems. So, follow the upcoming steps:

A) Download WinSCP.

B) Install the software and run it.Install WinSCP  and login to the rescue VM

You will see the following window:

  • Insert your VPS’s IP address into ‘Host Name:’
  • Enter ‘root’ in the Username field.
  • Enter the password that you had chosen when you enabled Rescue Mode.
  • Click on ‘Login‘

Step 5: Press ‘Ctrl + ‘T‘ keys to open the Terminal

then click ‘OK‘ on the warning message, so a Terminal window opens.

Press ‘Ctrl + ‘T‘ keys to open the Terminal

Step 6: Run these commands (in WinSCP terminal)

Pay attention that you must run the following commands in this exact order:

  1. apt-get update --allow-releaseinfo-change
  2. apt-get install ntfs-3g -y
  3. ntfsfix /dev/vdb1
  4. mount -t ntfs /dev/vdb1 /mnt

Step 7:  Head Over to Root

Click on the right panel, then press ‘Ctrl + O‘ so the Open Directory window will pop- up. Write ‘/mnt‘, like in the following picture, and click on ‘Ok‘

Head Over to Root

Excellent! Now you can see the root page of your Windows drive, which will be like the image below:

Head Over to Root-2

Step 8: Download the Files

After doing all the above-mentioned steps, you can go to the folder/location where you have stored your files, right-click on files/folder, and click on download to download them onto your computer.

Some of the common locations you may have stored your files (for Windows VPS) are:

/mnt/Users/Administrator/Desktop

/mnt/Users/Administrator/Downloads

/mnt/Users/Administrator/Documents

After downloading all the files/folders you were looking for, please go back to the VPS control panel and click on ‘Rescue Mode.’ Then, click on disable button and press ‘OK.’

I encourage you to check our article about Linux System Monitoring. The Linux system monitor tools are in charge of making sure that every system operation is working at its optimal level and that there are no server misbehaviors.

Comments

Latest Posts