{"id":925,"date":"2011-01-19T21:34:16","date_gmt":"2011-01-19T16:04:16","guid":{"rendered":"https:\/\/www.host.co.in\/knowledgebase\/?p=925"},"modified":"2026-08-20T13:34:29","modified_gmt":"2026-08-20T08:04:29","slug":"backup-on-a-dedicated-server-using-an-ssh-connection","status":"publish","type":"post","link":"https:\/\/www.host.co.in\/kb\/backup-on-a-dedicated-server-using-an-ssh-connection\/","title":{"rendered":"The Process To Take Backup On A Dedicated Server Using An SSH Connection"},"content":{"rendered":"<p>If your <a href=\"https:\/\/www.host.co.in\/hosting\/dedicated-servers\">dedicated server<\/a> doesn&#8217;t have a control panel, or you just prefer working from the command line, SSH gives you full control over backing up both your files and your databases. Here&#8217;s how to do it properly, that&#8217;s actually usable if you ever need to restore from it.<\/p>\n<h2>Before You Start<\/h2>\n<p>Connect to your server via SSH using your terminal (Mac\/Linux) or a client like PuTTY (Windows):<\/p>\n<p><em>bash<\/em><br \/>\n<em>ssh username@your-server-ip<\/em><\/p>\n<p><strong>A quick security note:<\/strong> logging in directly as root works, but it&#8217;s better practice to SSH in as a regular sudo-enabled user and use sudo for privileged commands. If your server still only allows root login, consider setting up a separate admin user and disabling direct root SSH access once you&#8217;re comfortable with the process.<\/p>\n<h2>How to Back Up a MySQL\/MariaDB Database<\/h2>\n<p>Export database to .sql file via mysqldump:<\/p>\n<p><em>bash<\/em><br \/>\n<em>mysqldump -u your_username -p your_database_name &gt; backup_$(date +%F).sql<\/em><\/p>\n<p>You&#8217;ll be prompted for your MySQL password. The $(date +%F) part of commands automatically adds today&#8217;s date at the end of the filename, for example, backup_2026-08-07.sql. Due to which you can easily find the right backup later.<\/p>\n<h2>To back up every database on the server at once:<\/h2>\n<p><em>bash<\/em><br \/>\n<em>mysqldump -u your_username -p &#8211;all-databases &gt; all_databases_$(date +%F).sql<\/em><\/p>\n<h2>Backing Up Website Files<\/h2>\n<p>A database backup alone doesn&#8217;t back up your actual website files, uploads, or configuration. Use tar to archive a directory:<\/p>\n<p><em>bash<\/em><br \/>\n<em>tar -czvf website_backup_$(date +%F).tar.gz \/var\/www\/html<\/em><\/p>\n<p>This compresses everything in \/var\/www\/html (adjust the path to wherever your website actually lives) into a single .gz file.<\/p>\n<h2>Move the Backup Off the Server<\/h2>\n<p>This is the step the original process skipped, and it&#8217;s the one that actually matters. A backup that lives only on the same server doesn&#8217;t protect you if that server has a hardware failure, gets compromised, or is lost entirely. Copy backups somewhere else using scp or rsync:<\/p>\n<p><em>bash<\/em><br \/>\n<em>scp backup_2026-08-07.sql user@remote-server:\/path\/to\/backup\/folder\/<\/em><\/p>\n<p>Or sync a whole backup directory with rsync:<\/p>\n<p><em>bash<\/em><br \/>\n<em>rsync -avz \/home\/backups\/ user@remote-server:\/backups\/<\/em><\/p>\n<h2>Automate It With a Cron Job<\/h2>\n<p>Manual backups get forgotten so automate the backup process:<\/p>\n<p><em>bash<\/em><br \/>\n<em>crontab -e<\/em><\/p>\n<p>Add a line to run a database backup daily at 2 AM:<\/p>\n<p><em>bash<\/em><br \/>\n<em>0 2 * * * mysqldump -u your_username -p&#8217;your_password&#8217; your_database &gt; \/home\/backups\/db_$(date +\\%F).sql<\/em><\/p>\n<p><strong>Note:<\/strong> storing a plaintext password in a cron job isn&#8217;t ideal from a security standpoint. Therefore, store credentials in a .my.cnf file with restricted permissions (chmod 600) and omit the password from the command entirely, because it is a more secure approach for it.<\/p>\n<h2>Restoring From a Backup<\/h2>\n<p><strong>Database:<\/strong><br \/>\n<em>bash<\/em><br \/>\n<em>mysql -u your_username -p your_database_name &lt; backup_2026-08-07.sql<\/em><\/p>\n<p><strong>Files:<\/strong><br \/>\n<em>bash<\/em><br \/>\n<em>tar -xzvf website_backup_2026-08-07.tar.gz -C \/var\/www\/html<\/em><\/p>\n<h2>Best Practices<\/h2>\n<ul>\n<li>Follow the 3-2-1 rule: 3 copies of your data, on 2 different types of storage, with at least 1 copy offsite.<\/li>\n<li>Verify your backups occasionally by actually restoring one in a test environment since a backup you&#8217;ve never tested is a backup you can&#8217;t fully trust.<\/li>\n<li>Back up files and databases separately but on the same schedule, so they stay in sync with each other.<\/li>\n<li>Set a retention policy. Always keep only your recent backups and delete older ones automatically to free up disk space.<\/li>\n<li>Consider a managed option if scripting this yourself isn&#8217;t ideal \u2014 our Backup Solutions service handles automated, offsite, encrypted backups without any manual scripting.<\/li>\n<\/ul>\n<h2>Need Help?<\/h2>\n<p>If you are unsure about how to back up your data properly, or facing issues while backing up your data, then reach out to our support team or chat with us.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If your dedicated server doesn&#8217;t have a control panel, or you just prefer working from the command line, SSH gives you full control over backing up both your files and your databases. Here&#8217;s how to do it properly, that&#8217;s actually usable if you ever need to restore from it. Before You Start Connect to your [&hellip;]<\/p>\n","protected":false},"author":14,"featured_media":6745,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[93,1],"tags":[103,211,402,204],"class_list":["post-925","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dedicated-servers-faq","category-dedicated-web-hosting","tag-backup","tag-dedicated-servers","tag-mysql","tag-ssh"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"Learn how to take backup on a dedicated server using SSH, back up website files and databases, automate backups, and restore your data securely.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Sarang Khedkar\"\/>\n\t<meta name=\"keywords\" content=\"backup,dedicated servers,mysql,ssh,dedicated servers faq\\&#039;s,dedicated web hosting\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.host.co.in\/kb\/backup-on-a-dedicated-server-using-an-ssh-connection\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Knowledgebase | India&#039;s Top Web Hosting Company\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to Take Backup on a Dedicated Server Using SSH\" \/>\n\t\t<meta property=\"og:description\" content=\"Learn how to take backup on a dedicated server using SSH, back up website files and databases, automate backups, and restore your data securely.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.host.co.in\/kb\/backup-on-a-dedicated-server-using-an-ssh-connection\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2011-01-19T16:04:16+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-08-20T08:04:29+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/host.co.in.india\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@HostIndia\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to Take Backup on a Dedicated Server Using SSH\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Learn how to take backup on a dedicated server using SSH, back up website files and databases, automate backups, and restore your data securely.\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@HostIndia\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/backup-on-a-dedicated-server-using-an-ssh-connection\\\/#article\",\"name\":\"How to Take Backup on a Dedicated Server Using SSH\",\"headline\":\"The Process To Take Backup On A Dedicated Server Using An SSH Connection\",\"author\":{\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/author\\\/ajay\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/wp-content\\\/uploads\\\/2011\\\/01\\\/Backup-On-A-Dedicated-Server.png\",\"width\":1200,\"height\":675,\"caption\":\"Dedicated Server Backup Using SSH\"},\"datePublished\":\"2011-01-19T21:34:16+05:30\",\"dateModified\":\"2026-08-20T13:34:29+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/backup-on-a-dedicated-server-using-an-ssh-connection\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/backup-on-a-dedicated-server-using-an-ssh-connection\\\/#webpage\"},\"articleSection\":\"Dedicated Servers FAQ's, Dedicated Web Hosting, backup, Dedicated Servers, MySQL, SSH\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/backup-on-a-dedicated-server-using-an-ssh-connection\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/category\\\/dedicated-web-hosting\\\/#listItem\",\"name\":\"Dedicated Web Hosting\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/category\\\/dedicated-web-hosting\\\/#listItem\",\"position\":2,\"name\":\"Dedicated Web Hosting\",\"item\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/category\\\/dedicated-web-hosting\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/backup-on-a-dedicated-server-using-an-ssh-connection\\\/#listItem\",\"name\":\"The Process To Take Backup On A Dedicated Server Using An SSH Connection\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/backup-on-a-dedicated-server-using-an-ssh-connection\\\/#listItem\",\"position\":3,\"name\":\"The Process To Take Backup On A Dedicated Server Using An SSH Connection\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/category\\\/dedicated-web-hosting\\\/#listItem\",\"name\":\"Dedicated Web Hosting\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/#organization\",\"name\":\"Host.co.in Knowledge Base\",\"description\":\"India's Top Web Hosting Company\",\"url\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/wp-content\\\/uploads\\\/2017\\\/09\\\/host.png\",\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/backup-on-a-dedicated-server-using-an-ssh-connection\\\/#organizationLogo\",\"width\":258,\"height\":76},\"image\":{\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/backup-on-a-dedicated-server-using-an-ssh-connection\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/host.co.in.india\",\"https:\\\/\\\/twitter.com\\\/HostIndia\",\"https:\\\/\\\/www.instagram.com\\\/Host.co.in\\\/\",\"https:\\\/\\\/www.pinterest.com\\\/HostinginIndia\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UChWntAsR9_PYB0vfNBpAMVw\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/host-co-in-india\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/author\\\/ajay\\\/#author\",\"url\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/author\\\/ajay\\\/\",\"name\":\"Sarang Khedkar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/backup-on-a-dedicated-server-using-an-ssh-connection\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/47b10ffc99826513d9c00afe0e835d0c6980ef95126ee089d741f8df0f6c125b?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Sarang Khedkar\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/backup-on-a-dedicated-server-using-an-ssh-connection\\\/#webpage\",\"url\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/backup-on-a-dedicated-server-using-an-ssh-connection\\\/\",\"name\":\"How to Take Backup on a Dedicated Server Using SSH\",\"description\":\"Learn how to take backup on a dedicated server using SSH, back up website files and databases, automate backups, and restore your data securely.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/backup-on-a-dedicated-server-using-an-ssh-connection\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/author\\\/ajay\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/author\\\/ajay\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/wp-content\\\/uploads\\\/2011\\\/01\\\/Backup-On-A-Dedicated-Server.png\",\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/backup-on-a-dedicated-server-using-an-ssh-connection\\\/#mainImage\",\"width\":1200,\"height\":675,\"caption\":\"Dedicated Server Backup Using SSH\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/backup-on-a-dedicated-server-using-an-ssh-connection\\\/#mainImage\"},\"datePublished\":\"2011-01-19T21:34:16+05:30\",\"dateModified\":\"2026-08-20T13:34:29+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/\",\"name\":\"Host.co.in KB\",\"description\":\"India's Top Web Hosting Company\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.host.co.in\\\/kb\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to Take Backup on a Dedicated Server Using SSH","description":"Learn how to take backup on a dedicated server using SSH, back up website files and databases, automate backups, and restore your data securely.","canonical_url":"https:\/\/www.host.co.in\/kb\/backup-on-a-dedicated-server-using-an-ssh-connection\/","robots":"max-image-preview:large","keywords":"backup,dedicated servers,mysql,ssh,dedicated servers faq\\'s,dedicated web hosting","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.host.co.in\/kb\/backup-on-a-dedicated-server-using-an-ssh-connection\/#article","name":"How to Take Backup on a Dedicated Server Using SSH","headline":"The Process To Take Backup On A Dedicated Server Using An SSH Connection","author":{"@id":"https:\/\/www.host.co.in\/kb\/author\/ajay\/#author"},"publisher":{"@id":"https:\/\/www.host.co.in\/kb\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.host.co.in\/kb\/wp-content\/uploads\/2011\/01\/Backup-On-A-Dedicated-Server.png","width":1200,"height":675,"caption":"Dedicated Server Backup Using SSH"},"datePublished":"2011-01-19T21:34:16+05:30","dateModified":"2026-08-20T13:34:29+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.host.co.in\/kb\/backup-on-a-dedicated-server-using-an-ssh-connection\/#webpage"},"isPartOf":{"@id":"https:\/\/www.host.co.in\/kb\/backup-on-a-dedicated-server-using-an-ssh-connection\/#webpage"},"articleSection":"Dedicated Servers FAQ's, Dedicated Web Hosting, backup, Dedicated Servers, MySQL, SSH"},{"@type":"BreadcrumbList","@id":"https:\/\/www.host.co.in\/kb\/backup-on-a-dedicated-server-using-an-ssh-connection\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.host.co.in\/kb\/#listItem","position":1,"name":"Home","item":"https:\/\/www.host.co.in\/kb\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.host.co.in\/kb\/category\/dedicated-web-hosting\/#listItem","name":"Dedicated Web Hosting"}},{"@type":"ListItem","@id":"https:\/\/www.host.co.in\/kb\/category\/dedicated-web-hosting\/#listItem","position":2,"name":"Dedicated Web Hosting","item":"https:\/\/www.host.co.in\/kb\/category\/dedicated-web-hosting\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.host.co.in\/kb\/backup-on-a-dedicated-server-using-an-ssh-connection\/#listItem","name":"The Process To Take Backup On A Dedicated Server Using An SSH Connection"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.host.co.in\/kb\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.host.co.in\/kb\/backup-on-a-dedicated-server-using-an-ssh-connection\/#listItem","position":3,"name":"The Process To Take Backup On A Dedicated Server Using An SSH Connection","previousItem":{"@type":"ListItem","@id":"https:\/\/www.host.co.in\/kb\/category\/dedicated-web-hosting\/#listItem","name":"Dedicated Web Hosting"}}]},{"@type":"Organization","@id":"https:\/\/www.host.co.in\/kb\/#organization","name":"Host.co.in Knowledge Base","description":"India's Top Web Hosting Company","url":"https:\/\/www.host.co.in\/kb\/","logo":{"@type":"ImageObject","url":"https:\/\/www.host.co.in\/kb\/wp-content\/uploads\/2017\/09\/host.png","@id":"https:\/\/www.host.co.in\/kb\/backup-on-a-dedicated-server-using-an-ssh-connection\/#organizationLogo","width":258,"height":76},"image":{"@id":"https:\/\/www.host.co.in\/kb\/backup-on-a-dedicated-server-using-an-ssh-connection\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/host.co.in.india","https:\/\/twitter.com\/HostIndia","https:\/\/www.instagram.com\/Host.co.in\/","https:\/\/www.pinterest.com\/HostinginIndia\/","https:\/\/www.youtube.com\/channel\/UChWntAsR9_PYB0vfNBpAMVw","https:\/\/www.linkedin.com\/company\/host-co-in-india\/"]},{"@type":"Person","@id":"https:\/\/www.host.co.in\/kb\/author\/ajay\/#author","url":"https:\/\/www.host.co.in\/kb\/author\/ajay\/","name":"Sarang Khedkar","image":{"@type":"ImageObject","@id":"https:\/\/www.host.co.in\/kb\/backup-on-a-dedicated-server-using-an-ssh-connection\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/47b10ffc99826513d9c00afe0e835d0c6980ef95126ee089d741f8df0f6c125b?s=96&d=mm&r=g","width":96,"height":96,"caption":"Sarang Khedkar"}},{"@type":"WebPage","@id":"https:\/\/www.host.co.in\/kb\/backup-on-a-dedicated-server-using-an-ssh-connection\/#webpage","url":"https:\/\/www.host.co.in\/kb\/backup-on-a-dedicated-server-using-an-ssh-connection\/","name":"How to Take Backup on a Dedicated Server Using SSH","description":"Learn how to take backup on a dedicated server using SSH, back up website files and databases, automate backups, and restore your data securely.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.host.co.in\/kb\/#website"},"breadcrumb":{"@id":"https:\/\/www.host.co.in\/kb\/backup-on-a-dedicated-server-using-an-ssh-connection\/#breadcrumblist"},"author":{"@id":"https:\/\/www.host.co.in\/kb\/author\/ajay\/#author"},"creator":{"@id":"https:\/\/www.host.co.in\/kb\/author\/ajay\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/www.host.co.in\/kb\/wp-content\/uploads\/2011\/01\/Backup-On-A-Dedicated-Server.png","@id":"https:\/\/www.host.co.in\/kb\/backup-on-a-dedicated-server-using-an-ssh-connection\/#mainImage","width":1200,"height":675,"caption":"Dedicated Server Backup Using SSH"},"primaryImageOfPage":{"@id":"https:\/\/www.host.co.in\/kb\/backup-on-a-dedicated-server-using-an-ssh-connection\/#mainImage"},"datePublished":"2011-01-19T21:34:16+05:30","dateModified":"2026-08-20T13:34:29+05:30"},{"@type":"WebSite","@id":"https:\/\/www.host.co.in\/kb\/#website","url":"https:\/\/www.host.co.in\/kb\/","name":"Host.co.in KB","description":"India's Top Web Hosting Company","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.host.co.in\/kb\/#organization"}}]},"og:locale":"en_US","og:site_name":"Knowledgebase | India's Top Web Hosting Company","og:type":"article","og:title":"How to Take Backup on a Dedicated Server Using SSH","og:description":"Learn how to take backup on a dedicated server using SSH, back up website files and databases, automate backups, and restore your data securely.","og:url":"https:\/\/www.host.co.in\/kb\/backup-on-a-dedicated-server-using-an-ssh-connection\/","article:published_time":"2011-01-19T16:04:16+00:00","article:modified_time":"2026-08-20T08:04:29+00:00","article:publisher":"https:\/\/www.facebook.com\/host.co.in.india","twitter:card":"summary","twitter:site":"@HostIndia","twitter:title":"How to Take Backup on a Dedicated Server Using SSH","twitter:description":"Learn how to take backup on a dedicated server using SSH, back up website files and databases, automate backups, and restore your data securely.","twitter:creator":"@HostIndia"},"aioseo_meta_data":{"post_id":"925","title":"How to Take Backup on a Dedicated Server Using SSH","description":"Learn how to take backup on a dedicated server using SSH, back up website files and databases, automate backups, and restore your data securely.","keywords":null,"keyphrases":{"focus":{"keyphrase":"backup on a dedicated server","score":0,"analysis":[]},"additional":[]},"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"none","tabs":null,"priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"created":"2025-10-14 11:20:39","updated":"2026-08-20 09:10:03","primary_term":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"twitter_image_url":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"seo_analyzer_scan_date":null,"focus_keyword":"backup on a dedicated server","additional_keywords":null,"truseo_locale":null},"_links":{"self":[{"href":"https:\/\/www.host.co.in\/kb\/wp-json\/wp\/v2\/posts\/925","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.host.co.in\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.host.co.in\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.host.co.in\/kb\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.host.co.in\/kb\/wp-json\/wp\/v2\/comments?post=925"}],"version-history":[{"count":4,"href":"https:\/\/www.host.co.in\/kb\/wp-json\/wp\/v2\/posts\/925\/revisions"}],"predecessor-version":[{"id":6748,"href":"https:\/\/www.host.co.in\/kb\/wp-json\/wp\/v2\/posts\/925\/revisions\/6748"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.host.co.in\/kb\/wp-json\/wp\/v2\/media\/6745"}],"wp:attachment":[{"href":"https:\/\/www.host.co.in\/kb\/wp-json\/wp\/v2\/media?parent=925"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.host.co.in\/kb\/wp-json\/wp\/v2\/categories?post=925"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.host.co.in\/kb\/wp-json\/wp\/v2\/tags?post=925"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}