{"id":1455,"date":"2023-04-25T22:16:32","date_gmt":"2023-04-25T19:16:32","guid":{"rendered":"https:\/\/virtirio.com\/blog\/?p=1455"},"modified":"2025-03-24T23:00:53","modified_gmt":"2025-03-24T20:00:53","slug":"%d0%bd%d0%b0%d0%bb%d0%b0%d1%88%d1%82%d1%83%d0%b2%d0%b0%d0%bd%d0%bd%d1%8f-bacula-%d0%b2-ubuntu","status":"publish","type":"post","link":"https:\/\/virtirio.com\/blog\/uk\/%d0%bd%d0%b0%d0%bb%d0%b0%d1%88%d1%82%d1%83%d0%b2%d0%b0%d0%bd%d0%bd%d1%8f-bacula-%d0%b2-ubuntu\/","title":{"rendered":"\u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f backup \u0432 Ubuntu 22.04 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e Bacula \u0442\u0430 Duplicity"},"content":{"rendered":"<p>\u0423 \u0446\u0456\u0439 \u0441\u0442\u0430\u0442\u0442\u0456 \u043c\u0438 \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0435\u043c\u043e, \u044f\u043a \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f \u043d\u0430 Ubuntu \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0434\u0432\u043e\u0445 \u0456\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0456\u0432 \u2013 Bacula \u0442\u0430 Duplicity. \u041e\u0431\u0438\u0434\u0432\u0430 \u0456\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0438 \u043d\u0430\u0434\u0430\u044e\u0442\u044c \u043f\u043e\u0442\u0443\u0436\u043d\u0456 \u043c\u043e\u0436\u043b\u0438\u0432\u043e\u0441\u0442\u0456 \u0434\u043b\u044f \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f \u0442\u0430 \u0432\u0456\u0434\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0434\u0430\u043d\u0438\u0445 \u043d\u0430 Ubuntu.<\/p>\n<h2>\u0429\u043e \u0442\u0430\u043a\u0435 Bacula?<\/h2>\n<p><strong>Bacula<\/strong> \u2013 \u0446\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f \u0437 \u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0438\u043c \u043a\u043e\u0434\u043e\u043c, \u044f\u043a\u0430 \u043d\u0430\u0434\u0430\u0454 \u043f\u043e\u0442\u0443\u0436\u043d\u0456 \u0444\u0443\u043d\u043a\u0446\u0456\u0457 \u0434\u043b\u044f \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f \u0442\u0430 \u0432\u0456\u0434\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0434\u0430\u043d\u0438\u0445 \u043d\u0430 \u0440\u0456\u0437\u043d\u0438\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0456\u0439\u043d\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445, \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0447\u0438 Ubuntu. <strong>Bacula<\/strong> \u0441\u043a\u043b\u0430\u0434\u0430\u0454\u0442\u044c\u0441\u044f \u0437 \u0434\u0435\u043a\u0456\u043b\u044c\u043a\u043e\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0456\u0432, \u0441\u0435\u0440\u0435\u0434 \u044f\u043a\u0438\u0445 <strong>Bacula Director<\/strong>, <strong>Bacula Storage<\/strong> <strong>Daemon<\/strong> \u0442\u0430 <strong>Bacula File Daemon<\/strong>. <strong>Bacula Director<\/strong> \u0454 \u0433\u043e\u043b\u043e\u0432\u043d\u0438\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u043c Bacula \u0456 \u043a\u0435\u0440\u0443\u0454 \u0432\u0441\u0456\u043c\u0430 \u043e\u043f\u0435\u0440\u0430\u0446\u0456\u044f\u043c\u0438 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f \u0442\u0430 \u0432\u0456\u0434\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0434\u0430\u043d\u0438\u0445. Bacula Storage Daemon \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u0454 \u0437\u0430 \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u043d\u043d\u044f \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0438\u0445 \u043a\u043e\u043f\u0456\u0439, \u0430 <strong>Bacula File Daemon<\/strong> \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0443\u0454 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0435 \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f \u0444\u0430\u0439\u043b\u0456\u0432 \u043d\u0430 \u0432\u0456\u0434\u0434\u0430\u043b\u0435\u043d\u0438\u0445 \u043c\u0430\u0448\u0438\u043d\u0430\u0445.<\/p>\n<h2>\u0429\u043e \u0442\u0430\u043a\u0435 Duplicity?<\/h2>\n<p><strong>Duplicity<\/strong> \u2013 \u0446\u0435 \u0449\u0435 \u043e\u0434\u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f \u0437 \u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0438\u043c \u043a\u043e\u0434\u043e\u043c, \u044f\u043a\u0430 \u043f\u0440\u0430\u0446\u044e\u0454 \u043d\u0430 \u0440\u0456\u0437\u043d\u0438\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0456\u0439\u043d\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445, \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0447\u0438 Ubuntu. Duplicity \u043e\u0441\u043e\u0431\u043b\u0438\u0432\u043e \u043a\u043e\u0440\u0438\u0441\u043d\u0430 \u0434\u043b\u044f \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f \u043d\u0430 \u0432\u0456\u0434\u0434\u0430\u043b\u0435\u043d\u0456 \u0441\u0435\u0440\u0432\u0435\u0440\u0438, \u0442\u0430\u043a\u0456 \u044f\u043a <strong>Amazon S3<\/strong> \u0447\u0438 <strong>Dropbox<\/strong>. Duplicity \u043d\u0430\u0434\u0430\u0454 \u0444\u0443\u043d\u043a\u0446\u0456\u0457 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f \u0442\u0430 \u0432\u0456\u0434\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0434\u0430\u043d\u0438\u0445, \u0430 \u0442\u0430\u043a\u043e\u0436 \u0448\u0438\u0444\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u0442\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u0443 \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u043a\u0443 \u0446\u0456\u043b\u0456\u0441\u043d\u043e\u0441\u0442\u0456 \u0434\u0430\u043d\u0438\u0445.<\/p>\n<blockquote><p><em>\u041a\u0440\u0456\u043c \u0442\u043e\u0433\u043e, \u0432\u0430\u043c \u043c\u043e\u0436\u0435 \u0431\u0443\u0442\u0438 \u0446\u0456\u043a\u0430\u0432\u043e \u0434\u0456\u0437\u043d\u0430\u0442\u0438\u0441\u044f, \u044f\u043a \u0441\u0442\u0432\u043e\u0440\u044e\u0432\u0430\u0442\u0438 \u0442\u0430 \u0432\u0456\u0434\u043d\u043e\u0432\u043b\u044e\u0432\u0430\u0442\u0438 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0456 \u043a\u043e\u043f\u0456\u0457 \u0432\u0435\u043b\u0438\u043a\u0438\u0445 \u0431\u0430\u0437 \u0434\u0430\u043d\u0438\u0445 MySQL \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0443\u0442\u0438\u043b\u0456\u0442 <a href=\"https:\/\/sypex.net\/\" target=\"_blank\" rel=\"noopener\">Sypex Dumper<\/a> \u0442\u0430 <a href=\"https:\/\/www.adminer.org\/\" target=\"_blank\" rel=\"noopener\">Adminer<\/a>. \u0414\u0435\u0442\u0430\u043b\u044c\u043d\u0456\u0448\u0435 \u0443 \u0441\u0442\u0430\u0442\u0442\u0456: <a href=\"https:\/\/virtirio.com\/blog\/uk\/%d1%80%d0%be%d0%b1%d0%be%d1%82%d0%b0-%d0%b7-%d0%b2%d0%b5%d0%bb%d0%b8%d0%ba%d0%b8%d0%bc%d0%b8-%d0%b1%d0%b0%d0%b7%d0%b0%d0%bc%d0%b8-%d0%b4%d0%b0%d0%bd%d0%b8%d1%85\/\">\u0420\u0435\u0437\u0435\u0440\u0432\u043d\u0435 \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f \u0442\u0430 \u0440\u043e\u0431\u043e\u0442\u0430 \u0437 \u0432\u0435\u043b\u0438\u043a\u0438\u043c\u0438 \u0431\u0430\u0437\u0430\u043c\u0438 \u0434\u0430\u043d\u0438\u0445<\/a>.<\/em><\/p><\/blockquote>\n<h2>\u042f\u043a \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 Bacula \u043d\u0430 Ubuntu\u00a022.04?<\/h2>\n<p>\u0414\u043b\u044f \u043f\u043e\u0447\u0430\u0442\u043a\u0443 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0456\u0442\u044c Bacula \u043d\u0430 Ubuntu \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457 \u043a\u043e\u043c\u0430\u043d\u0434\u0438 \u0432 \u0442\u0435\u0440\u043c\u0456\u043d\u0430\u043b\u0456:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo apt-get install bacula\r\n<\/pre>\n<p>\u041f\u0456\u0441\u043b\u044f \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0432\u0430\u043c \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 <strong>Bacula Director<\/strong>, \u044f\u043a\u0438\u0439 \u043a\u0435\u0440\u0443\u0454 \u0432\u0441\u0456\u043c\u0430 \u043e\u043f\u0435\u0440\u0430\u0446\u0456\u044f\u043c\u0438 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f \u0442\u0430 \u0432\u0456\u0434\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0434\u0430\u043d\u0438\u0445. \u0412\u0456\u0434\u0440\u0435\u0434\u0430\u0433\u0443\u0439\u0442\u0435 \u0444\u0430\u0439\u043b <strong>\/etc\/bacula\/bacula-dir.conf<\/strong> \u0442\u0430 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0439\u0442\u0435 \u0439\u043e\u0433\u043e \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u043d\u043e \u0434\u043e \u0432\u0430\u0448\u0438\u0445 \u043f\u043e\u0442\u0440\u0435\u0431. \u041d\u0438\u0436\u0447\u0435 \u043d\u0430\u0432\u0435\u0434\u0435\u043d\u043e \u043f\u0440\u0438\u043a\u043b\u0430\u0434 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0439\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0443:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">Director {\r\n  Name = bacula-dir\r\n  DIRport = 9101\r\n  QueryFile = \"\/etc\/bacula\/scripts\/query.sql\"\r\n  WorkingDirectory = \"\/var\/lib\/bacula\"\r\n  PidDirectory = \"\/var\/run\/bacula\"\r\n  Maximum Concurrent Jobs = 1\r\n  Password = \"password\"\r\n  Messages = Daemon\r\n}\r\n\r\nCatalog {\r\n  Name = MyCatalog\r\n  dbname = \"bacula\"\r\n  DB Address = localhost\r\n  DB Port = 0\r\n  DB User = bacula\r\n  DB Password = \"password\"\r\n}\r\n\r\nFileSet {\r\n  Name = \"Full Set\"\r\n  Include {\r\n    Options {\r\n      signature = SHA1\r\n    }\r\n    File = \/home\r\n  }\r\n  Exclude {\r\n    File = \/home\/user\/tmp\r\n  }\r\n}\r\n\r\nJob {\r\n  Name = \"BackupClient1\"\r\n  JobDefs = \"DefaultJob\"\r\n  Client = BackupClient1-fd\r\n  FileSet = \"Full Set\"\r\n  Schedule = \"WeeklyCycle\"\r\n  Storage = FileStorage\r\n  Priority = 10\r\n  Write Bootstrap = \"\/var\/lib\/bacula\/%c.bsr\"\r\n  Run Before Job = \"\/etc\/bacula\/scripts\/myscript.sh\"\r\n  Run After Job = \"\/etc\/bacula\/scripts\/myscript.sh\"\r\n}\r\n\r\nJob {\r\n  Name = \"RestoreFiles\"\r\n  Type = Restore\r\n  Client=BackupClient1-fd\r\n  FileSet=\"Full Set\"\r\n  Storage = FileStorage\r\n  Pool = Default\r\n  Messages = Standard\r\n  Where = \/tmp\/bacula-restores\r\n}\r\n\r\nStorage {\r\n  Name = FileStorage\r\n  Address = 192.168.1.1\r\n  SDPort = 9103\r\n  Password = \"password\"\r\n  Device = FileStorageDevice\r\n}\r\n\r\nDevice {\r\n  Name = FileStorageDevice\r\n  Media Type = File\r\n  Archive Device = \/mnt\/backup\r\n  LabelMedia = yes\r\n  Random Access = yes\r\n  AutomaticMount = yes\r\n  RemovableMedia = no\r\n}\r\n\r\nClient {\r\n  Name = BackupClient1-fd\r\n  Address = 192.168.1.2\r\n  FDPort = 9102\r\n  Password = \"password\"\r\n  File Retention = 30 days\r\n  Job Retention = 6 months\r\n  AutoPrune = yes\r\n}\r\n\r\nSchedule {\r\n  Name = \"WeeklyCycle\"\r\n  Run = Full sun at 23:05\r\n  Run = Differential mon-sat at 23:05\r\n  Run = Incremental mon-sat at 23:05\r\n}\r\n<\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440, \u043a\u043e\u043b\u0438 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044f <strong>Bacula Director<\/strong> \u043d\u0430\u043b\u0430\u0448\u0442\u043e\u0432\u0430\u043d\u0430, \u0432\u0430\u043c \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 <strong>Bacula Storage Daemon<\/strong>, \u044f\u043a\u0438\u0439 \u043a\u0435\u0440\u0443\u0454 \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u043d\u043d\u044f\u043c \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0438\u0445 \u043a\u043e\u043f\u0456\u0439. \u0412\u0456\u0434\u0440\u0435\u0434\u0430\u0433\u0443\u0439\u0442\u0435 \u0444\u0430\u0439\u043b <strong>\/etc\/bacula\/bacula-sd.conf<\/strong> \u0442\u0430 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0439\u0442\u0435 \u0439\u043e\u0433\u043e \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u043d\u043e \u0434\u043e \u0432\u0430\u0448\u0438\u0445 \u043f\u043e\u0442\u0440\u0435\u0431. \u041d\u0438\u0436\u0447\u0435 \u043d\u0430\u0432\u0435\u0434\u0435\u043d\u043e \u043f\u0440\u0438\u043a\u043b\u0430\u0434 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0439\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0443 <strong>Bacula Storage Daemon<\/strong>:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">Storage {\r\n  Name = FileStorage\r\n  Address = 192.168.1.1\r\n  SDPort = 9103\r\n  Password = \"password\"\r\n  Device = FileStorageDevice\r\n}\r\n\r\nDevice {\r\n  Name = FileStorageDevice\r\n  Media Type = File\r\n  Archive Device = \/mnt\/backup\r\n  LabelMedia = yes\r\n  Random Access = yes\r\n  AutomaticMount = yes\r\n  RemovableMedia = no\r\n}\r\n\r\nDirector {\r\n  Name = bacula-dir\r\n  Password = \"password\"\r\n}\r\n<\/pre>\n<p>\u041f\u0435\u0440\u0435\u043a\u043e\u043d\u0430\u0439\u0442\u0435\u0441\u044f, \u0449\u043e \u0432\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043b\u0438 \u0441\u0432\u043e\u0457 \u0434\u0438\u0441\u043a\u043e\u0432\u0456 \u043f\u0440\u0438\u0441\u0442\u0440\u043e\u0457 \u0442\u0430 \u043f\u0440\u0430\u0432\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0443 \u0434\u043e \u043f\u0430\u043f\u043a\u0438, \u044f\u043a\u0430 \u0431\u0443\u0434\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438\u0441\u044f \u0434\u043b\u044f \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u043d\u043d\u044f \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0438\u0445 \u043a\u043e\u043f\u0456\u0439.<\/p>\n<h2>\u042f\u043a \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 Duplicity \u043d\u0430 Ubuntu 22.04?<\/h2>\n<p>\u0414\u043b\u044f \u043f\u043e\u0447\u0430\u0442\u043a\u0443 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0456\u0442\u044c <strong>Duplicity<\/strong> \u043d\u0430 Ubuntu \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457 \u043a\u043e\u043c\u0430\u043d\u0434\u0438 \u0432 \u0442\u0435\u0440\u043c\u0456\u043d\u0430\u043b\u0456:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo apt-get install duplicity<\/pre>\n<p>\u041f\u043e\u0442\u0456\u043c \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0439\u0442\u0435 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0439\u043d\u0438\u0439 \u0444\u0430\u0439\u043b <strong>Duplicity<\/strong>, \u044f\u043a\u0438\u0439 \u0431\u0443\u0434\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438\u0441\u044f \u0434\u043b\u044f \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f \u0442\u0430 \u0432\u0456\u0434\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0434\u0430\u043d\u0438\u0445. \u0412\u0456\u0434\u0440\u0435\u0434\u0430\u0433\u0443\u0439\u0442\u0435 \u0444\u0430\u0439\u043b <strong>\/etc\/duplicity\/duplicity.conf<\/strong> \u0442\u0430 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0439\u0442\u0435 \u0439\u043e\u0433\u043e \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u043d\u043e \u0434\u043e \u0432\u0430\u0448\u0438\u0445 \u043f\u043e\u0442\u0440\u0435\u0431. \u041f\u0440\u0438\u043a\u043b\u0430\u0434 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0439\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0443 <strong>Duplicity<\/strong>:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">[global]\r\nencrypt-key = ABCDEFGH\r\nsign-key = ABCDEFGH\r\narchive-dir = \/mnt\/backups\/duplicity\r\nverbosity = 5\r\nfull-if-older-than = 7D\r\nvolsize = 250\r\ntempdir = \/tmp\r\n\r\n[source]\r\ninclude = \/home\/user\/Documents\r\nexclude = \/home\/user\/Documents\/tmp\r\nexclude = \/home\/user\/Documents\/cache\r\n\r\n[destination]\r\nprotocol = sftp\r\nhost = backupserver.example.com\r\nuser = backupuser\r\nport = 22\r\npath = \/mnt\/backups\/duplicity\r\n<\/pre>\n<p><strong>\u0422\u0443\u0442 \u043c\u0438 \u0432\u043a\u0430\u0437\u0430\u043b\u0438 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0456 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438:<\/strong><\/p>\n<ul>\n<li><strong>encrypt-key:<\/strong> \u043f\u0443\u0431\u043b\u0456\u0447\u043d\u0438\u0439 \u043a\u043b\u044e\u0447 GPG, \u0449\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u0448\u0438\u0444\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u0434\u0430\u043d\u0438\u0445.<\/li>\n<li><strong>sign-key:<\/strong> \u043f\u0443\u0431\u043b\u0456\u0447\u043d\u0438\u0439 \u043a\u043b\u044e\u0447 GPG, \u0449\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u043f\u0456\u0434\u043f\u0438\u0441\u0443 \u0434\u0430\u043d\u0438\u0445.<\/li>\n<li><strong>archive-dir:<\/strong> \u0448\u043b\u044f\u0445 \u0434\u043e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0457 \u043f\u0430\u043f\u043a\u0438, \u0434\u0435 \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u0442\u0438\u043c\u0443\u0442\u044c\u0441\u044f \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0456 \u043a\u043e\u043f\u0456\u0457.<\/li>\n<li><strong>verbosity:<\/strong> \u0440\u0456\u0432\u0435\u043d\u044c \u0432\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044f \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u044c.<\/li>\n<li><strong>full-if-older-than:<\/strong> \u0447\u0430\u0441, \u043f\u0456\u0441\u043b\u044f \u044f\u043a\u043e\u0433\u043e \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0432\u0438\u043a\u043e\u043d\u0430\u0442\u0438 \u043f\u043e\u0432\u043d\u0435 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0435 \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f.<\/li>\n<li><strong>volsize:<\/strong> \u0440\u043e\u0437\u043c\u0456\u0440 \u0442\u043e\u043c\u0443 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0457 \u043a\u043e\u043f\u0456\u0457.<\/li>\n<li><strong>tempdir:<\/strong> \u0442\u0438\u043c\u0447\u0430\u0441\u043e\u0432\u0430 \u043f\u0430\u043f\u043a\u0430 \u0434\u043b\u044f \u0440\u043e\u0431\u043e\u0442\u0438 Duplicity.<\/li>\n<\/ul>\n<p>\u0414\u0430\u043b\u0456 \u043c\u0438 \u0432\u043a\u0430\u0437\u0443\u0454\u043c\u043e \u0434\u0436\u0435\u0440\u0435\u043b\u043e \u0434\u0430\u043d\u0438\u0445 <em>(source)<\/em> \u0442\u0430 \u043c\u0456\u0441\u0446\u0435 \u043f\u0440\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f <em>(destination)<\/em>. \u0423 \u043d\u0430\u0448\u043e\u043c\u0443 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0456 \u043c\u0438 \u043e\u0431\u0440\u0430\u043b\u0438 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b SFTP \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0456 \u0434\u0430\u043d\u0438\u0445 \u043d\u0430 \u0432\u0456\u0434\u0434\u0430\u043b\u0435\u043d\u0438\u0439 \u0441\u0435\u0440\u0432\u0435\u0440.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440, \u043a\u043e\u043b\u0438 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0439\u043d\u0438\u0439 \u0444\u0430\u0439\u043b \u043d\u0430\u043b\u0430\u0448\u0442\u043e\u0432\u0430\u043d\u043e, \u0432\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438\u043a\u043e\u043d\u0430\u0442\u0438 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0435 \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457 \u043a\u043e\u043c\u0430\u043d\u0434\u0438:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">duplicity sftp:\/\/backupuser@backupserver.example.com\/mnt\/backups\/duplicity \/home\/user\/Documents\r\n<\/pre>\n<p>\u0426\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0432\u0456\u0434\u043d\u043e\u0432\u0438\u0442\u044c \u0432\u0441\u0456 \u0444\u0430\u0439\u043b\u0438 \u0437 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0457 \u043a\u043e\u043f\u0456\u0457 \u043d\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0438\u0439 \u043a\u043e\u043c\u043f&#8217;\u044e\u0442\u0435\u0440 \u0443 \u043f\u0430\u043f\u043a\u0443 <strong>\/home\/user\/Documents<\/strong>.<\/p>\n<h2>\u0412\u0438\u0441\u043d\u043e\u0432\u043e\u043a<\/h2>\n<p><strong>Bacula<\/strong> \u0442\u0430 <strong>Duplicity<\/strong> \u2013 \u0446\u0435 \u043f\u043e\u0442\u0443\u0436\u043d\u0456 \u0456\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0438 \u0434\u043b\u044f \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f \u0434\u0430\u043d\u0438\u0445 \u043d\u0430 Ubuntu. <strong>Bacula<\/strong> \u043c\u0430\u0454 \u0431\u0456\u043b\u044c\u0448 \u0448\u0438\u0440\u043e\u043a\u0438\u0439 \u0444\u0443\u043d\u043a\u0446\u0456\u043e\u043d\u0430\u043b \u0456 \u043f\u0440\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u0430 \u0434\u043b\u044f \u0432\u0435\u043b\u0438\u043a\u0438\u0445 \u043c\u0435\u0440\u0435\u0436 \u0437 \u0447\u0438\u0441\u043b\u0435\u043d\u043d\u0438\u043c\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u043c\u0438, \u0442\u043e\u0434\u0456 \u044f\u043a <strong>Duplicity<\/strong> \u2013 \u0446\u0435 \u043f\u0440\u043e\u0441\u0442\u0438\u0439 \u0442\u0430 \u0437\u0440\u0443\u0447\u043d\u0438\u0439 \u0456\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f \u0434\u0430\u043d\u0438\u0445 \u043d\u0430 \u0432\u0456\u0434\u0434\u0430\u043b\u0435\u043d\u0438\u0439 \u0441\u0435\u0440\u0432\u0435\u0440.<\/p>\n<p>\u0423 \u0446\u0456\u0439 \u0441\u0442\u0430\u0442\u0442\u0456 \u043c\u0438 \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0443\u043b\u0438, \u044f\u043a \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 <strong>Bacula<\/strong> \u0442\u0430 <strong>Duplicity<\/strong> \u043d\u0430 Ubuntu, \u043f\u043e\u0447\u0438\u043d\u0430\u044e\u0447\u0438 \u0432\u0456\u0434 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0457\u0445 \u043f\u0430\u043a\u0435\u0442\u0456\u0432 \u0456 \u0437\u0430\u043a\u0456\u043d\u0447\u0443\u044e\u0447\u0438 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f\u043c \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0439\u043d\u0438\u0445 \u0444\u0430\u0439\u043b\u0456\u0432. \u0421\u043f\u043e\u0434\u0456\u0432\u0430\u044e\u0441\u044f, \u0446\u044f \u0441\u0442\u0430\u0442\u0442\u044f \u0434\u043e\u043f\u043e\u043c\u043e\u0436\u0435 \u0432\u0430\u043c \u043e\u0431\u0440\u0430\u0442\u0438 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u043d\u0438\u0439 \u0456\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f \u0434\u0430\u043d\u0438\u0445 \u0442\u0430 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u0439\u043e\u0433\u043e \u043d\u0430 \u0432\u0430\u0448\u043e\u043c\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0456 Ubuntu.<\/p>\n<p>\u041d\u0435\u0437\u0430\u043b\u0435\u0436\u043d\u043e \u0432\u0456\u0434 \u0442\u043e\u0433\u043e, \u044f\u043a\u0438\u0439 \u0456\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0432\u0438 \u043e\u0431\u0435\u0440\u0435\u0442\u0435, \u043f\u0430\u043c\u2019\u044f\u0442\u0430\u0439\u0442\u0435, \u0449\u043e \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0435 \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f \u0434\u0430\u043d\u0438\u0445 \u2013 \u0446\u0435 \u043a\u0440\u0438\u0442\u0438\u0447\u043d\u043e \u0432\u0430\u0436\u043b\u0438\u0432\u0438\u0439 \u043f\u0440\u043e\u0446\u0435\u0441, \u044f\u043a\u0438\u0439 \u043c\u043e\u0436\u0435 \u0437\u0430\u043f\u043e\u0431\u0456\u0433\u0442\u0438 \u0432\u0442\u0440\u0430\u0442\u0456 \u0434\u0430\u043d\u0438\u0445 \u0443 \u0440\u0430\u0437\u0456 \u0437\u0431\u043e\u0457\u0432 \u0430\u0431\u043e \u043a\u0456\u0431\u0435\u0440\u0430\u0442\u0430\u043a. \u041d\u0435 \u0437\u0430\u0431\u0443\u0432\u0430\u0439\u0442\u0435 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u044f\u0442\u0438 \u0441\u0432\u043e\u0457 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0456 \u043a\u043e\u043f\u0456\u0457 \u0442\u0430 \u043e\u043d\u043e\u0432\u043b\u044e\u0432\u0430\u0442\u0438 \u0457\u0445 \u0437\u0430 \u043f\u043e\u0442\u0440\u0435\u0431\u0438.<\/p>\n<p>\u0421\u043f\u043e\u0434\u0456\u0432\u0430\u044e\u0441\u044f, \u0446\u044f \u0441\u0442\u0430\u0442\u0442\u044f \u0431\u0443\u043b\u0430 \u043a\u043e\u0440\u0438\u0441\u043d\u043e\u044e \u0442\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043b\u0430 \u0432\u0430\u043c \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f \u043d\u0430 \u0432\u0430\u0448\u043e\u043c\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0456 Ubuntu \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e <strong>Bacula<\/strong> \u0430\u0431\u043e <strong>Duplicity<\/strong>. \u042f\u043a\u0449\u043e \u0443 \u0432\u0430\u0441 \u0454 \u0431\u0443\u0434\u044c-\u044f\u043a\u0456 \u043f\u0438\u0442\u0430\u043d\u043d\u044f \u0430\u0431\u043e \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u0456, \u043d\u0435 \u0441\u043e\u0440\u043e\u043c\u0442\u0435\u0441\u044f \u0437\u0430\u043b\u0438\u0448\u0430\u0442\u0438 \u0457\u0445 \u0443\u043d\u0438\u0437\u0443.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0423 \u0446\u0456\u0439 \u0441\u0442\u0430\u0442\u0442\u0456 \u043c\u0438 \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0435\u043c\u043e, \u044f\u043a \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f \u043d\u0430 Ubuntu \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0434\u0432\u043e\u0445 \u0456\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0456\u0432 \u2013 Bacula \u0442\u0430 Duplicity. \u041e\u0431\u0438\u0434\u0432\u0430 \u0456\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0438 \u043d\u0430\u0434\u0430\u044e\u0442\u044c \u043f\u043e\u0442\u0443\u0436\u043d\u0456 \u043c\u043e\u0436\u043b\u0438\u0432\u043e\u0441\u0442\u0456&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1889,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[50],"tags":[],"class_list":["post-1455","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-50"],"_links":{"self":[{"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/posts\/1455","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/comments?post=1455"}],"version-history":[{"count":3,"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/posts\/1455\/revisions"}],"predecessor-version":[{"id":1725,"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/posts\/1455\/revisions\/1725"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/media\/1889"}],"wp:attachment":[{"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/media?parent=1455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/categories?post=1455"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/tags?post=1455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}