Guides and tutorials

Hundreds of tutorials and step by step guides carefully written by our support team.

Restore a backup in my Cloud

The moment has come. You have contracted the backup... and it's time to recover data!

Procedure

  • From SW Panel, access All my active Services (left menu), and click on the name of the corresponding Cloud: enter image description here

  • Access Keep and recover my data> Backup Management (left menu):

    enter image description here

  • A list with the last backups made appears. Click on Restore Backup:

    enter image description here

When you click on this button, the following screen will appear:

enter image description here

With the first option, we can restore a domain or a complete service, which we can choose in a table and select the copy of the day that suits you best, either from web, mail or Database (if you have the backup activated):

enter image description here

Once the backups have been selected, you must decide if you want the copy to be overwritten in the original directory or to recover it in a different directory. Once decided, you will have to press the button Start recovery for it to take place:

enter image description here

If you select the second option:

  • On the left side, check the directories that will be recovered. Remember that, by pressing the arrows "⯈" on the left, you can display the contents of the directory:

    enter image description here

The backup copies of all databases are located in "/var/backupmysql/", so if you require any, you must mark this directory.

In the restoration directory, a ".sql" file will be generated for each of the databases. You will have to dump the one that corresponds to your database, this is not done automatically. Later, you can choose to delete the excess files.

Backups of all email are located in "/var/spool/postfix/busties /". In this directory you will find a folder for each mail domain and, within them, a folder for each mail account, so that you can choose to restore all the mail, an entire domain or a single account.

Remember that, later, you will have to access via SSH to copy the restored mail to the system mail directory ("/var/spool/postfix/busties/"), and that this operation must be carried out keeping the original permissions using the "p" parameter . For example, in this case, we restore all mail from the domain "swhosting.com": cp -pr /var/www/restore/20191005/var/spool/postfix/busties/dominio_a_restaurar.com /var/spool/postfix/busties/

  • On the right side, select the date of the backup you want to recover, review the list of selected directories and click Next:

    enter image description here

Note that the copies are made once a day and from 01:00 hours. If you want to recover the content that was there on the day (eg 04/23/2019), you must choose the following day as the date (in the example: 04/24/2019). Another way of looking at it, if you know the exact day that certain content disappeared or you deleted the code by mistake, choose that same date since the copy is from the beginning of that day.

  • A summary appears with the data to be recovered, the date of the backup to be used and the directory where you will find the restored files:

    enter image description here

  • If the data is correct, check the box as you accept the restoration and press Start Restore.

In a few minutes you will find the restored data in the directory that appears in the last step, which you can access in the usual way via FTP or SSH as indicated below.

You can move or copy the recovered code. Remember that you have the "phpMyAdmin" web database manager to carry out any import, as well as other procedures. The access address is the following:

https://your_clouds_IP/phpmyadmin

The access credentials correspond to the username and password of your database.

Access via FTP

To access the general directory of restorations ("/var/www/restore"), you must create an FTP account at the Cloud level (instead of in the service):

  1. Access the Dashboard of the service for which you have to create an FTP user account. To do this, press All my Active Services (left menu) and click on the corresponding Cloud:

    enter image description here

  2. Access Actions on this service> FTP Management (left menu), and click Create Account:

    enter image description here

  3. Next you must enter the required data: enter image description here

In compliance with the ISO 27001 standard on information security, the password will only be visible at the time of creation. You can only modify it later.

  • Login Account: Username of the new account with which you will access the FTP server.
  • Description: Optional. This field is used to detail or write a short description of the FTP account for internal organization purposes.
  • [x] No space limitation: Unlimited disk space for this account.
  • Password: The password will be used together with the username (Account Login) to access the FTP server.
  • [x] Read only: This account will only be able to read files and directories, but not create, modify or delete.
  • [x] Read/write mode: This account will be able to read, create, modify and delete files and directories.

On the right side you will find a directory tree:

enter image description here

If you select the "root" directory, this account will have access to all web directories.

Alternatively, you can choose to only mark the restorations directory ("data") to restrict access to this directory.

  1. Click Create Account and your FTP user account will be ready.

To access and transfer your files you must download an FTP client, a program that is in charge of connecting to the remote FTP server and managing the sending / receiving of files.

The most popular FTP client is FileZilla. It is a free and easy-to-use FTP manager available for Windows, Linux and Mac OS X operating systems.

The access data to the FTP server are:

  • Server: Host name (example: ce2019082916001.dnssw.net) or IP (example: 81.112.1.2). You can consult this information from the Dashboard ("Current Resources" section):

    enter image description here

  • Port: 21.

  • Username and password: They will correspond to the ones you created in the previous section.

Access via SSH

This form of access requires the credentials "root" (administrator user) of your Cloud. Unlike the previous one, it allows you to view all the directories of the file system.

We tell you how to check the access data:

  1. Click on All my active Services (left menu) and click on the corresponding Cloud:

    enter image description here

  2. Access Actions on this service (left menu) and click on Service access data:

    enter image description here

The password was sent to you by email when you signed up for the Cloud.

The most popular program is WinSCP. It will allow you to connect, view all the directories of the file system and make the copy of files that you require without access restrictions. Remember that at the time of connecting you must select the SCP protocol.

More than 2000 m² of own facilities and Data Centers in Spain
Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.
More than 2000 m² of own facilities and Data Centers in Spain
Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.