Restore files on the IU Webserve server

The Webserve and Webtest servers use PHP 7.1; PHP 5.6 has been retired and is no longer available. For more about PHP at IU, see PHP server-side scripting language.

Webserve is now supported by the Comodo data backup and recovery service. Data recovery options include overnight snapshots for the previous 14 days. Data may be recovered manually, or by contacting Web Services Support for assistance.

Manual recovery will require familiarity with SSH applications such as PuTTY or Cyberduck as well as many common Unix commands. For more about common Unix commands, see Introduction to Unix commands. Access to an FTP application, such as WinSCP, is also helpful.

To manually recover data, first establish an SSH connection to Webserve using your preferred SSH application. Once the connection has been established, change your directory to the following using a cd command:


Note that the .snapshot directory is hidden, even to commands such as ls -la, which normally show a list of hidden files. Once in the .snapshot directory, a directory listing command such as ls -la will show all the available snapshots. If you know approximately when the data was lost or corrupted, you may go to the snapshot directory from prior to that date and time and recover your data. Because restoring the entire site from snapshot is storage intensive, you should recover only those files and directories you need.

For simplicity, copy the files and subdirectories you want to recover from /.snapshot to:


You may need to create this directory prior to copying files over from .snapshot. After you copy these files to .snapshot, you may move them from .snapshot to the directory you need to restore them to. You can continue to use the command-line interface or, alternately, any standard FTP application to move these files to the directories where needed.

Recovery by the administrator

If you are uncomfortable working with a Linux command-line interface, you may contact Web Services Support to request the deleted files or directories you need restored. Only the group account owner can request file restoration from Web Services Support. The group account owner will need to provide the following information in the restoration request:

The names of the file(s) or directories being restored

The date the files should be restored from (within the past 14 days)

Web Services Support will follow up with you and escalate your request to the Webserve administrators. Administrators attempt to restore files within one business day from the request. They will place recovered files in a directory inside ip/<account>/ so you can manually restore the files to their proper location after reviewing them.

This is document anvc in the Knowledge Base.
Last modified on 2018-11-28 11:57:55.

Contact us

For help or to comment, email the UITS Support Center.