{"id":3158,"date":"2022-08-17T10:43:30","date_gmt":"2022-08-17T07:43:30","guid":{"rendered":"https:\/\/www.microimpuls.com\/docs\/smarty-lite\/%d0%b1%d1%8d%d0%ba%d0%b0%d0%bf-%d0%b8-%d0%b2%d0%be%d1%81%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%bb%d0%b5%d0%bd%d0%b8%d0%b5"},"modified":"2023-12-12T15:42:41","modified_gmt":"2023-12-12T12:42:41","slug":"backup-and-recovery","status":"publish","type":"docs","link":"https:\/\/microimpuls.com\/en\/docs\/smarty-lite\/backup-and-recovery","title":{"rendered":"Backup and recovery"},"content":{"rendered":"<p>In Smarty, starting with version 1.88, commands are available with which you can create a backup and recover data from it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Backup<\/h2>\n\n\n\n<p>The command to run the backup creation script:<br><code>smarty_backup<\/code><br>Once completed, a copy of the current configuration will be created. During the execution of the script, information about the process of its execution will be displayed on the screen.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"818\" height=\"274\" src=\"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2022\/08\/backup.png\" alt=\"\" class=\"wp-image-3163\"\/><figcaption>Script output smarty_backup<\/figcaption><\/figure><\/div>\n\n\n\n<p>If the process of executing the script passed without errors, then a folder will be created in the user folder (on whose behalf the script was executed)<code> backup<\/code>A place where backups will be stored. Each individual recovery point will be stored in a separate folder, the name of which will be formed according to the principle <code>DD. MM. GHG-CH:MM<\/code>this indicates when the backup was made.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"128\" src=\"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2022\/08\/backup-4.png\" alt=\"\" class=\"wp-image-3164\"\/><figcaption>Contents of the \/backup folder<\/figcaption><\/figure><\/div>\n\n\n\n<p>In the backup folder, the data will be stored by separate folders:<\/p>\n\n\n\n<p>portal files \u2014 in folder <code>\/portal<\/code>;<br>smarty files in the folder <code>\/smarty<\/code>;<br>dB files \u2014 in the folder <code>\/db<\/code>;<br>settings files \u2014 in folder <code>\/etc<\/code>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"736\" height=\"130\" src=\"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2022\/08\/backup-5.png\" alt=\"\" class=\"wp-image-3166\"\/><figcaption>backup<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Backup recovery<\/h2>\n\n\n\n<p> Recovery from the backup is carried out with the help of a team <code>smarty_recovery<\/code>. After its launch, you will be asked to select a recovery point. The choice is provided based on the data present in the folder <code>backup<\/code> the user launching the command.<\/p>\n\n\n\n<p>Once the recovery point is selected, the recovery process will start. During the recovery, information about the process of its implementation will be displayed on the screen.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"737\" height=\"248\" src=\"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2022\/08\/backup-6-1.png\" alt=\"\" class=\"wp-image-3169\"\/><figcaption>The smarty_recovery team<\/figcaption><\/figure><\/div>","protected":false},"featured_media":0,"parent":512,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_links_to":"","_links_to_target":""},"doc_tag":[],"class_list":["post-3158","docs","type-docs","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u0411\u044d\u043a\u0430\u043f \u0438 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/microimpuls.com\/en\/docs\/smarty-lite\/backup-and-recovery\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0411\u044d\u043a\u0430\u043f \u0438 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435\" \/>\n<meta property=\"og:description\" content=\"\u0412 Smarty, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0432\u0435\u0440\u0441\u0438\u0438 1.88, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0431\u044d\u043a\u0430\u043f \u0438 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u043d\u0435\u0433\u043e. \u0411\u044d\u043a\u0430\u043f \u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0431\u044d\u043a\u0430\u043f\u0430:smarty_backup\u041f\u043e\u0441\u043b\u0435 \u0435\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0443\u0449\u0435\u043d \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043a\u043e\u043f\u0438\u0438 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438. \u0412\u043e \u0432\u0440\u0435\u043c\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0435\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f. \u0415\u0441\u043b\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043f\u0440\u043e\u0448\u0435\u043b \u0431\u0435\u0437 \u043e\u0448\u0438\u0431\u043e\u043a, [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/microimpuls.com\/en\/docs\/smarty-lite\/backup-and-recovery\/\" \/>\n<meta property=\"og:site_name\" content=\"Microimpuls\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-12T12:42:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2022\/08\/backup.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty-lite\/backup-and-recovery\",\"url\":\"https:\/\/microimpuls.com\/docs\/smarty-lite\/backup-and-recovery\",\"name\":\"\u0411\u044d\u043a\u0430\u043f \u0438 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435\",\"isPartOf\":{\"@id\":\"https:\/\/micro.im\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty-lite\/backup-and-recovery#primaryimage\"},\"image\":{\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty-lite\/backup-and-recovery#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2022\/08\/backup.png\",\"datePublished\":\"2022-08-17T07:43:30+00:00\",\"dateModified\":\"2023-12-12T12:42:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty-lite\/backup-and-recovery#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/microimpuls.com\/docs\/smarty-lite\/backup-and-recovery\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty-lite\/backup-and-recovery#primaryimage\",\"url\":\"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2022\/08\/backup.png\",\"contentUrl\":\"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2022\/08\/backup.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty-lite\/backup-and-recovery#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"https:\/\/micro.im\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Smarty Lite\",\"item\":\"https:\/\/microimpuls.com\/docs\/smarty-lite\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u0411\u044d\u043a\u0430\u043f \u0438 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/micro.im\/#website\",\"url\":\"https:\/\/micro.im\/\",\"name\":\"Microimpuls\",\"description\":\"\u041a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0434\u043b\u044f OTT \u0438 IPTV\",\"publisher\":{\"@id\":\"https:\/\/micro.im\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/micro.im\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/micro.im\/#organization\",\"name\":\"Microimpuls\",\"url\":\"https:\/\/micro.im\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/micro.im\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/microimpuls.com\/wp-content\/uploads\/2024\/12\/mi-logo-square-en-black.png\",\"contentUrl\":\"https:\/\/microimpuls.com\/wp-content\/uploads\/2024\/12\/mi-logo-square-en-black.png\",\"width\":208,\"height\":219,\"caption\":\"Microimpuls\"},\"image\":{\"@id\":\"https:\/\/micro.im\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Backup and recovery","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:\/\/microimpuls.com\/en\/docs\/smarty-lite\/backup-and-recovery\/","og_locale":"en_US","og_type":"article","og_title":"\u0411\u044d\u043a\u0430\u043f \u0438 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435","og_description":"\u0412 Smarty, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0432\u0435\u0440\u0441\u0438\u0438 1.88, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0431\u044d\u043a\u0430\u043f \u0438 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u043d\u0435\u0433\u043e. \u0411\u044d\u043a\u0430\u043f \u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0431\u044d\u043a\u0430\u043f\u0430:smarty_backup\u041f\u043e\u0441\u043b\u0435 \u0435\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0443\u0449\u0435\u043d \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043a\u043e\u043f\u0438\u0438 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438. \u0412\u043e \u0432\u0440\u0435\u043c\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0435\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f. \u0415\u0441\u043b\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043f\u0440\u043e\u0448\u0435\u043b \u0431\u0435\u0437 \u043e\u0448\u0438\u0431\u043e\u043a, [&hellip;]","og_url":"https:\/\/microimpuls.com\/en\/docs\/smarty-lite\/backup-and-recovery\/","og_site_name":"Microimpuls","article_modified_time":"2023-12-12T12:42:41+00:00","og_image":[{"url":"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2022\/08\/backup.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/microimpuls.com\/docs\/smarty-lite\/backup-and-recovery","url":"https:\/\/microimpuls.com\/docs\/smarty-lite\/backup-and-recovery","name":"Backup and recovery","isPartOf":{"@id":"https:\/\/micro.im\/#website"},"primaryImageOfPage":{"@id":"https:\/\/microimpuls.com\/docs\/smarty-lite\/backup-and-recovery#primaryimage"},"image":{"@id":"https:\/\/microimpuls.com\/docs\/smarty-lite\/backup-and-recovery#primaryimage"},"thumbnailUrl":"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2022\/08\/backup.png","datePublished":"2022-08-17T07:43:30+00:00","dateModified":"2023-12-12T12:42:41+00:00","breadcrumb":{"@id":"https:\/\/microimpuls.com\/docs\/smarty-lite\/backup-and-recovery#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/microimpuls.com\/docs\/smarty-lite\/backup-and-recovery"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/microimpuls.com\/docs\/smarty-lite\/backup-and-recovery#primaryimage","url":"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2022\/08\/backup.png","contentUrl":"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2022\/08\/backup.png"},{"@type":"BreadcrumbList","@id":"https:\/\/microimpuls.com\/docs\/smarty-lite\/backup-and-recovery#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/micro.im\/"},{"@type":"ListItem","position":2,"name":"Smarty Lite","item":"https:\/\/microimpuls.com\/docs\/smarty-lite"},{"@type":"ListItem","position":3,"name":"\u0411\u044d\u043a\u0430\u043f \u0438 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435"}]},{"@type":"WebSite","@id":"https:\/\/micro.im\/#website","url":"https:\/\/micro.im\/","name":"Microimpulses","description":"Comprehensive solutions for OTT and IPTV","publisher":{"@id":"https:\/\/micro.im\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/micro.im\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/micro.im\/#organization","name":"Microimpulses","url":"https:\/\/micro.im\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/micro.im\/#\/schema\/logo\/image\/","url":"https:\/\/microimpuls.com\/wp-content\/uploads\/2024\/12\/mi-logo-square-en-black.png","contentUrl":"https:\/\/microimpuls.com\/wp-content\/uploads\/2024\/12\/mi-logo-square-en-black.png","width":208,"height":219,"caption":"Microimpuls"},"image":{"@id":"https:\/\/micro.im\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/3158","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/comments?post=3158"}],"version-history":[{"count":8,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/3158\/revisions"}],"predecessor-version":[{"id":3182,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/3158\/revisions\/3182"}],"up":[{"embeddable":true,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/512"}],"next":[{"title":"Service configuration","link":"https:\/\/microimpuls.com\/en\/docs\/smarty-lite\/configuration","href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/583"}],"prev":[{"title":"Where to download the app Plus TV","link":"https:\/\/microimpuls.com\/en\/docs\/smarty-lite\/how-to-install-plustv","href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/514"}],"wp:attachment":[{"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/media?parent=3158"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/doc_tag?post=3158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}