Procédure
Before restoring your web files, consult the Backup Policy for your shared web hosting to understand which backups are available depending on your plan and how long they are retained.
This documentation explains how to retrieve a backup of your web files or restore a previous version of your site from the LWS Panel.
Use this procedure if files from your site have been deleted, modified by mistake, or if you want to revert to an earlier state of your hosting.
This documentation is intended for customers with:
LWS Linux Shared Hosting (Excluding domain-only plans).
Management is done from the LWS Panel.
Prerequisites
Before performing a backup or a restoration, make sure:
Things to know before choosing an action
It is important to distinguish between the two available actions:
This action allows you to retrieve a copy of your web files.
It does not modify your hosting.
This action allows you to reinject the backed-up files onto your hosting.
The existing files will be replaced.
The web files do not always represent the entirety of your site.
If your site also uses a MySQL database, restoring the files alone may not be enough to get the site back exactly in the desired state. In that case, you will also need to restore the database to a consistent date.
You can follow this procedure if:
The LWS Panel offers a backup and restoration feature for web services.
Depending on the subscribed plan, the backup retention period may vary from 30 or 90 days.
Before going further, make sure that:
If you do not know the backup level included in your plan, consult the LWS documentation dedicated to your hosting backup level.
2. Open the relevant hosting account
3. In the Files section, click the button: Backups / Restorations

4. Then click the tab: Web Backups

You will then access the list of backups available for your hosting.
When should you use this option?
Choose this action if you want to:
Detailed steps
1. In the Web Backups tab, locate the backup date you want to retrieve.
2. On the line corresponding to the chosen backup, click the action button on the right. (3 vertical dots)

3. Choose the option: Download link
4. A window opens. Click Generate link

5. Then open the History tab

There you can check the progress of the link generation. This operation may take several minutes, depending on the amount of data involved.
Refresh the page regularly to check whether the status has changed.
7. Once the link is ready, a download button "Click to download" appears. Click it to retrieve your backup.

Alternative recovery method
The generated backup can also be found in the root folder of your hosting. You can then download it:
If you use this method, make sure you download the correct backup file.

Limitations to know
Important limitations:
These points must be taken into account before generating or keeping a backup on the hosting account.
Before starting a restoration, take a moment to identify what you actually need to put back in place.
You can restore:
1. From the LWS Panel, access the list of available backups.
2. Choose the date that matches the state of your site you want to recover.

3. Click the button located to the right of the chosen backup (1).
4. Select the restoration option corresponding to your need. (2)
When should you use this option?
Choose this option if you want to restore all web files on your hosting account.
What this restoration does
All files on the hosting account are deleted, then the backup files are restored to the web space. This is therefore the most drastic option.
Steps

This operation replaces the current state of your hosting with that of the selected backup.
Do not use it if you only want to recover a specific file or folder.
What does index.php refer to?
The index.php file is generally the main home page file of the site, located at the root of the hosting account.
When should you use this option?
Use this restoration if:
Steps

This option concerns only the home page file of the main domain.
It does not allow you to restore an entire folder or the other site elements. This scope is the one described in the source article.
When should you use this option?
This is the most suitable option if you want to recover only part of the site, for example:
Steps

Examples of paths to enter
text.html
restores the text.html file located at the root of the backup
/myfolder/text.html
restores the text.html file located in the myfolder folder
/myfolder/
restores the contents of the myfolder folder
/myfolder/mysubfolder/
restores the contents of the mysubfolder subfolder located in myfolder
What this option actually does
This restoration:
If you want to restore exactly the contents of the folder as they were on the backup date, you must first manually delete the extra files before starting the restoration. This behavior is explicitly described in the article.
What is a multi-domain?
A multi-domain is an additional domain added to your hosting account.
A subdomain corresponds for example to an address such as blog.yourdomain.ext.
When should you use this option?
Choose this restoration if the problem concerns only:
Steps

What this restoration does
As with folder restoration:
If you want to restore exactly the state of that domain or subdomain on the backup date, you will first need to remove the files that should no longer be present. Again, this point is indicated in the current article.
Whatever option you choose, once the action is confirmed, it is no longer possible to interrupt the restoration before it finishes.
After launching a restoration:
open the History tab
check the operation status

refresh the page if necessary; the restoration is finished when the status "Completed" appears.

Once the restoration is complete, check the following points:
If the backup you are looking for is not displayed, several reasons are possible.
The desired date likely exceeds the retention included in your plan: some offers give access to 30 days of backups, others to 90 days. If the date you need is too old, it may no longer be available.
If you need a backup older than your plan allows (+ 30 days without a business support option within the limit of 90 days) or a special intervention, it is possible to subscribe to:
These solutions involve additional handling by LWS services.
Link generation may take several minutes (several hours in some cases), especially if the backup is large.
What should you do?
The requested date may be outside the retention period available for your plan.
What should you do?
This is often a display problem or an inconsistency between the files and the database.
What should you do?
If you launched a partial restoration when a full restoration was necessary, or vice versa, the result may be incomplete.
What should you do?
If an error occurs during restoration, you must contact LWS technical support for analysis and handling if the action remains possible.
Before contacting support
Prepare the following information:
This will make it easier to process your request.
Some operations are limited when the backup exceeds 20 GB, and files larger than 500 MB placed on the FTP space may be deleted automatically.
What should you do?
You now know how to access the web backup service in the LWS Panel, download an existing backup, and restore your files according to several scenarios: full restoration, restoration of the home page, a file, a folder, a multi-domain, or a subdomain.
If your site also uses a database, remember to restore it to a consistent date as well in order to recover normal operation.
Bonjour,
Je vous remercie pour votre message.
Je vous rassure l'intégralitée des fichiers présent sur votre hébergement est sauvegardée (coeur WordPress et fichiers annexes, tel que les extensions, images...).
Je vous remercie de votre attention et reste à votre disposition pour toute autre question ou complément d'information.
Vous pouvez nous contacter depuis votre espace client ou sur cette page : https://www.lws.fr/contact
Cordialement, L'équipe LWS
Ask the LWS team and the community. Answers are published after moderation.