Rate this article :
This article was useful to you ?
Yes
No
Vous avez noté 0 étoile(s)
Procédure
In order to back up your website online with LWS Drive, your web space must have SSH access. We recommend that you subscribe to a cPanel package with SSH access or a VPS server package.
Without SSH access, it will be impossible to connect your web space to your remote server. For this to work, you need to generate two RSA keys (one public and one private) so that the two spaces can communicate with each other.
1. Generate the keys (public and private) with the following command:
ssh-keygen -t rsa -b 2048
2. Transfer the public key to the remote server using the following command:
ssh-copy-id -i /folder/.ssh/id_rsa.pub user@remote_server
You will be asked for the password for your stick space so that you can move the public key to the LWS Drive online backup space.
3. The command used to make a backup of your site to your online backup space is:
rsync -rtlvz -e ssh --delete user@remote_server:/files/"/public_html/"
You can now back up your website with LWS Drive. It may be worth adding a cron job to automate the task and have regular backups of your website. You can create a backup script for this.
Don't hesitate to share your comments and questions!
Rate this article :
This article was useful to you ?
Yes
No
2mn reading
How do I add an RSA key to the Rsync SCP drive service?
1mn reading
How do I use Rsync to back up an Ispconfig website?
1mn reading
How do I create a remote backup script with Rsync?
4mn reading
backup2l restore utility
Bonjour, merci pour votre question.
Il n'y a pas de moyen automatique de faire cela sur votre Panel LWS.
Mais voici quelques pistes pour vous aider à migrer des données :
Il est important de noter que ces étapes peuvent varier en fonction de la configuration spécifique de votre site web.
Nous vous invitons à contacter notre service support à travers votre espace client, afin de vous apporter une aide si vous rencontrez des difficultés sur cette manipulation. (https://aide.lws.fr/a/268)