Manual Backup Linux Rescue System/en

Aus EUserv Wiki

Version vom 16:18, 3. Dez. 2012 bei Root (Diskussion | Beiträge)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

Creating a backup with the Linux rescue system

Inhaltsverzeichnis

Creating a backup with the Linux rescue system

General

If you have an EUserv server or virtual server plan, you have the opportunities to start this on the EUserv customer service center in the rescue mode.

With the function Rescue System you can connect to your server, for example if an operating system installation is not successful or if the server is not accessible from the usual way. After it is started in the rescue mode, you can perform a backup of your user and configuration settings. This is a great necessity if your hard drive is malfunction, the system and the software are no longer works and critical data must be protected.

Preparing and activating the rescue system

First, your server or virtual server must boot up in the rescue system. How to do this, you'll find here.

Connect with the rescue system

After your server or virtual server is booted in the rescue system, you can connect using SSH program (for example, Putty). Simply start Putty and enter the IP address of your server.



It is important that a Port is set at 22 and Connection type: SSH is selected.
Now click on the button Open and the SSH connection to your server is set up.

It appears in a console window in which you are asked to enter your user name and password. Here you enter your root and the default password of your server. To find this information, you'll see here.



If you have successfully connected with your server in the rescue mode, the following window appears:



Create backup and backup the FTP server

In order to perform a backup of your user data and configuration data, you must create a zip file of your user and configuration files. These are located in the directories: /home,/etc and/var/www. This requires the following command to be entered in the console window of Putty:

tar cvf backup.tar /etc /home /var/www 

Now you can transfer this backup e.g., on a FTP server (we recommend our BackupHD/online hard drive BackupHD/Onlinefestplatte). To do this, by using the MidnightCommander (MC) with the following command:

mc

Now change to the directory where you saved the backup file (the default is the root directory), and select the backup file (backup.tar) from using the arrow keys:



In order now to connect with the FTP server, click on the upper right and select the arrow keys FTP link ... from:



Now you are asked to enter your FTP server name and the user data. Give this as follows:



The required data can be found in the customer service center: BackupHD/Onlinefestplatte Now you can copy the backup file from your server to the FTP server. Choose the above File --> Copy from:



Now the directory structure of the FTP spaces is appeared on which the backup file should be copied. Confirm this with OK:



To ensure that your backup file is transferred to the FTP server.



Now you can log on to our Web client to connect with the BackupHD below http://web.storage.euserv.net. After you signed in with your FTP user data, you can now see your backup file.

enlarge



You can download this by yourself. After a re-install in your server was necessary, you can transfer the data again to your server and unzip. You have made ​​your user and configuration files again.

Backup via rsync

Another way to create a backup of your files is by using rsync. Here, the backup file is transferred directly to your BackupHD/online hard drive. To do this, you can refer to the following wiki article:
Sicherung_Dateien_auf_BackupHD_mit_Rsync