How do I restore my files on the IU Webserve server?

Important:
On Webserve, the default version of PHP is 7.1; however, PHP 5.6 will still be available until it is retired at the end of December 2018. Webtest servers are already using PHP 7.1. For help specifying which version of PHP to use, 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, as well as six hourly snapshots. 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, Filezilla or similar 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:

  ip/<account>/.snapshot

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:

  ip/<account>/recoveredfiles/

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 2017-11-13 11:37:58.

  • Fill out this form to submit your issue to the UITS Support Center.
  • Please note that you must be affiliated with Indiana University to receive support.
  • All fields are required.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.

  • Fill out this form to submit your comment to the IU Knowledge Base.
  • If you are affiliated with Indiana University and need help with a computing problem, please use the I need help with a computing problem section above, or contact your campus Support Center.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.