{"id":7115,"date":"2019-02-28T13:48:15","date_gmt":"2019-02-28T04:48:15","guid":{"rendered":"https:\/\/chat-messenger.com\/?p=7115"},"modified":"2023-03-05T22:05:17","modified_gmt":"2023-03-05T13:05:17","slug":"backup_data","status":"publish","type":"post","link":"https:\/\/chat-messenger.com\/en\/manual\/camserver\/backup_data","title":{"rendered":"Backup of CAMServer"},"content":{"rendered":"<style type=\"text\/css\"><!--\ntable, th, td {\n    border: none !important;\n}\n--><\/style>\n<h2><a name=\"backup\"><\/a>Backup Overview<\/h2>\n<p>Backing up CAMServer performs a fast differential backup of all data. In the event of data loss due to human error, disk failure, etc., the data can be completely restored to its original state.<\/p>\n<div class=\"card-img post_img\" style=\"width: 300px!important;\"><img src=\"\/images\/camserver_backup.png\"><\/div>\n<div class=\"point\">\n<ul>\n<li>This feature is available with the CAMServer Enterprise plan.<\/li>\n<li>By using CAMServer backup, it can be executed even when CAMServer is running.<br \/>\n*If you want to back up using OS standard copy (robocopy \/ xcopy) without using this function, you need to stop CAMServer before doing so. Copy processing fails for open files such as DB.<\/li>\n<\/ul>\n<\/div>\n<h2>Backup Method<\/h2>\n<h3><a name=\"target\"><\/a>Backup target<\/h3>\n<p>Backup data includes the following and includes all user data for the operation of CAMServer<\/p>\n<ul>\n<li>All files under config directory<\/li>\n<li>DB File<\/li>\n<li>Uploaded files<\/li>\n<li>Log when using for LAN<\/li>\n<\/ul>\n<h3><a name=\"dir\"><\/a>Backup destination folder<\/h3>\n<p>Specify where the backup files will be stored.<\/p>\n<div class=\"point\">\n<ul>\n<li>In consideration of disk failure of the server on which the CAMServer is running, please specify a folder on a different server than the CAMServer as the backup location.<\/li>\n<li>If password authentication is required for network pass, access is enabled by registering Windows credentials in advance from the PC on the CAMServer side.<\/li>\n<li>If CAMServer is running as a Windows service, it is necessary to specify the account under which the service is running in order to restrict access rights to the network path. Below is the service's&nbsp;<a title=\"control panel\" href=\"https:\/\/chat-messenger.com\/en\/manual\/camserver\/launch_camserver_as_windows_service\/#svc_riyou\/\" target=\"_blank\" rel=\"noopener\">control panel<\/a> The name can be changed from\n<div style=\"padding: 15px;\"><a href=\"https:\/\/chat-messenger.com\/images\/win_service_logon.jpg\" target=\"_blank\" rel=\"lightbox noopener\"><br \/>\n<img src=\"https:\/\/chat-messenger.com\/images\/win_service_logons.jpg\" alt=\"\" width=\"100\" height=\"92\" border=\"0\"><\/a><\/div>\n<\/li>\n<\/ul>\n<\/div>\n<h3><a name=\"auto\"><\/a>Automatic Backup Settings<\/h3>\n<p>If you wish to back up automatically, please configure the following settings.<\/p>\n<ul>\n<li>Automatically take backups... If checked and \"Save Settings\" is performed, backups will be automatically taken during CAMServer startup.<\/li>\n<li>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u9593\u9694\u30fb\u30fb\u30fbCAMServer \u304c\u8d77\u52d5\u3057\u3066\u304b\u3089\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u884c\u3046\u9593\u9694\u3067\u3059\u300212\u3092\u8a2d\u5b9a\u3057\u305f\u5834\u5408\u3001CAMServer \u8d77\u52d5\u3057\u3066\u304b\u308912\u6642\u9593\u5f8c\u306b\uff11\u56de\u76ee\u304c\u5b9f\u884c\u3055\u308c\u3001\u4ee5\u964d12\u6642\u9593\u9593\u9694\u3067\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/li>\n<\/ul>\n<h2>Backup generation management<\/h2>\n<div>\nPeriodically perform backup generation management based on the directories after backups are taken by CAMServer.<\/div>\n<div>\nBackup generation management is done by periodically copying the directories after backups have been taken, using the standard copy command, for example. The standard copy command can be used to copy directories after backups have been taken because there are no open files in the directory even while CAMServer is running.<\/div>\n<h2>Test backup<\/h2>\n<p>Clicking \"Run only once\" will back up to the destination folder only once.<\/p>\n<h2>Procedure for restoring from a backup file<\/h2>\n<p>Data can be restored by overwriting the config folder (including DB) and logs folder from the backup to their original locations.<\/p>\n<ul>\n<li>For config folder,<i>CAMServer installer config<\/i>displacement<\/li>\n<li>For the logs folder,<i>CAMServer instrutsrlogs<\/i>displacement<\/li>\n<\/ul>\n<div class=\"point\">\n<ul>\n<li>Please stop CAMServer before restoring from the backup file.<\/li>\n<li><a href=\"https:\/\/chat-messenger.com\/en\/manual\/camserver\/load-balancing\/\" target=\"_blank\" rel=\"noopener\">Redundancy and load balancing<\/a>indicates certainty, emphasis, etc. <code>cam.serverDatePath<\/code> is specified, a data folder is created and the DB is placed in it.<\/li>\n<\/ul>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Backup Overview When you back up CAMServer, all data will be backed up differentially at high speed. Man [\u2026]<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":""},"categories":[17],"tags":[],"_links":{"self":[{"href":"https:\/\/chat-messenger.com\/en\/wp-json\/wp\/v2\/posts\/7115"}],"collection":[{"href":"https:\/\/chat-messenger.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chat-messenger.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chat-messenger.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chat-messenger.com\/en\/wp-json\/wp\/v2\/comments?post=7115"}],"version-history":[{"count":26,"href":"https:\/\/chat-messenger.com\/en\/wp-json\/wp\/v2\/posts\/7115\/revisions"}],"predecessor-version":[{"id":7979,"href":"https:\/\/chat-messenger.com\/en\/wp-json\/wp\/v2\/posts\/7115\/revisions\/7979"}],"wp:attachment":[{"href":"https:\/\/chat-messenger.com\/en\/wp-json\/wp\/v2\/media?parent=7115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chat-messenger.com\/en\/wp-json\/wp\/v2\/categories?post=7115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chat-messenger.com\/en\/wp-json\/wp\/v2\/tags?post=7115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}