{"id":3424,"date":"2018-11-25T07:30:44","date_gmt":"2018-11-25T04:00:44","guid":{"rendered":"http:\/\/webide.ir\/blog\/?p=3424"},"modified":"2018-11-24T12:33:56","modified_gmt":"2018-11-24T09:03:56","slug":"setup-backup-server-using-rsnapshot-linux","status":"publish","type":"post","link":"https:\/\/webide.ir\/blog\/setup-backup-server-using-rsnapshot-linux","title":{"rendered":"\u0686\u06af\u0648\u0646\u0647 \u0628\u06a9 \u0622\u067e \u0633\u0631\u0648\u0631 \u0631\u0627 \u0628\u0647 \u06a9\u0645\u06a9 Rsnapshot \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u06a9\u0646\u06cc\u0645\u061f"},"content":{"rendered":"<p>\u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u0645\u06cc \u062f\u0627\u0646\u06cc\u062f Rsnapshot \u06cc\u06a9 \u0628\u0631\u0646\u0627\u0645\u0647 \u06a9\u0645\u06a9\u06cc \u0627\u0633\u0646\u067e \u0634\u0627\u062a \u0641\u0627\u06cc\u0644 \u0633\u06cc\u0633\u062a\u0645\u00a0 \u0628\u0631 \u0627\u0633\u0627\u0633 rsync \u0628\u0631\u0627\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0647\u0627\u06cc \u06cc\u0648\u0646\u06cc\u06a9\u0633 \u0645\u0627\u0646\u0646\u062f \u0627\u0633\u062a. \u0627\u06cc\u0646 \u06af\u0632\u06cc\u0646\u0647 \u0628\u0647 \u0634\u0645\u0627 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc \u062f\u0647\u062f \u0628\u0647 \u0631\u0627\u062d\u062a\u06cc \u0627\u0633\u0646\u067e \u0634\u0627\u062a \u0647\u0627\u06cc \u062f\u0648\u0631\u0647 \u0627\u06cc \u0627\u0632 \u0645\u0627\u0634\u06cc\u0646 \u0644\u0648\u06a9\u0627\u0644 \u062e\u0648\u062f \u0628\u0647 \u062f\u0633\u062a \u0622\u0648\u0631\u06cc\u062f \u0648 \u0627\u0632 \u0637\u0631\u06cc\u0642 SSH \u0647\u0645 \u0627\u0632 \u0645\u0627\u0634\u06cc\u0646 \u0647\u0627\u06cc \u0631\u06cc\u0645\u0648\u062a \u062e\u0648\u062f \u0627\u0633\u0646\u067e \u0634\u0627\u062a\u06cc \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f. \u0627\u0632 \u0622\u0646\u062c\u0627\u06cc\u06cc \u06a9\u0647\u00a0 rsnapshot \u062a\u0646\u0647\u0627 \u062a\u0639\u062f\u0627\u062f \u062b\u0627\u0628\u062a\u06cc \u0627\u0632 \u0627\u0633\u0646\u067e \u0634\u0627\u062a \u0647\u0627 \u0631\u0627 \u062f\u0631 \u062e\u0648\u062f \u0646\u06af\u0647 \u0645\u06cc \u062f\u0627\u0631\u062f \u0645\u0642\u062f\u0627\u0631 \u0641\u0636\u0627\u06cc \u062f\u06cc\u0633\u06a9\u06cc \u06a9\u0647 \u0645\u0648\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0642\u0631\u0627\u0631 \u0645\u06cc \u06af\u06cc\u0631\u062f \u0628\u0647 \u0637\u0648\u0631 \u0645\u0633\u062a\u0645\u0631 \u0631\u0634\u062f \u0646\u062e\u0648\u0627\u0647\u062f \u06a9\u0631\u062f. \u0627\u06cc\u0646 \u06cc\u06a9 \u0628\u0631\u0646\u0627\u0645\u0647 \u06a9\u0627\u0645\u0644\u0627 \u0631\u0627\u06cc\u06af\u0627\u0646 \u0648 \u0645\u062a\u0646 \u0628\u0627\u0632 \u0627\u0633\u062a \u0648 \u0628\u0647 \u0634\u0645\u0627 \u06a9\u0645\u06a9 \u0645\u06cc \u06a9\u0646\u062f \u0628\u06a9 \u0622\u067e \u0647\u0627\u06cc \u0645\u062a\u0639\u062f\u062f\u06cc \u0627\u0632 \u0633\u06cc\u0633\u062a\u0645 \u062e\u0648\u062f \u062a\u0647\u06cc\u0647 \u06a9\u0646\u06cc\u062f. \u0627\u06cc\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u06a9\u0645\u06a9\u06cc \u0628\u0647 \u0632\u0628\u0627\u0646 perl \u0646\u0648\u0634\u062a\u0647 \u0634\u062f\u0647 \u0648 \u0628\u0631 \u0631\u0648\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0647\u0627\u06cc \u06cc\u0648\u0646\u06cc\u06a9\u0633 \u0645\u0627\u0646\u0646\u062f \u06a9\u0627\u0631 \u0645\u06cc \u06a9\u0646\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0633\u0639\u06cc \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u0646\u062d\u0648\u0647 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0628\u06a9 \u0622\u067e \u0633\u0631\u0648\u0631 \u0628\u0647 \u06a9\u0645\u06a9 rsnapshot \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0631\u0627 \u0628\u0627 \u0647\u0645 \u0645\u0631\u0648\u0631 \u06a9\u0646\u06cc\u0645. \u067e\u0633 \u0647\u0645\u0631\u0627\u0647 \u0648\u0628 \u0627\u06cc\u062f\u0647 \u0628\u0627\u0634\u06cc\u062f.<\/p>\n<p><!--more--><\/p>\n<h2>\u00a0\u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0628\u06a9 \u0622\u067e \u0633\u0631\u0648\u0631 \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0628\u0647 \u06a9\u0645\u06a9 rsnapshot:<\/h2>\n<p>\u0645\u0627 \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0627\u0632 \u062f\u0648 \u0633\u06cc\u0633\u062a\u0645 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f. \u06cc\u06a9\u06cc \u0627\u0632 \u0622\u0646 \u0647\u0627 \u0633\u0631\u0648\u0631 \u0628\u06a9 \u0622\u067e \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u062e\u0648\u062f\u060c \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0633\u0646\u062a \u0627\u0648 \u0627\u0633 7 \u0631\u0627 \u062f\u0627\u0631\u062f \u0648 \u062f\u06cc\u06af\u0631\u06cc \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0633\u06cc\u0633\u062a\u0645 \u06a9\u0644\u0627\u06cc\u0646\u062a \u0639\u0645\u0644 \u0645\u06cc \u06a9\u0646\u062f. \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0645\u0648\u062c\u0648\u062f \u0628\u0631 \u0631\u0648\u06cc \u06a9\u0644\u0627\u06cc\u0646\u062a \u0622\u0631\u0686 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0633\u062a. \u062c\u0632\u06cc\u06cc\u0627\u062a \u0627\u06cc\u0646 \u0633\u0631\u0648\u0631\u0647\u0627 \u0631\u0627 \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0645\u0634\u0627\u0647\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u0633\u0631\u0648\u0631 \u0628\u06a9 \u0622\u067e:<\/p>\n<ul>\n<li>\u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644: \u0633\u0646\u062a \u0627\u0648 \u0627\u0633 7\u060c 64 \u0628\u06cc\u062a\u06cc<\/li>\n<li>\u0627\u06cc \u067e\u06cc \u0622\u062f\u0631\u0633: 192.168.43.150\/24<\/li>\n<\/ul>\n<p>\u0633\u06cc\u0633\u062a\u0645 \u06a9\u0644\u0627\u06cc\u0646\u062a:<\/p>\n<ul>\n<li>\u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644: \u0622\u0631\u0686 \u0644\u06cc\u0646\u0648\u06a9\u0633<\/li>\n<li>\u0622\u06cc \u067e\u06cc \u0622\u062f\u0631\u0633: 192.168.43.192\/24<\/li>\n<\/ul>\n<h2>\u0646\u0635\u0628 \u0648 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc:<\/h2>\n<p>Rsnapshot\u00a0 \u062f\u0631 \u0645\u062e\u0632\u0646 \u067e\u06cc\u0634 \u0641\u0631\u0636 \u0633\u0646\u062a \u0627\u0648 \u0627\u0633 \u0648\u062c\u0648\u062f \u0646\u062f\u0627\u0631\u062f. \u0628\u0627\u06cc\u062f \u0645\u062e\u0632\u0646 EPEL \u0631\u0627 \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0628\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u06cc\u0646 \u06af\u0632\u06cc\u0646\u0647 \u0631\u0627 \u0646\u0635\u0628 \u0646\u0645\u0627\u06cc\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">sudo yum install epel-release<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0633\u067e\u0633 Rsnapshot \u0631\u0627 \u0628\u0647 \u06a9\u0645\u06a9 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0646\u0635\u0628 \u0646\u0645\u0627\u06cc\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">sudo yum install rsnapshot rsync<\/pre>\n<p>&nbsp;<\/p>\n<p>\u062f\u0631 \u0622\u0631\u06a9 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0648 \u0645\u0634\u062a\u0642\u0627\u062a \u0622\u0646\u060c \u0627\u06cc\u0646 \u06af\u0632\u06cc\u0646\u0647 \u0628\u0647 \u0635\u0648\u0631\u062a \u067e\u06cc\u0634 \u0641\u0631\u0636 \u062f\u0631 \u0645\u062e\u0632\u0646 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f. \u067e\u0633 \u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0622\u0646 \u0631\u0627 \u0628\u0647 \u06a9\u0645\u06a9 \u067e\u06a9\u06cc\u062c \u0645\u0646\u06cc\u062c\u0631 \u0647\u0645\u0627\u0646\u0646\u062f \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">sudo pacman -S rsnapshot rsync<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0627\u06af\u0631 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0627\u0632 \u0633\u06cc\u0633\u062a\u0645 \u0647\u0627\u06cc \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 DEB \u0647\u0645\u0686\u0648\u0646 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f Rsnapshot\u00a0 \u0631\u0627 \u0628\u0647 \u06a9\u0645\u06a9 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">sudo apt-get install rsnapshot rsync<\/pre>\n<p>&nbsp;<\/p>\n<h2><strong>\u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0633\u0631\u0648\u0631 \u0628\u06a9 \u0622\u067e:<\/strong><\/h2>\n<p>\u0645\u0627 \u0628\u0627\u06cc\u062f \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0631\u0648\u062a \u0628\u0631\u0627\u06cc \u0628\u06a9 \u0622\u067e \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u0645 \u062a\u0627 \u0628\u062a\u0648\u0627\u0646\u06cc\u0645 \u0647\u0645\u0647 \u0628\u06a9 \u0622\u067e \u0647\u0627\u06cc\u00a0 \u0633\u0631\u0648\u0631 \u0648 \u06a9\u0644\u0627\u06cc\u0646\u062a \u0631\u0627 \u0630\u062e\u06cc\u0631\u0647 \u0646\u0645\u0627\u06cc\u06cc\u0645.\u00a0 \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0645\u0627 \u0627\u0632 <strong>\/rsnapbackup\/<\/strong>\u00a0 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0631\u0648\u062a \u0628\u06a9 \u0622\u067e \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645. \u0627\u06cc\u0646\u062c\u0627 \u0645\u0648\u0642\u0639\u06cc\u062a\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0647\u0645\u0647 \u0628\u06a9 \u0622\u067e \u0647\u0627 \u062f\u0631 \u0622\u0646 \u0630\u062e\u06cc\u0631\u0647 \u062e\u0648\u0627\u0647\u062f \u0634\u062f . \u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0645\u0648\u0642\u0639\u06cc\u062a \u062e\u0648\u062f\u062a\u0627\u0646 \u0631\u0627 \u062a\u0639\u0631\u06cc\u0641 \u0646\u0645\u0627\u06cc\u06cc\u062f. \u062e\u0648\u0628 \u0627\u062c\u0627\u0632\u0647 \u062f\u0647\u06cc\u062f \u0627\u06cc\u0646 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u0628\u06a9 \u0627\u067e \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u0645:<\/p>\n<pre class=\"lang:default decode:true \">sudo mkdir\u00a0\/rsnapbackup\/<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0628\u0631\u0627\u06cc \u0628\u06a9 \u0622\u067e \u06af\u0631\u0641\u062a\u0646 \u0627\u0632 \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0631\u06cc\u0645\u0648\u062a \u0628\u0627\u06cc\u062f \u062a\u0627\u06cc\u06cc\u062f \u0647\u0648\u06cc\u062a SSH \u0631\u0627 \u0628\u0631\u0627\u06cc \u06a9\u0644\u0627\u06cc\u0646\u062a \u0631\u06cc\u0645\u0648\u062a \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u0645 \u062a\u0627 rsnapshot \u0628\u062a\u0648\u0627\u0646\u062f \u0628\u0647 \u0635\u0648\u0631\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u0628\u0647 \u0627\u06cc\u0646 \u0633\u06cc\u0633\u062a\u0645 \u0648\u0635\u0644 \u0634\u0648\u062f. \u062f\u0631 \u0627\u0628\u062a\u062f\u0627 \u0628\u0627\u06cc\u062f SSH key pair \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u0645:<\/p>\n<pre class=\"lang:default decode:true \">ssh-keygen -t rsa<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0647\u06cc\u0686 passphrase \u0627\u06cc \u0648\u0627\u0631\u062f \u0646\u06a9\u0646\u06cc\u062f \u0632\u06cc\u0631\u0627 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u0645 \u0627\u06cc\u0646 \u0633\u06cc\u0633\u062a\u0645 \u0628\u062a\u0648\u0627\u0646\u062f \u0628\u0647 \u0647\u0631 \u06a9\u0644\u0627\u06cc\u0646\u062a \u062f\u06cc\u06af\u0631\u06cc \u0628\u062f\u0648\u0646 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u067e\u0633\u0648\u0631\u062f \u0648\u0635\u0644 \u0634\u0648\u062f:<\/p>\n<pre class=\"lang:default decode:true \">Generating public\/private rsa key pair.\r\n\r\nEnter file in which to save the key (\/root\/.ssh\/id_rsa):\r\n\r\nEnter passphrase (empty for no passphrase):\r\n\r\nEnter same passphrase again:\r\n\r\nYour identification has been saved in \/root\/.ssh\/id_rsa.\r\n\r\nYour public key has been saved in \/root\/.ssh\/id_rsa.pub.\r\n\r\nThe key fingerprint is:\r\n\r\nef:27:2a:3d:39:37:af:5e:36:05:10:b2:86:38:7f:e5 root@server.ostechnix.local\r\n\r\nThe key's randomart image is:\r\n\r\n+--[ RSA 2048]----+\r\n\r\n| . o. |\r\n\r\n| . . o . |\r\n\r\n| o . o . . |\r\n\r\n| o . o . |\r\n\r\n| . S E . |\r\n\r\n| . . . |\r\n\r\n| . .. + |\r\n\r\n| . =.+o.. |\r\n\r\n| ..*+*. |\r\n\r\n+-----------------+<\/pre>\n<p>&nbsp;<\/p>\n<p>\u062f\u0631 \u0645\u0631\u062d\u0644\u0647 \u0628\u0639\u062f\u06cc \u0628\u0627\u06cc\u062f SSH public key \u0631\u0627 \u0628\u0647 \u0647\u0645\u0647 \u0633\u06cc\u0633\u062a\u0645 \u0647\u0627\u06cc \u06a9\u0644\u0627\u06cc\u0646\u062a \u0631\u06cc\u0645\u0648\u062a \u062e\u0648\u062f \u06a9\u067e\u06cc \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">$ ssh-copy-id -i \/root\/.ssh\/id_rsa.pub sk@192.168.43.192<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>\u062e\u0631\u0648\u062c\u06cc \u0646\u0645\u0648\u0646\u0647<\/strong><strong>:<\/strong><\/p>\n<pre class=\"lang:default decode:true \">\/usr\/bin\/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed\r\n\r\n\/usr\/bin\/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys\r\n\r\nsk@192.168.43.192's password:\r\n\r\n\r\n\r\nNumber of key(s) added: 1\r\n\r\n\r\n\r\nNow try logging into the machine, with: \"ssh 'sk@192.168.43.192'\"\r\n\r\nand check to make sure that only the key(s) you wanted were added.<\/pre>\n<p>&nbsp;<\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u062c\u0627 192.168.43.19 \u0627\u06cc \u067e\u06cc \u0622\u062f\u0631\u0633 \u0633\u06cc\u0633\u062a\u0645 \u06a9\u0644\u0627\u06cc\u0646\u062a \u0631\u06cc\u0645\u0648\u062a \u0645\u0627\u0633\u062a. \u0634\u0645\u0627 \u0628\u0627\u06cc\u062f \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0628\u0627\u0644\u0627 \u0631\u0627 \u062a\u06a9\u0631\u0627\u0631 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0628\u062a\u0648\u0627\u0646\u06cc\u062f ssh public key \u0631\u0627 \u0628\u0647 \u0647\u0645\u0647 \u0633\u06cc\u0633\u062a\u0645 \u0647\u0627\u06cc \u06a9\u0644\u0627\u06cc\u0646\u062a \u062e\u0648\u062f \u06a9\u067e\u06cc \u06a9\u0646\u06cc\u062f .<\/p>\n<p>\u062d\u0627\u0644\u0627 \u0628\u0627\u06cc\u062f \u0633\u0631\u0648\u0631 \u0628\u06a9 \u0622\u067e \u062e\u0648\u062f \u0631\u0627 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06a9\u0646\u06cc\u0645. \u0644\u0637\u0641\u0627 \u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0628\u0627\u06cc\u062f\u00a0 \u062f\u0631 \u0627\u0646\u062a\u0647\u0627\u06cc\u00a0 \u0646\u0627\u0645 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u062f\u0631 \u0641\u0627\u06cc\u0644 \/etc\/rsnapshot.conf \u0627\u0633\u0644\u0634 \u0631\u0627 \u0645\u0634\u062e\u0635 \u0646\u0645\u0627\u06cc\u06cc\u062f. \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644 \u0628\u0627\u06cc\u062f\u00a0 \u0646\u0627\u0645 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0631\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a <strong>\/rsnapbackup\/<\/strong> \u00a0\u0645\u0634\u062e\u0635 \u0646\u0645\u0627\u06cc\u06cc\u062f \u0647\u0645\u0686\u0646\u06cc\u0646 \u0628\u06cc\u0646 \u0639\u0646\u0627\u0635\u0631\/ \u0641\u06cc\u0644\u062f\u0647\u0627 \u0628\u0647 \u062a\u0628 ( \u0646\u0647 \u0641\u0627\u0635\u0644\u0647) \u0646\u06cc\u0627\u0632 \u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u0627\u0634\u062a.<\/p>\n<p>\u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u067e\u06cc\u0634 \u0641\u0631\u0636 Rsnapshot \u062f\u0631 <strong>\/etc\/rsnapshot.conf<\/strong> \u00a0\u0642\u0631\u0627\u0631 \u062f\u0627\u0631\u062f.\u00a0 \u062a\u0648\u0635\u06cc\u0647 \u0645\u06cc \u0634\u0648\u062f\u00a0 \u0627\u0632 \u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u067e\u06cc\u0634 \u0641\u0631\u0636 \u0628\u06a9 \u0622\u067e \u0628\u06af\u06cc\u0631\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">cp \/etc\/rsnapshot.conf \/etc\/rsnapshot.conf.bak<\/pre>\n<p>&nbsp;<\/p>\n<p>\u062d\u0627\u0644\u0627 \u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0627\u06cc\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0631\u0627 \u0628\u0647 \u06a9\u0645\u06a9 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">sudo nano \/etc\/rsnapshot.conf<\/pre>\n<p>&nbsp;<\/p>\n<p>\u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0627\u0648\u0644\u06cc\u0647 \u0648 \u067e\u06cc\u0634 \u0641\u0631\u0636 \u0628\u0627\u06cc\u062f \u0628\u0647 \u062e\u0648\u0628\u06cc \u06a9\u0627\u0631 \u06a9\u0646\u062f. \u062a\u0646\u0647\u0627 \u06a9\u0627\u0631\u06cc \u06a9\u0647 \u0634\u0645\u0627 \u0628\u0627\u06cc\u062f \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f \u062a\u0639\u0631\u06cc\u0641 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0647\u0627\u06cc \u0628\u06a9 \u0622\u067e \u0648 \u062f\u0648\u0631\u0647 \u0647\u0627 \u0648 \u0641\u0648\u0627\u0635\u0644 \u0632\u0645\u0627\u0646\u06cc \u0628\u06a9 \u0622\u067e \u06af\u06cc\u0631\u06cc \u0627\u0633\u062a. \u062f\u0631 \u0627\u0628\u062a\u062f\u0627 \u06cc\u06a9 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0631\u0648\u062a \u0628\u0631\u0627\u06cc \u0628\u06a9 \u0622\u067e \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc \u06a9\u0646\u06cc\u0645. \u0628\u0627\u06cc\u062f \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u0645 \u0628\u06a9 \u0622\u067e \u0647\u0627 \u0631\u0627 \u062f\u0631 \u0622\u0646 \u0630\u062e\u06cc\u0631\u0647 \u0646\u0645\u0627\u06cc\u06cc\u0645. \u0645\u0627 \u0628\u06a9 \u0622\u067e \u0647\u0627 \u0631\u0627 \u062f\u0631 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc <strong>\/rsnapbackup\/<\/strong>\u00a0 \u0630\u062e\u06cc\u0631\u0647 \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f.<\/p>\n<pre class=\"lang:default decode:true \"># All snapshots will be stored under this root directory.\r\n\r\n#\r\n\r\nsnapshot_root \u00a0 \/rsnapbackup\/<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0628\u0627\u0632 \u0647\u0645 \u0628\u0627\u06cc\u062f \u0627\u0632\u00a0 \u06a9\u0644\u06cc\u062f \u062a\u0628(TAB) \u0628\u06cc\u0646 \u0639\u0646\u0627\u0635\u0631 <strong>snapshot_root<\/strong>\u00a0 \u0648 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0628\u06a9 \u0622\u067e \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.\u00a0 \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u062e\u0637 \u0632\u06cc\u0631 uncomment \u0634\u062f\u0647 \u0627\u0633\u062a:<\/p>\n<pre class=\"lang:default decode:true \">\u00a0[...]\r\n\r\n#################################\r\n\r\n# EXTERNAL PROGRAM DEPENDENCIES #\r\n\r\n#################################\r\n\r\n\r\n\r\n# LINUX USERS: Be sure to uncomment \"cmd_cp\". This gives you extra features.\r\n\r\n# EVERYONE ELSE: Leave \"cmd_cp\" commented out for compatibility.\r\n\r\n#\r\n\r\n# See the README file or the man page for more details.\r\n\r\n#\r\n\r\ncmd_cp \/usr\/bin\/cp\r\n\r\n\r\n\r\n# uncomment this to use the rm program instead of the built-in perl routine.\r\n\r\n#\r\n\r\ncmd_rm \/usr\/bin\/rm\r\n\r\n\r\n\r\n# rsync must be enabled for anything to work. This is the only command that\r\n\r\n# must be enabled.\r\n\r\n#\r\n\r\ncmd_rsync \/usr\/bin\/rsync\r\n\r\n\r\n\r\n# Uncomment this to enable remote ssh backups over rsync.\r\n\r\n#\r\n\r\ncmd_ssh \/usr\/bin\/ssh\r\n\r\n\r\n\r\n# Comment this out to disable syslog support.\r\n\r\n#\r\n\r\ncmd_logger \/usr\/bin\/logger\r\n\r\n\r\n\r\n# Uncomment this to specify the path to \"du\" for disk usage checks.\r\n\r\n# If you have an older version of \"du\", you may also want to check the\r\n\r\n# \"du_args\" parameter below.\r\n\r\n#\r\n\r\ncmd_du \/usr\/bin\/du\r\n\r\n\r\n\r\n[...]<\/pre>\n<p>&nbsp;<\/p>\n<p>\u062d\u0627\u0644\u0627 \u0628\u0627\u06cc\u062f \u0641\u0648\u0627\u0635\u0644 \u0632\u0645\u0627\u0646\u06cc \u0628\u06a9 \u0622\u067e \u06af\u06cc\u0631\u06cc \u0631\u0627 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0646\u06cc\u0645:<\/p>\n<pre class=\"lang:default decode:true \">#########################################\r\n\r\n# BACKUP LEVELS \/ INTERVALS #\r\n\r\n# Must be unique and in ascending order #\r\n\r\n# e.g. alpha, beta, gamma, etc. #\r\n\r\n#########################################\r\n\r\n\r\n\r\nretain alpha 6\r\n\r\nretain beta 7\r\n\r\nretain gamma 4\r\n\r\n#retain delta 3<\/pre>\n<p>&nbsp;<\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0639\u0628\u0627\u0631\u062a <strong>retain alpha 6<\/strong>\u00a0 \u00a0\u0628\u062f\u06cc\u0646 \u0645\u0639\u0646\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0647\u0631 \u0628\u0627\u0631 <strong>rsnapshot alpha<\/strong>\u00a0 \u0627\u062c\u0631\u0627 \u0645\u06cc \u0634\u0648\u062f\u060c \u06cc\u06a9 \u0627\u0633\u0646\u067e \u0634\u0627\u062a \u062c\u062f\u06cc\u062f \u0627\u06cc\u062c\u0627\u062f \u062e\u0648\u0627\u0647\u062f \u06a9\u0631\u062f\u060c \u0645\u0648\u0631\u062f \u0642\u062f\u06cc\u0645\u06cc \u0631\u0627 \u062e\u0648\u0627\u0647\u062f \u0686\u0631\u062e\u0627\u0646\u062f \u0648\u00a0 \u0634\u0634 \u0645\u0648\u0631\u062f \u0627\u062e\u06cc\u0631 \u0631\u0627 \u0646\u06af\u0647 \u062e\u0648\u0627\u0647\u062f \u062f\u0627\u0634\u062a. \u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0641\u0648\u0627\u0635\u0644 \u0632\u0645\u0627\u0646\u06cc \u0645\u062f\u0646\u0638\u0631 \u062e\u0648\u062f \u0631\u0627 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0646\u06cc\u062f.\u00a0 \u062d\u0627\u0644\u0627 \u0628\u0627\u06cc\u062f \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0628\u06a9 \u0622\u067e \u0631\u0627 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0646\u06cc\u0645. \u062f\u0627\u06cc\u0631\u06a9\u062a\u06cc\u0648 \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc rsnapshot \u0628\u06cc\u0627\u0628\u06cc\u062f \u0648 \u0645\u0648\u0642\u0639\u06cc\u062a \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0628\u06a9 \u0622\u067e \u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u0646\u0645\u0627\u06cc\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">###############################\r\n\r\n### BACKUP POINTS \/ SCRIPTS ###\r\n\r\n###############################\r\n\r\n\r\n\r\n# LOCALHOST\r\n\r\nbackup \/root\/ostechnix\/ server\/<\/pre>\n<p>&nbsp;<\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0645\u0627 \u0633\u0639\u06cc \u0645\u06cc \u06a9\u0646\u06cc\u0645\u00a0 \u0645\u062d\u062a\u0648\u0627\u06cc \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc <strong>\/root\/ostechnix\/<\/strong> \u00a0\u0631\u0627 \u0628\u06a9 \u0622\u067e \u06af\u06cc\u0631\u06cc \u06a9\u0646\u06cc\u0645 \u0648 \u0622\u0646 \u0631\u0627 \u062f\u0631 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc <strong>\/rsnapbackup\/server\/<\/strong>\u00a0 \u062e\u06cc\u0631\u0647 \u0646\u0645\u0627\u06cc\u06cc\u0645. \u0644\u0637\u0641\u0627 \u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0645\u0627\u00a0 \u0645\u0633\u06cc\u0631 \u06a9\u0627\u0645\u0644 \u0631\u0627 \u062f\u0631 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0628\u0627\u0644\u0627\u00a0 \u0645\u0634\u062e\u0635 \u0646\u06a9\u0631\u062f\u06cc\u0645 \u0632\u06cc\u0631\u0627 \u0642\u0628\u0644\u0627 \u0628\u0647 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0628\u06a9 \u0622\u067e \u0631\u0648\u062a \u0627\u0634\u0627\u0631\u0647 \u06a9\u0631\u062f\u0647 \u0628\u0648\u062f\u06cc\u0645. \u0645\u0648\u0642\u0639\u06cc\u062a \u0628\u06a9 \u0622\u067e \u0633\u06cc\u0633\u062a\u0645 \u06a9\u0644\u0627\u06cc\u0646\u062a \u0631\u06cc\u0645\u0648\u062a \u0631\u0627 \u0647\u0645 \u0628\u0627\u06cc\u062f \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0646\u06cc\u0645:<\/p>\n<pre class=\"lang:default decode:true \"># REMOTEHOST\r\n\r\nbackup sk@192.168.43.192:\/home\/sk\/test\/ client\/<\/pre>\n<p>&nbsp;<\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u0645 \u0645\u062d\u062a\u0648\u0627\u06cc \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc<strong>\/home\/sk\/test\/<\/strong>\u00a0 \u0633\u06cc\u0633\u062a\u0645 \u0631\u06cc\u0645\u0648\u062a\u00a0 \u0631\u0627 \u0628\u06a9 \u0622\u067e \u06af\u06cc\u0631\u06cc \u06a9\u0646\u06cc\u0645 \u0648 \u0622\u0646 \u0631\u0627 \u062f\u0631 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc <strong>\/rsnapbackup\/client\/<\/strong> \u00a0\u0633\u0631\u0648\u0631 \u0628\u06a9 \u0622\u067e \u0630\u062e\u06cc\u0631\u0647 \u0646\u0645\u0627\u06cc\u06cc\u0645.<\/p>\n<p>\u0628\u0627\u0632 \u0647\u0645 \u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0645\u0627 \u0645\u0633\u06cc\u0631 \u06a9\u0627\u0645\u0644 \u0631\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0628\u0627\u0644\u0627 \u0645\u0634\u062e\u0635 \u0646\u06a9\u0631\u062f\u06cc\u0645.<\/p>\n<p>\u0628\u0639\u062f \u0627\u0632 \u0627\u06cc\u0646\u06a9\u0647 \u0647\u0645\u0647 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f\u06cc\u062f \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u0641\u0627\u06cc\u0644 config \u0627\u0632 \u0644\u062d\u0627\u0638 \u062f\u0633\u062a\u0648\u0631\u06cc \u0646\u06cc\u0632 \u0645\u0639\u062a\u0628\u0631 \u0627\u0633\u062a.<\/p>\n<pre class=\"lang:default decode:true \">rsnapshot configtest<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0627\u06af\u0631 \u0647\u0645\u0647 \u0686\u06cc\u0632 \u0628\u0647 \u062f\u0631\u0633\u062a\u06cc \u0628\u0647 \u067e\u06cc\u0634 \u0628\u0631\u0648\u062f\u060c \u062e\u0631\u0648\u062c\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u0627\u0634\u062a:<\/p>\n<pre class=\"lang:default decode:true \">Syntax OK<\/pre>\n<p>&nbsp;<\/p>\n<h3>\u062a\u0633\u062a \u0628\u06a9 \u0622\u067e:<\/h3>\n<p>\u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0647\u0645\u0647 \u0628\u06a9 \u0622\u067e \u0647\u0627 \u0631\u0627 \u062a\u0633\u062a \u0646\u0645\u0627\u06cc\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">rsnapshot alpha<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0627\u06cc\u0646\u06a9\u0627\u0631 \u0628\u0633\u062a\u0647 \u0628\u0647 \u0627\u0646\u062f\u0627\u0632\u0647 \u0628\u06a9 \u0622\u067e \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u062f\u0627\u0631\u06cc\u062f \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0686\u0646\u062f \u062f\u0642\u06cc\u0642\u0647 \u0632\u0645\u0627\u0646 \u0628\u0628\u0631\u062f.<\/p>\n<h3>\u00a0\u062a\u0627\u06cc\u06cc\u062f \u0628\u06a9 \u0622\u067e \u0647\u0627:<\/h3>\n<p>\u0628\u0628\u06cc\u0646\u06cc\u062f \u0628\u06a9 \u0622\u067e \u0647\u0627 \u0648\u0627\u0642\u0639\u0627 \u062f\u0631 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0631\u0648\u062a \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u0630\u062e\u06cc\u0631\u0647 \u0645\u06cc \u0634\u0648\u0646\u062f \u06cc\u0627 \u062e\u06cc\u0631.<\/p>\n<pre class=\"lang:default decode:true \">ls \/rsnapbackup\/<\/pre>\n<p>&nbsp;<\/p>\n<p>\u062e\u0631\u0648\u062c\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f:<\/p>\n<pre class=\"lang:default decode:true \">alpha.0<\/pre>\n<p>&nbsp;<\/p>\n<p>\u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc alpha.0 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">ls \/rsnapbackup\/alpha.0\/<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0645\u0634\u0627\u0647\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f \u06a9\u0647 \u062f\u0648 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0628\u0647 \u0635\u0648\u0631\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u0627\u06cc\u062c\u0627\u062f \u0634\u062f\u0647 \u0627\u0633\u062a. \u06cc\u06a9\u06cc \u0627\u0632 \u0622\u0646 \u0647\u0627 \u0633\u0631\u0648\u0631 \u0628\u06a9 \u0622\u067e \u0644\u0648\u06a9\u0627\u0644 \u0648 \u062f\u06cc\u06af\u0631\u06cc \u0628\u0631\u0627\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0631\u06cc\u0645\u0648\u062a \u0627\u0633\u062a:<\/p>\n<pre class=\"lang:default decode:true \">client\/ server\/<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0628\u06a9 \u0622\u067e \u0647\u0627\u06cc \u0633\u06cc\u0633\u062a\u0645 \u06a9\u0644\u0627\u06cc\u0646\u062a \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">ls \/rsnapbackup\/alpha.0\/client<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0628\u06a9 \u0622\u067e \u0647\u0627\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0633\u0631\u0648\u0631 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">ls \/rsnapbackup\/alpha.0\/server<\/pre>\n<p>&nbsp;<\/p>\n<h3>\u062e\u0648\u062f\u06a9\u0627\u0631\u0633\u0627\u0632\u06cc \u0628\u06a9 \u0622\u067e \u0647\u0627:<\/h3>\n<p>\u0634\u0645\u0627 \u0646\u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0647\u0631 \u0628\u0627\u0631 \u06a9\u0647 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0628\u06a9 \u0622\u067e \u062f\u0627\u0631\u06cc\u062f \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0627\u06cc\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f. \u0628\u0647 \u0647\u0645\u06cc\u0646 \u062e\u0627\u0637\u0631 \u0628\u0627\u06cc\u062f \u06cc\u06a9 cron job \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f \u0648 \u06a9\u0627\u0631 \u0628\u06a9 \u0622\u067e \u06af\u06cc\u0631\u06cc \u0631\u0627 \u062e\u0648\u062f\u06a9\u0627\u0631 \u0646\u0645\u0627\u06cc\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">sudo vi \/etc\/cron.d\/rsnapshot<\/pre>\n<p>&nbsp;<\/p>\n<p>\u062e\u0637\u0648\u0637 \u0632\u06cc\u0631 \u0631\u0627 \u0628\u062f\u0627\u0646 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">0 *\/4 * * *\u00a0\u00a0\u00a0\u00a0 \/usr\/bin\/rsnapshot alpha\r\n\r\n50 23 * * *\u00a0\u00a0\u00a0\u00a0 \/usr\/bin\/rsnapshot beta\r\n\r\n00 22 1 * *\u00a0\u00a0\u00a0\u00a0 \/usr\/bin\/rsnapshot delta<\/pre>\n<p>&nbsp;<\/p>\n<p>\u062e\u0648\u0628 \u062d\u0627\u0644\u0627 Rsnapshot \u0628\u0647 \u0635\u0648\u0631\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u0628\u0631 \u0627\u0633\u0627\u0633 \u0632\u0645\u0627\u0646 \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u062f\u0631 cron job \u06a9\u0627\u0631 \u0628\u06a9 \u0622\u067e \u06af\u06cc\u0631\u06cc \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062e\u0648\u0627\u0647\u062f \u062f\u0627\u062f.<\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;3424&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;0&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;0&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;Rate this post&quot;,&quot;legend&quot;:&quot;0\\\/5 - (0 \u0627\u0645\u062a\u06cc\u0627\u0632)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;\u0686\u06af\u0648\u0646\u0647 \u0628\u06a9 \u0622\u067e \u0633\u0631\u0648\u0631 \u0631\u0627 \u0628\u0647 \u06a9\u0645\u06a9 Rsnapshot \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u06a9\u0646\u06cc\u0645\u061f&quot;,&quot;width&quot;:&quot;0&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 0px;\">\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            <span class=\"kksr-muted\">Rate this post<\/span>\n    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u0645\u06cc \u062f\u0627\u0646\u06cc\u062f Rsnapshot \u06cc\u06a9 \u0628\u0631\u0646\u0627\u0645\u0647 \u06a9\u0645\u06a9\u06cc \u0627\u0633\u0646\u067e \u0634\u0627\u062a \u0641\u0627\u06cc\u0644 \u0633\u06cc\u0633\u062a\u0645\u00a0 \u0628\u0631 \u0627\u0633\u0627\u0633 rsync \u0628\u0631\u0627\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0647\u0627\u06cc \u06cc\u0648\u0646\u06cc\u06a9\u0633 \u0645\u0627\u0646\u0646\u062f \u0627\u0633\u062a. \u0627\u06cc\u0646 \u06af\u0632\u06cc\u0646\u0647 \u0628\u0647 \u0634\u0645\u0627 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc \u062f\u0647\u062f \u0628\u0647 \u0631\u0627\u062d\u062a\u06cc \u0627\u0633\u0646\u067e \u0634\u0627\u062a \u0647\u0627\u06cc \u062f\u0648\u0631\u0647 \u0627\u06cc \u0627\u0632 \u0645\u0627\u0634\u06cc\u0646 \u0644\u0648\u06a9\u0627\u0644 \u062e\u0648\u062f \u0628\u0647 \u062f\u0633\u062a \u0622\u0648\u0631\u06cc\u062f \u0648 \u0627\u0632 \u0637\u0631\u06cc\u0642 SSH \u0647\u0645 \u0627\u0632 \u0645\u0627\u0634\u06cc\u0646 \u0647\u0627\u06cc \u0631\u06cc\u0645\u0648\u062a \u062e\u0648\u062f \u0627\u0633\u0646\u067e \u0634\u0627\u062a\u06cc &hellip;<\/p>\n","protected":false},"author":8,"featured_media":3425,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1370,3],"tags":[2638,2639,2641,2642,2640],"class_list":["post-3424","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-web-articles","tag-rsnapshot","tag-rsnapshot-","tag-------rsnapshot","tag-2642","tag--rsnapshot"],"views":"166","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/parry3-Te","jetpack_featured_media_url":"https:\/\/webide.ir\/blog\/wp-content\/uploads\/2018\/11\/backup-server.jpg","_links":{"self":[{"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/posts\/3424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/comments?post=3424"}],"version-history":[{"count":1,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/posts\/3424\/revisions"}],"predecessor-version":[{"id":3426,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/posts\/3424\/revisions\/3426"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/media\/3425"}],"wp:attachment":[{"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/media?parent=3424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/categories?post=3424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/tags?post=3424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}