1and1 Help Centre Categories

print article

Transfer Data with a Server in the Rescue System

Learn how to transfer data to or from your server while the server in running the Linux Rescue System.

The Rescue System provided by 1&1 does not have any FTP service running on the machine for file transfers. File transfers are still possible via SCP as SSH is configured and running in the Rescue System. If unfamiliar with the Secure Copy Protocol, this article will offer some explanation and guidance.

Please note:
If you wish to transfer data to/from the hard drive(s) of your server from the Rescue System, mount the partitions in the Linux Rescue System.

Secure Copy Protocol (SCP) is a Linux command and a protocol. Depending on the scenario, you may transfer files directly to another server with SSH services enabled or to your Windows or Macintosh computer. Please reference the relevant section below:

For transfer of files to Microsoft Windows

The easiest way to manage file transfers from your server to a Windows computer is to use WinSCP.net. Download the latest Installation package and install the application (no reboot required).
Step 1
Launch the WinSCP program from the Start Menu or Desktop icon.
Step 2
On the WinSCP Login page, click New.
WinSCP Login screen
WinSCP Login screen
Step 3
Enter the Host name, User name and Password to connect to your server via SSH (Secure Shell). If you were given a generated password when booting the server into the Rescue System, use the root user and the password. Click Save to proceed. User information entered
User information entered
Step 4
Choose a description to save the login information and click OK.
Save session as
Save session as
Step 5
Select the description entered for the server and click Login. Stored sessions selected
Stored sessions selected
Step 6
Once connected, WinSCP receives the SSH key fingerprint and may ask you if you want to save the key as a known host. In this example, we will click No.
Please note:
The SSH key fingerprint that the Rescue System provides will be different from that of the server during normal operation. If Yes is clicked, WinSCP will save the Rescue System's SSH key fingerprint and alert you that the key fingerprint is different when connecting to the server in the normal mode later.
Warning screen
Warning screen
Step 7
If your password was not saved, you will be prompted to enter the SSH password. Click OK.
Server prompt
Server prompt
Step 8
From the drop-down box on the right-hand side, select the / <root> folder. This will take you to the root or / folder of the Rescue System. <root> folder
<root> folder
Step 9
If you have mounted your data to the /mnt/ folder, double-click the mnt folder to access the root file system of the server's hard drive. You may drag and drop items from your computer to your server or vice versa to perform secure file transfers. mnt folder
mnt folder

For transfer of files to a Linux computer
Step 1
Log in to your server via SSH (Secure Shell) using the root user and password. If you were given a generated password when booting the server into the Rescue System, please use the password that was provided.
Step 2
Once logged in, you must run the scp command. In this example, we are transferring all the Plesk backup files and folders from the server's hard drive in the Rescue System to another server's root directory. For this we use the following command:
scp -r /mnt/var/lib/psa/dumps/* root@74.111.11.111:/root/

Notable Locations
Directory Path Description
/mnt/var/www/vhosts/ For every domain added to Plesk, a folder will be present with website files located in the httpdocs/ folder underneath the domain folder.
/mnt/var/qmail/mailnames/ For every domain added to Plesk, a folder will be present with mail users and settings located in the subfolders.
/mnt/root/ The root user home directory.
/mnt/etc/ Folder containing most configuration files.
/mnt/var/lib/mysql/ Folder for MySQL databases and tables
/mnt/var/log/ Folder containing most system logs.
/mnt/var/lib/psa/dumps/ Folder containing Plesk Backup files.


For transfer of files to a Macintosh

The easiest way to manage file transfers from your server to a Macintosh computer is to use Cyberduck.
Step 1
Download and run the Cyberduck application.
Step 2
Click Open Connection. Main page Cyberduck
Main page Cyberduck
Step 3
A new connection settings window will appear. From the drop-down box, select SFTP (SSH File Transfer Protocol). Available connections
Available connections
Step 4
Fill out the required fields with your IP, Username and Password. The Username will be the root user. If a new password was generated when the server was booted into the Rescue System, use the new password. When complete, click Connect. Enter the connection info
Enter the connection info
Step 5
If this is your first time connecting, the rescue system will present a secure key fingerprint to Cyberduck to establish a connection. You will be informed that the host key is unknown to Cyberduck and when prompted, choose Allow. Warning screen about unknown host
Warning screen about unknown host
Step 6
Once connected, select the root or / folder from the drop-down. Available folders
Available folders
Step 7
If you have mounted your data to the /mnt/ folder, double-click the mnt folder to access the root file system of the server's hard drive. From this point you may drag and drop items from your computer to your server or vice versa to perform secure file transfers. mnt folder
mnt folder

Notable Locations
Directory Path Description
/mnt/var/www/vhosts/ For every domain added to Plesk, a folder will be present with website files located in the httpdocs/ folder underneath the domain folder.
/mnt/var/qmail/mailnames/ For every domain added to Plesk, a folder will be present with mail users and settings located in the subfolders.
/mnt/root/ The root user home directory.
/mnt/etc/ Folder containing most configuration files.
/mnt/var/lib/mysql/ Folder for MySQL databases and tables
/mnt/var/log/ Folder containing most system logs.
/mnt/var/lib/psa/dumps/ Folder containing Plesk Backup files.

For additional information, you may want to reference: