{"id":4894,"date":"2021-10-07T12:04:30","date_gmt":"2021-10-07T12:04:30","guid":{"rendered":"https:\/\/help.nafhaa.com\/?docs=operational-help\/administrative-help\/on-premise-backup"},"modified":"2023-05-17T06:43:26","modified_gmt":"2023-05-17T06:43:26","slug":"on-premise-backup","status":"publish","type":"docs","link":"https:\/\/help.nafhaa.com\/?docs=operational-help\/administrative-help\/on-premise-backup","title":{"rendered":"On premise backup"},"content":{"rendered":"\n<p>How to&nbsp;Take&nbsp;backup of&nbsp;AppData&nbsp;&amp; Database for On-premise clients.&nbsp;<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ol><li>We need to take backup of deployed App before applying new update&nbsp;&#8211;&nbsp;&nbsp;<\/li><\/ol>\n\n\n\n<ul><li>Go to below path as shown in figure \u2013 3&nbsp;&nbsp;<\/li><li>Local Disk C:\\\\&nbsp;inetpub\\wwwroot\\&nbsp;Nafhaa&nbsp;<\/li><li>Locate Folder\u201d&nbsp;Appdata\u201d&nbsp;<\/li><li>Right click on&nbsp;Appdata&nbsp;folder&nbsp;and compress the folder, as shown below.&nbsp;<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"674\" height=\"433\" src=\"https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image.png\" alt=\"\" class=\"wp-image-4896\" srcset=\"https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image.png 674w, https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-300x193.png 300w\" sizes=\"(max-width: 674px) 100vw, 674px\" \/><\/figure>\n\n\n\n<p>Figure \u2013 3&nbsp;<\/p>\n\n\n\n<ol start=\"2\"><li>Rename the Compress \u201cAppdata\u201d folder File.&nbsp;Right Click on the File and cut the file&nbsp;and paste in backup path as shown in Figure \u2013 4.&nbsp;<\/li><\/ol>\n\n\n\n<ul><li>Backup Path \u2013 D:\\\\Nafhaa_Backup&nbsp;<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"727\" height=\"264\" src=\"https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-4.png\" alt=\"\" class=\"wp-image-4899\" srcset=\"https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-4.png 727w, https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-4-300x109.png 300w\" sizes=\"(max-width: 727px) 100vw, 727px\" \/><\/figure>\n\n\n\n<p>Figure \u2013 4&nbsp;<\/p>\n\n\n\n<ol start=\"3\"><li>Now we need to backup Database as well.&nbsp;To&nbsp;backup&nbsp;Database,&nbsp;please&nbsp;&nbsp;follow&nbsp;the following steps.&nbsp;<\/li><\/ol>\n\n\n\n<ul><li>Go to Management studio and connect the database as shown in Figure &#8211; 5&nbsp;<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"538\" height=\"197\" src=\"https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-1.png\" alt=\"\" class=\"wp-image-4895\" srcset=\"https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-1.png 538w, https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-1-300x110.png 300w\" sizes=\"(max-width: 538px) 100vw, 538px\" \/><\/figure>\n\n\n\n<p>Figure \u2013 5&nbsp;<\/p>\n\n\n\n<ul><li>If we found two databases as shown in figure \u2013 6, then follow the below steps as shown in Figure&nbsp;\u2013&nbsp;7&nbsp;<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"615\" height=\"444\" src=\"https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-2.png\" alt=\"\" class=\"wp-image-4897\" srcset=\"https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-2.png 615w, https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-2-300x217.png 300w\" sizes=\"(max-width: 615px) 100vw, 615px\" \/><\/figure>\n\n\n\n<p>Figure &#8211; 6&nbsp;<\/p>\n\n\n\n<ul><li>Go to the path C:\\\\Inetpub\\wwwroot\\Nafhaa&nbsp;<\/li><li>Locate file named \u201cWeb\u201d&nbsp;<\/li><\/ul>\n\n\n\n<ul><li>Open the \u201cWeb\u201d file and check the database name as shown in Figure &#8211; 7&nbsp;<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"596\" height=\"305\" src=\"https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-8.png\" alt=\"\" class=\"wp-image-4903\" srcset=\"https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-8.png 596w, https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-8-300x154.png 300w\" sizes=\"(max-width: 596px) 100vw, 596px\" \/><\/figure>\n\n\n\n<p>Figure \u2013 7&nbsp;<\/p>\n\n\n\n<ul><li>To&nbsp;backup the Database&nbsp;\u2013 right click on database\u2192&nbsp;Task\u2192Backup.&nbsp;<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"847\" height=\"561\" src=\"https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-9.png\" alt=\"\" class=\"wp-image-4904\" srcset=\"https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-9.png 847w, https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-9-300x199.png 300w, https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-9-768x509.png 768w\" sizes=\"(max-width: 847px) 100vw, 847px\" \/><\/figure>\n\n\n\n<p>Figure&nbsp;\u2013&nbsp;8&nbsp;<\/p>\n\n\n\n<ul><li>&nbsp;<\/li><\/ul>\n\n\n\n<p>If filename&nbsp;already present&nbsp;then remove the existing&nbsp;file&nbsp; as&nbsp;shown in Figure &#8211; 9&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"602\" height=\"289\" src=\"https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-3.png\" alt=\"\" class=\"wp-image-4898\" srcset=\"https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-3.png 602w, https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-3-300x144.png 300w\" sizes=\"(max-width: 602px) 100vw, 602px\" \/><\/figure>\n\n\n\n<p>Figure \u2013 9&nbsp;<\/p>\n\n\n\n<ul><li>After&nbsp;Removing&nbsp;old file,&nbsp;click on Add.&nbsp;<\/li><li>Select the backup destination path as shown in Figure &#8211; 10&nbsp;<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"575\" height=\"307\" src=\"https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-6.png\" alt=\"\" class=\"wp-image-4901\" srcset=\"https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-6.png 575w, https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-6-300x160.png 300w\" sizes=\"(max-width: 575px) 100vw, 575px\" \/><\/figure>\n\n\n\n<p>Figure \u2013 10&nbsp;<\/p>\n\n\n\n<ul><li>Select the file&nbsp;Nafhaa_Backup&nbsp;and&nbsp;add&nbsp;\u201c.bak\u201d&nbsp;as&nbsp;extension,&nbsp;shown in Figure &#8211; 11&nbsp;<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"587\" height=\"365\" src=\"https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-7.png\" alt=\"\" class=\"wp-image-4902\" srcset=\"https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-7.png 587w, https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-7-300x187.png 300w\" sizes=\"(max-width: 587px) 100vw, 587px\" \/><\/figure>\n\n\n\n<p>Figure \u2013 11&nbsp;<\/p>\n\n\n\n<ul><li>Database backup has been completed as shown in Figure &#8211; 12&nbsp;<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"606\" height=\"207\" src=\"https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-5.png\" alt=\"\" class=\"wp-image-4900\" srcset=\"https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-5.png 606w, https:\/\/help.nafhaa.com\/wp-content\/uploads\/2021\/10\/image-5-300x102.png 300w\" sizes=\"(max-width: 606px) 100vw, 606px\" \/><\/figure>\n\n\n\n<p>Figure \u2013 12<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1565,"menu_order":19,"comment_status":"open","ping_status":"closed","template":"","meta":[],"doc_tag":[],"_links":{"self":[{"href":"https:\/\/help.nafhaa.com\/index.php?rest_route=\/wp\/v2\/docs\/4894"}],"collection":[{"href":"https:\/\/help.nafhaa.com\/index.php?rest_route=\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/help.nafhaa.com\/index.php?rest_route=\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/help.nafhaa.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.nafhaa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4894"}],"version-history":[{"count":1,"href":"https:\/\/help.nafhaa.com\/index.php?rest_route=\/wp\/v2\/docs\/4894\/revisions"}],"predecessor-version":[{"id":4906,"href":"https:\/\/help.nafhaa.com\/index.php?rest_route=\/wp\/v2\/docs\/4894\/revisions\/4906"}],"up":[{"embeddable":true,"href":"https:\/\/help.nafhaa.com\/index.php?rest_route=\/wp\/v2\/docs\/1565"}],"next":[{"title":"Allow all the time - Location","link":"https:\/\/help.nafhaa.com\/?docs=operational-help\/administrative-help\/allow-all-the-time-location","href":"https:\/\/help.nafhaa.com\/index.php?rest_route=\/wp\/v2\/docs\/5401"}],"prev":[{"title":"Unable to Add New\/Multi Company","link":"https:\/\/help.nafhaa.com\/?docs=operational-help\/administrative-help\/unable-to-add-new-multi-company","href":"https:\/\/help.nafhaa.com\/index.php?rest_route=\/wp\/v2\/docs\/4840"}],"wp:attachment":[{"href":"https:\/\/help.nafhaa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4894"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.nafhaa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=4894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}