{"id":3186,"date":"2015-07-29T16:34:24","date_gmt":"2015-07-29T14:34:24","guid":{"rendered":"https:\/\/contabo.com\/blog\/?p=3186"},"modified":"2021-12-21T14:19:48","modified_gmt":"2021-12-21T13:19:48","slug":"backup-space","status":"publish","type":"post","link":"https:\/\/contabo.com\/blog\/backup-space\/","title":{"rendered":"How to use the Contabo Backup-Space"},"content":{"rendered":"<p>Ordering our FTP Backup-Space is always a good choice for saving important data on an external storage.<\/p>\n<p>Using that backup space can be done in many different ways, I will show you some of the most reliable ones.<\/p>\n<p>Please note, that a connection to our backup space can only be established within our datacenter. Therefore, a connection is only possible between your server and the backup server, both are located in our datacenter.<\/p>\n<p>You also need to configure our DNS resolvers, those resolvers are configured as default in any installation &#8211; if you changed something and need help setting them up, please contact our support. You can simply test the configuration by using <em>ping<\/em> on your server: <code><span style=\"color: #008000;\">ping backup.contabo.net<\/span><\/code>, if the name is resolved to an IP address, your are using the correct configuration. Please notice that the name of the server can differ, for example it might be backup-2.contabo.net. You will find it in your e-mail with the credentials.<\/p>\n<h5>Windows:<\/h5>\n<p>On our Windows servers you have an graphical user interface (GUI) via RDP, so a third party application such as Filezilla can be used without any annoying configuration steps. In Filezilla you can connect using the information as follows:<\/p>\n<blockquote><p><code><em>Host: backup.contabo.net<br \/>\nUsername:<br \/>\nPassword:<br \/>\n<\/em><\/code><\/p><\/blockquote>\n<p>You should be connected now using encryption and you can transfer all the data you want to save.<\/p>\n<p><a href=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2015\/07\/winfilezilla1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3309\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2015\/07\/winfilezilla1.jpg\" alt=\"winfilezilla\" width=\"562\" height=\"409\" srcset=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2015\/07\/winfilezilla1.jpg 1115w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2015\/07\/winfilezilla1-300x218.jpg 300w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2015\/07\/winfilezilla1-1024x746.jpg 1024w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2015\/07\/winfilezilla1-768x559.jpg 768w\" sizes=\"auto, (max-width: 562px) 100vw, 562px\" \/><\/a><\/p>\n<p>An alternate way is to mount the backup space directly as a network drive.<br \/>\nOpen &#8220;This PC&#8221; where your drives show up and choose &#8220;add network location&#8221;.<\/p>\n<p>Please enter this address:<br \/>\n<em>ftp:\/\/&lt;username&gt;:&lt;password&gt;@backup.contabo.net<\/em><\/p>\n<p><a href=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2015\/07\/winftp.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3306\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2015\/07\/winftp.jpg\" alt=\"winftp\" width=\"568\" height=\"320\" srcset=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2015\/07\/winftp.jpg 1866w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2015\/07\/winftp-300x169.jpg 300w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2015\/07\/winftp-1024x577.jpg 1024w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2015\/07\/winftp-768x433.jpg 768w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2015\/07\/winftp-1536x866.jpg 1536w\" sizes=\"auto, (max-width: 568px) 100vw, 568px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2015\/07\/winbup.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3311\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2015\/07\/winbup.jpg\" alt=\"winbup\" width=\"566\" height=\"362\" srcset=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2015\/07\/winbup.jpg 1191w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2015\/07\/winbup-300x192.jpg 300w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2015\/07\/winbup-1024x655.jpg 1024w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2015\/07\/winbup-768x491.jpg 768w\" sizes=\"auto, (max-width: 566px) 100vw, 566px\" \/><\/a><\/p>\n<p>Unfortunately, Windows does not support an implicit FTP encryption, therefore, we highly recommend using some third party FTP client application.<\/p>\n<h5>Linux:<\/h5>\n<p>On Linux you can either use an FTP client or mount the backup space using some additional software.<\/p>\n<p>Almost any FTP software can be used here, we recommend using <em>lftp<\/em> which supports encryption via FTP. Depending on your distribution, the necessary package can simply be installed, e.g. by issuing <code><span style=\"color: #008000;\">apt-get install lftp <\/span><\/code>.<\/p>\n<p>For the best performance while transferring the data, we recommend creating an archive, e.g.<br \/>\n<code><span style=\"color: #008000;\">tar -czf backup.tar.gz \/home\/File_1 \/home\/File_2 <\/span><\/code><\/p>\n<p>If you\u2019re not sure about your admin rights, always enter the command sudo -i at the beginning of every session:<br \/>\n<code><span style=\"color: #008000;\">sudo -i<\/span><\/code><br \/>\nThis command will grant you the rights of a power user, so you don\u2019t have to write the command sudo at the beginning of every command line.<\/p>\n<p>Now you can conveniently upload your files to the backup space using <em>lftp<\/em>:<\/p>\n<blockquote><p><code><span style=\"color: #008000;\">:~# lftp<br \/>\nlftp :~&gt; set ftp:ssl-force true<br \/>\nlftp :~&gt; set ssl:verify-certificate no<br \/>\nlftp :~&gt; connect backup.contabo.net<br \/>\nlftp backup.contabo.net:~&gt; login &lt;Username&gt;<br \/>\nPassword:<br \/>\n<\/span><\/code><\/p><\/blockquote>\n<p>Since you are now successfully connected to the backup space, create a directory<br \/>\n<code><span style=\"color: #008000;\">mkdir backups<\/span><\/code><\/p>\n<p>and move into.<br \/>\n<code><span style=\"color: #008000;\">cd backups<\/span><\/code><\/p>\n<p>Finally,&nbsp; you can upload your archive:<br \/>\n<code><span style=\"color: #008000;\">put \/path_to_file\/backup.tar.gz .<\/span><\/code><\/p>\n<p>Similar to Windows, you can mount the backup space directly into the local file-system structure. On Linux you have several advantages like mounting with encryption. What you need is <em>curlftpfs<\/em> and some dependencies.<\/p>\n<p>First install those packages from your repository:<br \/>\n<code><span style=\"color: #008000;\">apt-get update &amp;&amp; apt-get install fuse fuse-utils curlftpfs<\/span><\/code><\/p>\n<p>On Debian 8 (Ubuntu 16.04) and later the package &#8220;fuse-utils&#8221; might not be available anymore.<\/p>\n<p>Just enter the following to install all necessary packages and dependencies :<\/p>\n<p><code><span style=\"color: #008000;\">apt update &amp;&amp; apt install curlftpfs<\/span><\/code><\/p>\n<p>For CentOS 7 you need to install the EPEL repository first :<br \/>\n<code><\/code><\/p>\n<pre class=\"bash\"><code><span style=\"color: #008000;\">yum install epel-release<\/span><\/code><\/pre>\n<pre class=\"bash\"><code><span style=\"color: #008000;\">yum install curlftpfs<\/span><\/code><\/pre>\n<p>Now create a folder where you want to mount your backup space:<br \/>\n<code><span style=\"color: #008000;\">mkdir \/mnt\/ftp <\/span><\/code><\/p>\n<p>To avoid other users to see your password in the process overview (top, htop, ps, etc.), you need to put the following information into your <em>.netrc<\/em> file. This file should be located in your users home directory but might has to be created first.<\/p>\n<blockquote><p><code><em>machine backup.contabo.net<br \/>\nlogin &lt;username&gt;<br \/>\npassword &lt;password&gt;<br \/>\n<\/em><\/code><\/p><\/blockquote>\n<p>You can now mount the backup space via FTP with the following command:<br \/>\n<code><span style=\"color: #008000;\">curlftpfs -o ssl,no_verify_peer backup.contabo.net \/mnt\/ftp <\/span><\/code><\/p>\n<p>On CentOS7 you might experience difficulties when accessing the folder, in that case try remounting the FTP without SSL encryption.<\/p>\n<p><code><span style=\"color: #008000;\">umount \/mnt\/ftp\/ &amp;&amp; curlftpfs -o no_verify_peer backup.contabo.net \/mnt\/ftp <\/span><\/code><\/p>\n<p>Another option is to start curlftpfs in foreground with the parameter &#8220;-f&#8221;.<\/p>\n<p><code><span style=\"color: #008000;\">curlftpfs -o ssl,no_verify_peer backup.contabo.net \/mnt\/ftp -f -v<\/span><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ordering our FTP Backup-Space is always a good choice for saving important data on an external storage. Using that backup space can be done in many different ways, I will show you some of the most reliable ones. Please note, that a connection to our backup space can only be established within our datacenter. Therefore, [&hellip;]<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[18],"tags":[92,181,346,510,942],"ppma_author":[1493],"class_list":["post-3186","post","type-post","status-publish","format-standard","hentry","category-tutorials","tag-backup-space","tag-contabo","tag-ftp","tag-linux","tag-windows-server"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Gianni-Donato","author_link":"https:\/\/contabo.com\/blog\/author\/gianni-donato\/"},"uagb_comment_info":0,"uagb_excerpt":"Ordering our FTP Backup-Space is always a good choice for saving important data on an external storage. Using that backup space can be done in many different ways, I will show you some of the most reliable ones. Please note, that a connection to our backup space can only be established within our datacenter. Therefore,&hellip;","authors":[{"term_id":1493,"user_id":17,"is_guest":0,"slug":"gianni-donato","display_name":"Gianni-Donato","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/4457fc8553ead9a4e1e3d5b4a940590df9bad9d9132e58e40df3894b99bbe5d0?s=96&d=mm&r=g","0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":""}],"_links":{"self":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/posts\/3186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/comments?post=3186"}],"version-history":[{"count":0,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/posts\/3186\/revisions"}],"wp:attachment":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/media?parent=3186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/categories?post=3186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/tags?post=3186"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=3186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}