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 their retention period.
This documentation explains how to retrieve a backup of your web files or restore a previous version of your website from the LWS Panel.
Use this procedure if files from your site have been deleted, accidentally modified, or if you want to revert to an earlier state of your hosting.
This documentation is intended for customers with a :
LWS Linux shared hosting (Excluding domain-only plans).
Management is done from the LWS Panel.
Prerequisites
Before performing a backup or restoration, make sure :
What 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.
Existing files will be replaced.
Web files do not always represent your entire site.
If your site also uses a MySQL database, restoring the files alone may not be enough to bring the site back exactly to 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 backup and restoration functionality for web services.
Depending on the subscribed plan, backup retention can vary from 30 or 90 days.
Before going any further, check that :
If you do not know the backup level included in your plan, consult the LWS documentation dedicated to your hosting backup level.
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 selected backup, click the action button on the right. (3 vertical dots)

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

5. Then open the History tab

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

Alternative retrieval 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 be aware of
Important limitations :
These points should be taken into account before generating or keeping a backup on the hosting.
Automatic maintenance regularly cleans LWS Panel hostings. A backup that you keep only on your hosting will therefore eventually be deleted. This maintenance deletes :
*_backup.tar.gz backups placed in the site root, after 7 days ;.zip archives in the .wp-backups folder, after 30 days ;tmp folder older than 30 days ;A file disappeared from your hosting without you deleting it ? First check whether it is part of this list. To recover a file from your site, use option B below, “Restore a specific file or folder”, as long as the desired date is still listed among the backups. If the tmp folder on your hosting is full, see the help article Full tmp folder (“Disk quota exceeded”): how do you empty it on LWS Panel ?
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 corresponding to the state of your site you want to retrieve.

3. Click the button located to the right of the selected 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.
What this restoration does
The entirety of the hosting files is 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 homepage file of the site, located at the root of the hosting.
When should you use this option?
Use this restoration if :
Steps

This option only concerns the main domain homepage file.
It does not allow you to restore an entire folder or 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 only want to recover 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 present in myfolder
What this option actually does
This restoration :
If you want to recover exactly the folder contents 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.
A subdomain corresponds for example to an address of the type blog.yourdomain.ext.
When should you use this option?
Choose this restoration if the issue concerns only :
Steps

What this restoration does
As with folder restoration :
If you want to recover exactly the state of this domain or subdomain on the backup date, you must first remove the files that should no longer be present. Again, this point is indicated in the current article.
Regardless of the option chosen, 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 status of the operation

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

Once the restoration is complete, check the following points :
If the backup you are looking for is not displayed, there may be several reasons.
The desired date probably exceeds the retention included in your plan: some offers provide access to 30 days of backups, others to 90 days. If the date you are looking for is too old, it may no longer be available.
If you need a backup older than your plan allows (+ than 30 days without a business support option within the limit of 90 days) or a specific intervention, it is possible to subscribe to :
These solutions involve additional processing by LWS services.
Generating the link can 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 issue or an inconsistency between the files and the database.
What should you do?
If you started a partial restoration when a full restoration was needed, or vice versa, the result may be incomplete.
What should you do?
In the event of an error during restoration, you must contact LWS technical support for analysis and handling if the action is still 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 automatically deleted.
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 in several cases: full restoration, restoration of the homepage, 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 to regain 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.