{"id":182712,"date":"2013-06-10T16:31:08","date_gmt":"2013-06-10T12:31:08","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=182712"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=182712","title":{"rendered":"<span class=\"post_title\">\u0421\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 Google Reader<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u0427\u0435\u043c \u0431\u043b\u0438\u0436\u0435 \u0434\u0430\u0442\u0430 \u0437\u0430\u043a\u0440\u044b\u0442\u0438\u044f Google Reader \u0442\u0435\u043c \u0431\u043e\u043b\u0435\u0435 \u043d\u0430\u0441\u0443\u0449\u043d\u044b\u043c \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0432\u043e\u043f\u0440\u043e\u0441 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0430 \u043f\u043e\u0434\u043f\u0438\u0441\u043e\u043a \u0432 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441, \u043d\u043e \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0432\u0441\u0435\u0445 \u0442\u0435\u043a\u0443\u0449\u0438\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439.<\/p>\n<p>  \u041d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u043d\u0430 \u0445\u0430\u0431\u0440\u0435(<a href=\"http:\/\/habrahabr.ru\/post\/181420\/\">\u0437\u0434\u0435\u0441\u044c<\/a> \u0438 <a href=\"http:\/\/habrahabr.ru\/post\/180111\/\">\u0437\u0434\u0435\u0441\u044c<\/a>), \u043d\u0435 \u043f\u043e\u0434\u043e\u0448\u043b\u0438 \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u043f\u043e \u0434\u0432\u0443\u043c \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c: \u043d\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0432 \u0411\u0414 \u0438 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u0430\u044f \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b. \u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434 \u2014 <a href=\"https:\/\/github.com\/wistful\/grbackup\">grbackup<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439  <\/p>\n<pre><code class=\"bash\">grbackup -e fake@gmail.com -p password -ba -o mongodb:\/\/localhost:27017 -w 20 <\/code><\/pre>\n<p>   \u0437\u0430 <b>20<\/b> \u043c\u0438\u043d\u0443\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b <b>328250<\/b> \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0438\u0437 <b>102<\/b> \u043f\u043e\u0434\u043f\u0438\u0441\u043e\u043a \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u0411\u0414 MongoDB. <\/p>\n<p>  \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438:  <\/p>\n<ul>\n<li>\u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0432\u0441\u0435\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 Google Reader API<\/li>\n<li>\u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430<\/li>\n<li>\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0444\u043e\u0440\u043c\u0430\u0442\u0430 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u043e\u0433\u043e \u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u043e\u0442\u0434\u0430\u0435\u0442 Google Reader \u0447\u0435\u0440\u0435\u0437 API<\/li>\n<li>\u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435\/\u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0437\u0430\u043f\u0438\u0441\u0435\u0439<\/li>\n<li>\u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u043c\u043e\u0441\u0442\u044c: \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u0432\u0438\u0434 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430<\/li>\n<\/ul>\n<p>  \u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0432\u0438\u0434\u044b \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0442\u0441\u044f \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f\u043c\u0438(\u043f\u043b\u0430\u0433\u0438\u043d\u0430\u043c\u0438) \u0438 \u0437\u0430\u0434\u0430\u044e\u0442\u0441\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043e\u043f\u0446\u0438\u0438 (<i>-o, &#8212;output<\/i>) \u0432\u0438\u0434\u0430 <i>type:uri<\/i>.<br \/>  \u041d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f:  <\/p>\n<ul>\n<li><b>simple<\/b>: \u0432\u044b\u0432\u043e\u0434 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b (\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430)<\/li>\n<li><b>json<\/b>: \u0437\u0430\u043f\u0438\u0441\u044c \u0432 json-\u0444\u0430\u0439\u043b (<i>json:\/path\/to\/file.json<\/i>)<\/li>\n<li><b>mongodb<\/b>: \u0437\u0430\u043f\u0438\u0441\u044c \u0432 MongoDB (<i>mongodb:\/\/[username:password@]hostN[:portN]]][\/[db][?opts]]<\/i>)<\/li>\n<li><b>redis<\/b>: \u0437\u0430\u043f\u0438\u0441\u044c \u0432 Redis (<i>redis:\/\/username:password@host[:port]\/dbindex<\/i>)<\/li>\n<\/ul>\n<p>  \u0420\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u0430 \u043d\u0430 Ubuntu(64) \u0438 Win7(64).<br \/>  \u041a\u043d\u0438\u0433\u0443 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0438 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0439 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 <a href=\"https:\/\/github.com\/wistful\/grbackup\/issues\">\u0437\u0434\u0435\u0441\u044c<\/a>.<br \/>  \u041d\u0438\u0436\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0443\u0442\u0438\u043b\u0438\u0442\u044b.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h5>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430<\/h5>\n<p>  <\/p>\n<pre><code class=\"bash\">pip install grbackup <\/code><\/pre>\n<p>  \u0438\u043b\u0438   <\/p>\n<pre><code class=\"bash\">easy_install grbackup <\/code><\/pre>\n<p>  \u0438\u043b\u0438  <\/p>\n<pre><code class=\"bash\">pip install git+git:\/\/github.com\/wistful\/grbackup.git <\/code><\/pre>\n<p>  <\/p>\n<h5>\u041e\u043f\u0446\u0438\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438<\/h5>\n<p>  \u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f  <\/p>\n<ul>\n<li><i>-e, &#8212;email<\/i>: \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0439 \u0434\u043b\u044f \u0432\u0445\u043e\u0434\u0430 \u0432 Google Reader<\/li>\n<li><i>-p, &#8212;password<\/i>: \u043f\u0430\u0440\u043e\u043b\u044c<\/li>\n<\/ul>\n<p>  <a href=\"https:\/\/github.com\/wistful\/grbackup\">grbackup<\/a> \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0434\u0432\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f:   <\/p>\n<ul>\n<li><b>\u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440<\/b>:<i>-l, &#8212;list<\/i> <\/li>\n<li><b>\u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435<\/b>: <i>-b, &#8212;backup<\/i><\/li>\n<\/ul>\n<p>  \u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043d\u0430\u0434 \u043e\u0434\u043d\u0438\u043c \u0438\u0437 \u0447\u0435\u0442\u044b\u0440\u0435\u0445 \u0442\u0438\u043f\u043e\u0432 \u0434\u0430\u043d\u043d\u044b\u0445:   <\/p>\n<ul>\n<li><b>\u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438<\/b>; <i>-s, &#8212;subscriptions<\/i><\/li>\n<li><b>\u0437\u0430\u043f\u0438\u0441\u0438<\/b>: <i>-t, &#8212;topics<\/i><\/li>\n<li><b>\u043e\u0442\u043c\u0435\u0447\u0435\u043d\u043d\u044b\u0435 \u0437\u0430\u043f\u0438\u0441\u0438<\/b>:<i> -x, &#8212;starred<\/i><\/li>\n<li><b>\u0432\u0441\u0435 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 \u0432\u043c\u0435\u0441\u0442\u0435 \u0432\u0437\u044f\u0442\u044b\u0435<\/b>:<i> -a, &#8212;all<\/i><\/li>\n<\/ul>\n<p>  \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043e\u043f\u0446\u0438\u0438:  <\/p>\n<ul>\n<li><i>-w, &#8212;workers<\/i>: \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c\u044b\u0445 \u043f\u043e\u0434\u043f\u0438\u0441\u043e\u043a (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 1)<\/li>\n<li><i>-o, &#8212;output<\/i>: URI \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0434\u0430 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u0438<\/li>\n<li><i>-n, &#8212;count<\/i>: \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c\u044b\u0445 \u043e\u0442 Google Reader \u0437\u0430 \u043e\u0434\u0438\u043d \u0437\u0430\u043f\u0440\u043e\u0441 (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 200). \u0421\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044e \u0434\u0430\u043d\u043d\u044b\u0445 \u0431\u043e\u043b\u0435\u0435 \u043c\u0435\u043b\u043a\u0438\u043c\u0438 \u043f\u043e\u0440\u0446\u0438\u044f\u043c\u0438 (\u043e\u0445 \u0443\u0436 \u044d\u0442\u043e\u0442 google).<\/li>\n<\/ul>\n<p>  \u0412\u0441\u0435 \u043e\u043f\u0446\u0438\u0438, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043e\u043f\u0446\u0438\u044e <i>-h, &#8212;help<\/i>:  <\/p>\n<pre><code class=\"bash\">grbackup -h <\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0432\u044b\u0432\u043e\u0434 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">Usage: grbackup [options] [args]  Examples:     list subscriptions: grbackup -e email@gmail.com -p password -ls    list topics: grbackup -e email@gmail.com -p password -lt http:\/\/feed.com    list starred: grbackup -e email@gmail.com -p password -lx    list all items: grbackup -e email@gmail.com -p password -la     backup subscriptions: grbackup -e email@gmail.com -p password -bs -o json:\/tmp\/subscriptions.json    backup topics: grbackup -e email@gmail.com -p password -bt http:\/\/myfeed.com -o json:\/tmp\/myfeed.json    backup starred into MongoDB: grbackup -e email@gmail.com -p password -bx -o mongodb:\/\/localhost:27017    backup all items into Redis: grbackup -e email@gmail.com -p password -ba -o redis:\/\/localhost:6379\/3  Available plugins:    mongodb:  save items into MongoDB             output scheme:   mongodb:\/\/[username:password@]hostN[:portN]]][\/[db][?opts]]             output examples: mongodb:\/\/localhost:27017                              mongodb:\/\/user:pwd@localhost,localhost:27018\/?replicaSet=grbackup                json:     save items into file             output scheme:   json:\/path\/to\/file.json             output examples: json:\/home\/grbackup\/grbackup.json                              json:\/tmp\/grbackup\/grbackup.json                redis:    save items into Redis             output scheme:   redis:\/\/username:password@host[:port]\/dbindex             output examples: redis:\/\/localhost:6379\/3                              redis:\/\/user:password@localhost:6379\/0               Options:   Auth Options:     -e EMAIL, --email=EMAIL                         gmail account     -p PWD, --password=PWD                         account password    Command Options:     -b, --backup        backup items     -l, --list          list items    Scope Options:     -a, --all           processing all items     -s, --subscriptions                         processing subscriptions only     -t, --topics        processing topics only     -x, --starred       processing starred topics only    MongoDB Options:     --mongodb-db=MONGODB_DB                         the name of the database[default: greader]     --mongodb-scol=MONGODB_SUBSCRIPTIONS                         collection name for subscriptions[default:                         subscriptions]     --mongodb-tcol=MONGODB_TOPICS                         collection name for topics[default: topics]     --mongodb-tstar=MONGODB_STARRED                         collection name for starred items[default: starred]     --mongodb-w=MONGODB_W                         &lt;int&gt; Write operations will block until they have been                         replicated to the specified number [default: 1]     --mongodb-j         block until write operations have been committed to                         the journal [default: False]    Redis Options:     --redis-scol-prefix=REDIS_SUBS                         subscriptions key prefix[default: subscription]     --redis-tcol-prefix=REDIS_TOPICS                         topics key prefix[default: topic]     --redis-xcol-prefix=REDIS_STARRED                         starred key prefix[default: starred]    Other Options:     -w WORKERS, --workers=WORKERS                         number of workers [default: 1]     -o OUTPUT, --output=OUTPUT                         output uri     -n COUNT, --count=COUNT                         the number of topics that can be read at once                         [default: 200]     -c CODING, --coding=CODING                         output coding [default: utf8]     -v, --verbose       verbose output     -h, --help   <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<h5>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435<\/h5>\n<p>  \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0434\u043f\u0438\u0441\u043e\u043a: <\/p>\n<pre><code class=\"bash\">grbackup -e email@gmail.com -p password -ls <\/code><\/pre>\n<p>  \u0441\u043f\u0438\u0441\u043e\u043a \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438:<\/p>\n<pre><code class=\"bash\"> grbackup -e email@gmail.com -p password -lt http:\/\/habrahabr.ru\/rss\/hub\/python\/ <\/code><\/pre>\n<p>  \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u043d\u044b\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439: <\/p>\n<pre><code class=\"bash\">grbackup -e email@gmail.com -p password -lx <\/code><\/pre>\n<p>  \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439: <\/p>\n<pre><code class=\"bash\">grbackup -e email@gmail.com -p password -la <\/code><\/pre>\n<p>  \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u043e\u043a \u0432 json-\u0444\u0430\u0439\u043b:<\/p>\n<pre><code class=\"bash\"> grbackup -e email@gmail.com -p password -bs -o json:\/tmp\/subscriptions.json <\/code><\/pre>\n<p>  \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0432\u0441\u0435\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438 \u0432 json-\u0444\u0430\u0439\u043b: <\/p>\n<pre><code class=\"bash\">grbackup -e email@gmail.com -p password -bt http:\/\/habrahabr.ru\/rss\/hub\/python\/ -o json:\/tmp\/python.json <\/code><\/pre>\n<p>  \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0432\u0441\u0435\u0445 \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u043d\u044b\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0432 MongoDB: <\/p>\n<pre><code class=\"bash\">grbackup -e email@gmail.com -p password -bx -o mongodb:\/\/localhost:27017 <\/code><\/pre>\n<p>  \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0432\u0441\u0435\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0432 Redis \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c 20 \u043f\u043e\u0442\u043e\u043a\u043e\u0432: <\/p>\n<pre><code class=\"bash\">grbackup -e email@gmail.com -p password -ba -o redis:\/\/localhost:6379\/3 -w 20 <\/code><\/pre>\n<p>  <\/p>\n<h5>\u041f\u043b\u0430\u0433\u0438\u043d\u044b<\/h5>\n<p>  <\/p>\n<h6>JSON<\/h6>\n<p>  \u041e\u0431\u0449\u0438\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 URI: <i>json:\/path\/to\/file.json<\/i><br \/>  \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0438: \u0434\u0430<br \/>  \u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f:  <\/p>\n<pre><code class=\"bash\">grbackup -e email@gmail.com -p password -ba -o json:\/home\/grbackup\/grbackup.json <\/code><\/pre>\n<p>  \u0417\u0430\u043f\u0438\u0441\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044e\u0442\u0441\u044f \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0432 \u0432\u0438\u0434\u0435 \u0441\u043f\u0438\u0441\u043a\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.<br \/>  \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u0440\u0438 \u0442\u0438\u043f\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432:   <\/p>\n<ul>\n<li><b>\u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438<\/b>: <i>{\u00abtype\u00bb: \u00absubscription\u00bb, \u00abvalue\u00bb: subscription}<\/i><\/li>\n<li><b>\u043e\u0442\u043c\u0435\u0447\u0435\u043d\u043d\u044b\u0435 \u0437\u0430\u043f\u0438\u0441\u0438<\/b>: <i>{\u00abtype\u00bb: \u00abstarred\u00bb, \u00abvalue\u00bb: record}<\/i><\/li>\n<li><b>\u043e\u0431\u044b\u0447\u043d\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c<\/b>: <i>{\u00abtype\u00bb: \u00abtopic\u00bb, \u00absubscription\u00bb: subscription_url, \u00abvalue\u00bb: record}<\/i><\/li>\n<\/ul>\n<h6>MongoDB<\/h6>\n<p>  \u041e\u0431\u0449\u0438\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 URI: <i>mongodb:\/\/[username:password@]hostN[:portN]]][\/[db][?opts]]<\/i><br \/>  \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0438: \u0434\u0430<br \/>  \u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f:  <\/p>\n<pre><code class=\"bash\">grbackup -e email@gmail.com -p password -ba -o mongodb:\/\/localhost:27017 -w 20 <\/code><\/pre>\n<p>  \u0417\u0430\u043f\u0438\u0441\u0438 \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043f\u043e \u0442\u0440\u0435\u043c \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044f\u043c: <i>subscriptions<\/i>, <i>topics<\/i>, <i>starred<\/i>.<br \/>  \u0418\u043c\u0435\u043d\u0430 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0439 \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c.<\/p>\n<h6>Redis<\/h6>\n<p>  \u041e\u0431\u0449\u0438\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 URI:<i> redis:\/\/username:password@host[:port]\/dbindex<\/i><br \/>  \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0438: \u0434\u0430<br \/>  \u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f:  <\/p>\n<pre><code class=\"bash\">grbackup -e email@gmail.com -p password -ba -o redis:\/\/user:password@localhost:6379\/0 -w 20 <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u0438\u043f \u0434\u0430\u043d\u043d\u044b\u0445 <a href=\"http:\/\/redis.io\/topics\/data-types\">Hashes<\/a>.<br \/>  \u041a\u043b\u044e\u0447\u0438 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0442\u0440\u0435\u0445 \u0442\u0438\u043f\u043e\u0432: <i>\u00absubscription:record_id\u00bb<\/i>, <i>\u00abstarred:record_id\u00bb<\/i>, <i>\u00abtopic:record_id\u00bb<\/i>, \u0433\u0434\u0435 <i>record_id<\/i> \u2014 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0437\u0430\u043f\u0438\u0441\u0438.<br \/>  \u041f\u0440\u0435\u0444\u0438\u043a\u0441\u044b \u043a\u043b\u044e\u0447\u0435\u0439 \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c.<\/p>\n<h6>\u0421\u0432\u043e\u0439 \u043f\u043b\u0430\u0433\u0438\u043d<\/h6>\n<p>  \u041c\u043e\u0434\u0443\u043b\u044c \u0434\u043e\u043b\u0436\u0435\u043d \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u043f\u0430\u043a\u0435\u0442\u0435 grb_plugins, \u0438\u043c\u044f \u043c\u043e\u0434\u0443\u043b\u044f \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f.<br \/>  \u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043c\u043e\u0434\u0443\u043b\u044f:  <\/p>\n<ul>\n<li><b>plugin_type<\/b> \u2014 \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u0439 \u0442\u0438\u043f, \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0438\u043c\u044f \u043f\u043b\u0430\u0433\u0438\u043d\u0430<\/li>\n<li><b>support_threads<\/b> \u2014 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0442\u0438\u043f, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043f\u043e\u0442\u043e\u043a\u043e\u0432<\/li>\n<li><b>descriptions<\/b> \u2014 \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u0439 \u0442\u0438\u043f, \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u043b\u0430\u0433\u0438\u043d\u0430<\/li>\n<li><b>add_option_group<\/b> \u2014 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0449\u0430\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043e\u043f\u0446\u0438\u0438 \u043a\u043e\u043c\u0430\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438<\/li>\n<li><b>writer<\/b> \u2014 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0449\u0438\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 \u0441 \u043c\u0435\u0442\u043e\u0434\u0430\u043c\u0438:<br \/> \n<ul>\n<li><i>put_subscription(subscription)<\/i> \u2014 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438, <i>subscription<\/i> \u2014 \u0441\u043b\u043e\u0432\u0430\u0440\u044c<\/li>\n<li><i>put_starred(topic) <\/i> \u2014 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438, <i>topic<\/i> \u2014 \u0441\u043b\u043e\u0432\u0430\u0440\u044c<\/li>\n<li><i>put_topic(self, subscription_url, topic)<\/i> \u2014 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u0437\u0430\u043f\u0438\u0441\u0438 (\u043e\u043f\u0446\u0438\u044f <i>&#8216;-t&#8217;, &#8216;&#8212;topics<\/i>&#8216;), <br \/>   <i>topic<\/i> \u2014 \u0441\u043b\u043e\u0432\u0430\u0440\u044c, <i>subscription_url<\/i> \u2014 \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438<\/li>\n<li><i>put_all(subscription, topic)<\/i> \u2014 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u0437\u0430\u043f\u0438\u0441\u0438 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043e\u043f\u0446\u0438\u0438 <i>&#8216;-a&#8217;, &#8216;&#8212;all&#8217;<\/i>,<br \/>   subscription \u0438 topic \u2014 \u0441\u043b\u043e\u0432\u0430\u0440\u0438<\/li>\n<\/ul>\n<p>   <\/li>\n<\/ul>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u043b\u0430\u0433\u0438\u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0435\u0433\u043e logging \u0434\u043b\u044f \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0432 \u0444\u0430\u0439\u043b<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"python\">#!\/usr\/bin\/env python # coding=utf-8 from optparse import OptionGroup import logging  plugin_type = &quot;myplugin&quot; support_threads = True description = &quot;&quot;&quot;save items using logging output scheme:   myplugin:\/path\/to\/logfile.log output examples: myplugin:\/tmp\/storage.log &quot;&quot;&quot;  def add_option_group(parser):     # Plugin Options     myplugin_group = OptionGroup(parser, &quot;myplugin Options&quot;)     myplugin_group.add_option(&quot;--myplugin-format&quot;,                               dest=&quot;format&quot;,                               type=&quot;str&quot;,                               default=&quot;%(asctime)s %(message)s&quot;,                               help=&quot;record format&quot;                               &quot;[default: %default]&quot;)     myplugin_group.add_option(&quot;--myplugin-datefmt&quot;,                               dest=&quot;datefmt&quot;,                               type=&quot;str&quot;,                               default=&quot;%m\/%d\/%Y %I:%M:%S %p&quot;,                               help=&quot;date format&quot;                               &quot;[default: %default]&quot;)     parser.add_option_group(myplugin_group)   class WriteMyPlugin(object):      def __init__(self, logger):         self.logger = logger      def put_subscription(self, subscription):         subscription_url = subscription['id'][5:]         self.logger.warning(&quot;write subscription: %s&quot;, subscription_url)      def put_all(self, subscription, topic):         subscription_url = subscription['id'][5:]         self.put_subscription(subscription)         self.put_topic(subscription_url, topic)      def put_starred(self, topic):         self.logger.warning(&quot;write starred: %s&quot;, topic.get('title', ''))      def put_topic(self, subscription_url, topic):         self.logger.warning(&quot;write topic: %s %s&quot;,                             subscription_url,                             topic.get('title', ''))   class writer(object):      def __init__(self, opt):         path = opt.output[opt.output.index(&quot;:&quot;) + 1:]         self._logger = logging.getLogger(&quot;myplugin&quot;)         handler = logging.FileHandler(path)         handler.setFormatter(logging.Formatter(opt.format, opt.datefmt))         self._logger.addHandler(handler)      def __enter__(self):         return WriteMyPlugin(self._logger)      def __exit__(self, *exc_info):         pass  <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/182712\/\"> http:\/\/habrahabr.ru\/post\/182712\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u0427\u0435\u043c \u0431\u043b\u0438\u0436\u0435 \u0434\u0430\u0442\u0430 \u0437\u0430\u043a\u0440\u044b\u0442\u0438\u044f Google Reader \u0442\u0435\u043c \u0431\u043e\u043b\u0435\u0435 \u043d\u0430\u0441\u0443\u0449\u043d\u044b\u043c \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0432\u043e\u043f\u0440\u043e\u0441 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0430 \u043f\u043e\u0434\u043f\u0438\u0441\u043e\u043a \u0432 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441, \u043d\u043e \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0432\u0441\u0435\u0445 \u0442\u0435\u043a\u0443\u0449\u0438\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439.<\/p>\n<p>  \u041d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u043d\u0430 \u0445\u0430\u0431\u0440\u0435(<a href=\"http:\/\/habrahabr.ru\/post\/181420\/\">\u0437\u0434\u0435\u0441\u044c<\/a> \u0438 <a href=\"http:\/\/habrahabr.ru\/post\/180111\/\">\u0437\u0434\u0435\u0441\u044c<\/a>), \u043d\u0435 \u043f\u043e\u0434\u043e\u0448\u043b\u0438 \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u043f\u043e \u0434\u0432\u0443\u043c \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c: \u043d\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0432 \u0411\u0414 \u0438 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u0430\u044f \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b. \u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434 \u2014 <a href=\"https:\/\/github.com\/wistful\/grbackup\">grbackup<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439  <\/p>\n<pre><code class=\"bash\">grbackup -e fake@gmail.com -p password -ba -o mongodb:\/\/localhost:27017 -w 20 <\/code><\/pre>\n<p>   \u0437\u0430 <b>20<\/b> \u043c\u0438\u043d\u0443\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b <b>328250<\/b> \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0438\u0437 <b>102<\/b> \u043f\u043e\u0434\u043f\u0438\u0441\u043e\u043a \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u0411\u0414 MongoDB. <\/p>\n<p>  \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438:  <\/p>\n<ul>\n<li>\u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0432\u0441\u0435\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 Google Reader API<\/li>\n<li>\u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430<\/li>\n<li>\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0444\u043e\u0440\u043c\u0430\u0442\u0430 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u043e\u0433\u043e \u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u043e\u0442\u0434\u0430\u0435\u0442 Google Reader \u0447\u0435\u0440\u0435\u0437 API<\/li>\n<li>\u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435\/\u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0437\u0430\u043f\u0438\u0441\u0435\u0439<\/li>\n<li>\u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u043c\u043e\u0441\u0442\u044c: \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u0432\u0438\u0434 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430<\/li>\n<\/ul>\n<p>  \u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0432\u0438\u0434\u044b \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0442\u0441\u044f \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f\u043c\u0438(\u043f\u043b\u0430\u0433\u0438\u043d\u0430\u043c\u0438) \u0438 \u0437\u0430\u0434\u0430\u044e\u0442\u0441\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043e\u043f\u0446\u0438\u0438 (<i>-o, &#8212;output<\/i>) \u0432\u0438\u0434\u0430 <i>type:uri<\/i>.<br \/>  \u041d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f:  <\/p>\n<ul>\n<li><b>simple<\/b>: \u0432\u044b\u0432\u043e\u0434 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b (\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430)<\/li>\n<li><b>json<\/b>: \u0437\u0430\u043f\u0438\u0441\u044c \u0432 json-\u0444\u0430\u0439\u043b (<i>json:\/path\/to\/file.json<\/i>)<\/li>\n<li><b>mongodb<\/b>: \u0437\u0430\u043f\u0438\u0441\u044c \u0432 MongoDB (<i>mongodb:\/\/[username:password@]hostN[:portN]]][\/[db][?opts]]<\/i>)<\/li>\n<li><b>redis<\/b>: \u0437\u0430\u043f\u0438\u0441\u044c \u0432 Redis (<i>redis:\/\/username:password@host[:port]\/dbindex<\/i>)<\/li>\n<\/ul>\n<p>  \u0420\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u0430 \u043d\u0430 Ubuntu(64) \u0438 Win7(64).<br \/>  \u041a\u043d\u0438\u0433\u0443 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0438 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0439 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 <a href=\"https:\/\/github.com\/wistful\/grbackup\/issues\">\u0437\u0434\u0435\u0441\u044c<\/a>.<br \/>  \u041d\u0438\u0436\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0443\u0442\u0438\u043b\u0438\u0442\u044b.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-182712","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/182712","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=182712"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/182712\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=182712"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=182712"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=182712"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}