{"id":575,"date":"2013-02-19T17:56:30","date_gmt":"2013-02-19T22:56:30","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2013\/02\/19\/backup-a-file-before-editing\/"},"modified":"2021-08-16T23:21:22","modified_gmt":"2021-08-17T03:21:22","slug":"backup-a-file-before-editing","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/","title":{"rendered":"Backup a file before editing"},"content":{"rendered":"<p>In this article I\u2019m going to go over a few ways in which you can backup a file for your website. That way if you directly modified the original file on the server and made a mistake, you can revert to your saved copy.<\/p>\n<p>Many times you might need to modify a config, include, or template file for your software that you\u2019re running on your website. In most cases it is much easier to just directly modify these files instead of editing a local copy and then re-uploading that to the server.<\/p>\n<p>In this article I\u2019ll review how you can backup a file from the cPanel File Manager, over FTP, or via SSH if you happen to have a VPS or dedicated server.<\/p>\n<h2>Backup a file in cPanel File Manager<\/h2>\n<p>Using the steps below I\u2019ll show you how you can easily back up a file using the cPanel File Manager.<\/p>\n<ol class=\"article_list\">\n<li><a href=\"\/support\/edu\/cpanel\/how-to-log-into-cpanel\/\" target=\"\u201d_blank\u201d\" rel=\"noopener noreferrer\">Login to your cPanel<\/a>.<\/li>\n<li> <a href=\"\/support\/wp-content\/uploads\/2013\/02\/how-to_back-up-file_file-manager.png\" rel=\"lightbox-0\"><img decoding=\"async\" width=\"726\" height=\"162\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/how-to_back-up-file_file-manager.png\" class=\"optimized-lcp-image\" alt=\"Click on file manager\" loading=\"eager\" fetchpriority=\"high\" sizes=\"(max-width: 768px) 100vw, 768px\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/how-to_back-up-file_file-manager.png 726w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/how-to_back-up-file_file-manager-300x67.png 300w\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Under the <strong>Files<\/strong> section, click on <strong>File Manager<\/strong>.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li> <a href=\"\/support\/wp-content\/uploads\/2013\/02\/how-to_back-up-file_file-manager-settings.png\" rel=\"lightbox-0\"><img decoding=\"async\" alt=\"Click on file manager settings\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/how-to_back-up-file_file-manager-settings.png\" style=\"float: right; margin: 0px 0px 15px 15px;\" title=\"Click here to view the larger image\" width=\"100\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>In the top right hand corner, click on <strong>Settings<\/strong>. Select the <strong>Document Root for:<\/strong> option, and choose your domain from the drop-down.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li>Ensure that <strong>Show Hidden Files<\/strong> is selected.<\/li>\n<li>Then click <strong>Save<\/strong>.<\/li>\n<li> <a href=\"\/support\/wp-content\/uploads\/2013\/02\/how-to_back-up-file_select-file-to-copy.png\" rel=\"lightbox-0\"><img decoding=\"async\" alt=\"Select the file to copy\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/how-to_back-up-file_select-file-to-copy.png\" style=\"float: right; margin: 0px 0px 15px 15px;\" title=\"Click here to view the larger image\" width=\"100\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Right-click on the file you\u2019d like to backup, and select <strong>Copy<\/strong> from the drop-down.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li> <a href=\"\/support\/wp-content\/uploads\/2013\/02\/how-to_back-up-file_copy-window.png\" rel=\"lightbox-0\"><img decoding=\"async\" alt=\"Type in the name and confirm the path of the file to copy\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/how-to_back-up-file_copy-window.png\" style=\"float: right; margin: 0px 0px 15px 15px;\" title=\"Click here to view the larger image\" width=\"100\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Copy the full path from the <strong>Type the path you wish to copy<\/strong>\u00a0field, in our example this would be:<\/p>\n<div style=\"clear:both;\"><\/div>\n<p><code>\/public_html\/admin\/config.php<\/code><br>\nIn the field below that with the house icon, paste the full path you copied and then append <strong>-BAK<\/strong>\u00a0to the end. In our example this should look like:<\/p>\n<p><code>\/public_html\/admin\/config.php-BAK<\/code><br>\nFinally click on <strong>Copy File(s)<\/strong><\/p><\/li>\n<li> <a href=\"\/support\/wp-content\/uploads\/2013\/02\/how-to_back-up-file_confirm-backup.png\" rel=\"lightbox-0\"><img decoding=\"async\" alt=\"Confirm that the file is backed up\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/how-to_back-up-file_confirm-backup.png\" style=\"float: right; margin: 0px 0px 15px 15px;\" title=\"Click here to view the larger image\" width=\"100\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>You should now have a backed up copy of your original file, and you can reverse the same steps if you\u2019d like to have your <strong>config.php-BAK<\/strong> file copied over the <strong>config.php<\/strong> file to restore the backed up data.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<\/ol>\n<h2>Backup a file in FTP client<\/h2>\n<p>Following the steps below you can also simply use a FTP client to retrieve a local copy of a file for backup purposes. Then you can simply re-upload that backed up file to the server in the event that something went wrong with the original file.<\/p>\n<ol class=\"article_list\">\n<li>In your FTP client navigate to the file you\u2019d like to backup in the right-hand server pane, in the left-hand pane navigate to a local folder on your computer you\u2019d like to backup the file to.<\/li>\n<li><a href=\"\/support\/wp-content\/uploads\/2013\/02\/website_how-to_backup-file_filezilla-drag-file-to-local-folder.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" alt=\"filezilla drag file to local folder\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_backup-file_filezilla-drag-file-to-local-folder.png\" style=\"width: 160px; float: right; margin-left: 10px; position: relative; bottom: 15px;\" width=\"615\" height=\"506\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Drag over your file from the right-hand server pane over to your local folder on the left.<\/p><\/li>\n<li style=\"clear: both;\"><a href=\"\/support\/wp-content\/uploads\/2013\/02\/website_how-to_backup-file_filezilla-drag-file-to-remote-server.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" alt=\"filezilla drag file to remote server\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_backup-file_filezilla-drag-file-to-remote-server.png\" style=\"width: 160px; float: right; margin-left: 10px; position: relative; bottom: 15px;\" width=\"604\" height=\"498\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>If you wanted to restore your backed up file, simply reverse the process and drag the backed up file from your local folder on the left to the remote server directory on the right.<\/p><\/li>\n<li style=\"clear: both;\"><a href=\"\/support\/wp-content\/uploads\/2013\/02\/website_how-to_backup-file_filezilla-confirm-overwrite-file.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" alt=\"filezilla confirm overwrite file\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_backup-file_filezilla-confirm-overwrite-file.png\" style=\"width: 160px; float: right; margin-left: 10px; position: relative; bottom: 15px;\" width=\"524\" height=\"309\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Your FTP client will more than likely present you with a <strong>Target file already exists<\/strong> pop-up, simply choose <strong>Overwrite<\/strong> as the <strong>Action<\/strong>, then click on <strong>OK<\/strong>.<\/p><\/li>\n<\/ol>\n<h2>Backup a file via SSH<\/h2>\n<p class=\"alert\">To follow along with the steps below you\u2019ll need to have SSH access to either your VPS or dedicated server.<\/p>\n<ol class=\"article_list\">\n<li><a href=\"\/support\/server\/ssh\/how-to-login-ssh\/\" target=\"\u201d_blank\u201d\" rel=\"noopener noreferrer\">Login to your server via SSH<\/a>.<\/li>\n<li>Here are 3 example commands you could use to backup the file <strong>\/home\/userna5\/public_html\/admin\/config.php<\/strong> to the same directory as <strong>config.php-BAK<\/strong>:\n<p><code>cp -frp \/home\/userna5\/public_html\/admin\/config.php{,-BAK}<\/code><\/p>\n<p><code>cp -frp \/home\/userna5\/public_html\/admin\/config.php \/home\/userna5\/public_html\/admin\/config.php-BAK<\/code><\/p>\n<p><code>cd \/home\/userna5\/public_html\/admin\/<br>\ncp -frp config.php config.php-BAK<\/code><br>\nYou should then be able to see the backed up file:<\/p>\n<p><code>userna5@server [\/home]# ls -l \/home\/userna5\/public_html\/admin\/<br>\ntotal 16<br>\ndrwxr-xr-x 2 userna5 userna5 4096 Feb 19 14:45 .\/<br>\ndrwxr-xr-x 3 userna5 userna5 4096 Feb 19 13:59 ..\/<br>\n-rw-r--r-- 1 userna5 userna5 395 Feb 19 14:34 config.php<br>\n-rw-r--r-- 1 userna5 userna5 395 Feb 19 14:34 config.php-BAK<\/code><\/p><\/li>\n<\/ol>\n<p>You should now understand how you can backup a file on your server using a few different methods. This will help ensure that you always have a good file to revert back to incase any problem are encountered after you\u2019ve edited the original file.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article I\u2019m going to go over a few ways in which you can backup a file for your website. That way if you directly modified the original file on the server and made a mistake, you can revert to your saved copy. Many times you might need to modify a config, include, or<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4315,4288],"tags":[],"class_list":["post-575","post","type-post","status-publish","format-standard","hentry","category-backup-and-restore","category-website"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Backup a file before editing | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"In this article I&#039;m going to go over a few ways in which you can backup a file for your website. That way if you directly modified the original file on the server and made a mistake, you can revert to your saved copy.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Backup a file before editing | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"In this article I&#039;m going to go over a few ways in which you can backup a file for your website. That way if you directly modified the original file on the server and made a mistake, you can revert to your saved copy.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2013-02-19T22:56:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T03:21:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/how-to_back-up-file_file-manager.png\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"Backup a file before editing\",\"datePublished\":\"2013-02-19T22:56:30+00:00\",\"dateModified\":\"2021-08-17T03:21:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/\"},\"wordCount\":596,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/how-to_back-up-file_file-manager.png\",\"articleSection\":[\"Backups and Restorations\",\"Website\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/\",\"name\":\"Backup a file before editing | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/how-to_back-up-file_file-manager.png\",\"datePublished\":\"2013-02-19T22:56:30+00:00\",\"dateModified\":\"2021-08-17T03:21:22+00:00\",\"description\":\"In this article I'm going to go over a few ways in which you can backup a file for your website. That way if you directly modified the original file on the server and made a mistake, you can revert to your saved copy.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/how-to_back-up-file_file-manager.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/how-to_back-up-file_file-manager.png\",\"width\":726,\"height\":162,\"caption\":\"Click here to view the larger image\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Backup a file before editing\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Backup a file before editing | InMotion Hosting","description":"In this article I'm going to go over a few ways in which you can backup a file for your website. That way if you directly modified the original file on the server and made a mistake, you can revert to your saved copy.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/","og_locale":"en_US","og_type":"article","og_title":"Backup a file before editing | InMotion Hosting","og_description":"In this article I'm going to go over a few ways in which you can backup a file for your website. That way if you directly modified the original file on the server and made a mistake, you can revert to your saved copy.","og_url":"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2013-02-19T22:56:30+00:00","article_modified_time":"2021-08-17T03:21:22+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/how-to_back-up-file_file-manager.png","type":"","width":"","height":""}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"Backup a file before editing","datePublished":"2013-02-19T22:56:30+00:00","dateModified":"2021-08-17T03:21:22+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/"},"wordCount":596,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/how-to_back-up-file_file-manager.png","articleSection":["Backups and Restorations","Website"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/","url":"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/","name":"Backup a file before editing | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/how-to_back-up-file_file-manager.png","datePublished":"2013-02-19T22:56:30+00:00","dateModified":"2021-08-17T03:21:22+00:00","description":"In this article I'm going to go over a few ways in which you can backup a file for your website. That way if you directly modified the original file on the server and made a mistake, you can revert to your saved copy.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/how-to_back-up-file_file-manager.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/how-to_back-up-file_file-manager.png","width":726,"height":162,"caption":"Click here to view the larger image"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/backup-a-file-before-editing\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Backup a file before editing"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/575","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=575"}],"version-history":[{"count":3,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/575\/revisions"}],"predecessor-version":[{"id":84945,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/575\/revisions\/84945"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=575"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=575"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}