{"id":390,"date":"2012-10-07T12:04:04","date_gmt":"2012-10-07T03:04:04","guid":{"rendered":"http:\/\/blog.belliny.net\/?p=390"},"modified":"2012-10-07T12:04:04","modified_gmt":"2012-10-07T03:04:04","slug":"hansoft-backup","status":"publish","type":"post","link":"https:\/\/www.belliny.net\/?p=390","title":{"rendered":"HanSoft backup"},"content":{"rendered":"<p>=_=<\/p>\n<p>C:Program Files (x86)HansoftProject Manager ServerDatabases<br \/>\n\uc5ec\uae30 \uc788\ub294 Database\ud30c\uc77c\uc744 \uc798 \uc62e\uaca8\uc8fc\uba74 \ub429\ub2c8\ub2e4 =_=(\ub418\uc5c8\ub358\uac70 \uac19\uc2b5\ub2c8\ub2e4;; \ud574\ubcf8\uc9c0 \uc624\ub798\uc774\uace0, \uae00 \uc4f0\ub294 \uc774 \uc2dc\uc810\uc5d0 \ud574\ubcf4\ub824\uace0 \ud558\uace0 \uc788\uae30 \ub54c\ubb38\uc5d0..;;;)<\/p>\n<p>\uc694 \ubc11\uc740 HanSoft System Admin \uac00\uc774\ub4dc \ubb38\uc11c\uc758 \uc77c\ubd80, \ucca8\ubd80\ub294 \uac00\uc774\ub4dc pdf \ubb38\uc11c<br \/>\n<a href=\"http:\/\/blog.belliny.net\/?attachment_id=391\" rel=\"attachment wp-att-391\">HansoftSysAdminGuide<\/a><\/p>\n<div title=\"Page 19\">\n<div>\n<div>\n<p>Chapter 3 Backup and Recovery<\/p>\n<p>The Hansoft server has built in support for scheduled backups as well as means to allow direct backup of the database files.<\/p>\n<p>Built in backups can be scheduled in the Server Administrator Client by selecting a database and pressing \u201cBackup settings\u201d. It is recommended that you enable automatic backups and minimally let the project database be backed up once a day. This will allow you to easily recover from accidental deletes and changes of project data. The default setting when a database is created or the server is installed is to backup using this method. You will need to either change the automatic backup setting or complement with another backup method to have full backup of the document management storage as well.<\/p>\n<p>Scheduled backup tasks<\/p>\n<p>There are five different options when creating a scheduled backup task; \u201cNo backup, only integrity checking\u201d, \u201dOnly reset transaction log (cannot be recovered)\u201d, \u201cFull projects database\u201d, \u201cFull projects database and document management files\u201d &amp; \u201cFull projects database and incremental document management files\u201d.<\/p>\n<p>No backup, only integrity checking<\/p>\n<p>The purpose of this option is to check that the database is in a good shape. If the integrity check fails, an email is sent (if the server is configured to do that) to the server administrator.<\/p>\n<p>The default option for a new database is to do a backup once per day. This backup setup does not perform an integrity check of the database after the backup has been done. The reason for this is to minimize the interruption that a backup execution can cause to the people that at the same time are logged in to the database. The scheduled backups can therefore be complemented with a task that only performs the integrity check.<\/p>\n<p>It is possible though as an option to any scheduled backup task to do an integrity check upon completion.<\/p>\n<p>Only reset transaction log (cannot be recovered)<\/p>\n<p>Every time the server is restarted or the database is put online from a previous offline state, the server has to go through the transaction log. If database backs are performed seldom, the transaction log will be fairly large and make the server startup time longer. This option resets the transaction log without performing a backup.<\/p>\n<p>Full projects database<\/p>\n<p>With this option, the complete projects database will be backed up without document management. It is recommended to do this kind of backup every day and every new database is configured to do this by default (the task named \u201cDefault Automatic Backup\u201d).<\/p>\n<\/div>\n<\/div>\n<div>\n<div>\n<p>Hansoft System Administrator&#8217;s Guide 19<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div title=\"Page 20\">\n<div>\n<div>\n<p>Chapter 3: Backup and Recovery<\/p>\n<\/div>\n<\/div>\n<div>\n<div>\n<p>Full projects database and document management files<\/p>\n<p>With this option, all files in the database and the transaction log will be backed up every time. This is the only option that provides a complete backup. Note though that if many files are added to the document management, this can quickly fill up the available space in the backup location directory if backups are performed every day.<\/p>\n<p>Full projects database and incremental document management files<\/p>\n<p>With this option, only the complete project database, transaction log, the added and the changed files (since the previous backup) from the document management storage is saved to the backup. This backup type typically provides safe backups while keeping the size of the backups to a minimum.<\/p>\n<p>Performing a manual backup<\/p>\n<p>To manually generate a backup select a database in the Server Administrator and press \u201cBackup Now\u201d. Select the type of backup you want to perform and press OK to start the backup. Check the log file for any errors.<\/p>\n<p>Live backup of database files<\/p>\n<p>To make a backup of the database files directly you need to pause the server service to disable writes to the database file while the backup is running. When the service is paused clients will be able to use the project management functions without interruption while the document management operations will wait for the service to be continued before they finish. You could for example pause and continue the service as part of your backup scripts. The following commands would run from the command line would pause and continue the service.<\/p>\n<pre>    net pause hpserver\n    net continue hpserver<\/pre>\n<p>While the service is paused backup the database and transaction log file by default found directly in the installation directory under \u201cDatabasesCompany Projects\u201d.<\/p>\n<p>Shadow volume copy<\/p>\n<p>If the database is fairly large (most likely due to a larger portion of document management), a shadow volume copy is recommended as an external alternative. The advantage of using shadow volume copy is that the downtime is much shorter since the server service can be continued again since the backup copy is now being made from the shadow copy of the harddrive.<\/p>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>=_= C:Program Files (x86)HansoftProject Manager ServerDatabases \uc5ec\uae30 \uc788\ub294 Database\ud30c\uc77c\uc744 \uc798 \uc62e\uaca8\uc8fc\uba74 \ub429\ub2c8\ub2e4 =_=(\ub418\uc5c8\ub358\uac70 \uac19\uc2b5\ub2c8\ub2e4;; \ud574\ubcf8\uc9c0 \uc624\ub798\uc774\uace0, \uae00 \uc4f0\ub294 \uc774 \uc2dc\uc810\uc5d0 \ud574\ubcf4\ub824\uace0 \ud558\uace0 \uc788\uae30 \ub54c\ubb38\uc5d0..;;;) \uc694 \ubc11\uc740 HanSoft System Admin \uac00\uc774\ub4dc \ubb38\uc11c\uc758 \uc77c\ubd80, \ucca8\ubd80\ub294 \uac00\uc774\ub4dc pdf \ubb38\uc11c HansoftSysAdminGuide Chapter 3 Backup and Recovery The Hansoft server has built in support for scheduled backups as well as &hellip; <a href=\"https:\/\/www.belliny.net\/?p=390\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;HanSoft backup&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-390","post","type-post","status-publish","format-standard","hentry","category-dev"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.belliny.net\/index.php?rest_route=\/wp\/v2\/posts\/390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.belliny.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.belliny.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.belliny.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.belliny.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=390"}],"version-history":[{"count":0,"href":"https:\/\/www.belliny.net\/index.php?rest_route=\/wp\/v2\/posts\/390\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.belliny.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.belliny.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.belliny.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}