<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Backup on tanaike - Google Apps Script, Gemini API, and Developer Tips</title>
    <link>https://tanaikech.github.io/tags/backup/</link>
    <description>Recent content in Backup on tanaike - Google Apps Script, Gemini API, and Developer Tips</description>
    <generator>Hugo</generator>
    <language>ja</language>
    <copyright>&amp;copy; 2026. All rights reserved.</copyright>
    <lastBuildDate>Tue, 17 Dec 2019 11:40:27 +0900</lastBuildDate>
    <atom:link href="https://tanaikech.github.io/tags/backup/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Updated: GAS Library - GmailToList</title>
      <link>https://tanaikech.github.io/2019/12/17/updated-gas-library-gmailtolist/</link>
      <pubDate>Tue, 17 Dec 2019 11:40:27 +0900</pubDate>
      <guid>https://tanaikech.github.io/2019/12/17/updated-gas-library-gmailtolist/</guid>
      <description>&lt;h2 id=&#34;gmailtolist-was-updated-to-v101&#34;&gt;&lt;a href=&#34;https://github.com/tanaikech/GmailToList&#34;&gt;GmailToList&lt;/a&gt; was updated to v1.0.1.&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;v1.0.1 (December 17, 2019)&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/tanaikech/GmailToList#3-method-getattachmentfiles&#34;&gt;New method of &lt;code&gt;getAttachmentFiles()&lt;/code&gt;&lt;/a&gt; was added. The attachment files can be retrieved as blob using this method.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;You can see the detail information here &lt;a href=&#34;https://github.com/tanaikech/GmailToList&#34;&gt;https://github.com/tanaikech/GmailToList&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>GAS Library - GmailToList</title>
      <link>https://tanaikech.github.io/2019/12/16/gas-library-gmailtolist/</link>
      <pubDate>Mon, 16 Dec 2019 16:00:19 +0900</pubDate>
      <guid>https://tanaikech.github.io/2019/12/16/gas-library-gmailtolist/</guid>
      <description>&lt;h2 id=&#34;overview&#34;&gt;Overview&lt;/h2&gt;&#xA;&lt;p&gt;&lt;strong&gt;This is a library for exporting all messages of Gmail as a list using Google Apps Script (GAS).&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;description&#34;&gt;Description&lt;/h2&gt;&#xA;&lt;p&gt;Recently, I have had a situation it had been required to backup all messages in own Gmail. In order to achieve this, I created a simple script. After I created it, I thought that when such situation might occur for other users and the script is published as a library, they might be useful. So I created this library. But I created this for my situation. So if this cannot be used for your environment and an error occurs, I apologize.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Backup Project as zip File using Google Apps Script</title>
      <link>https://tanaikech.github.io/2019/05/06/backup-project-as-zip-file-using-google-apps-script/</link>
      <pubDate>Mon, 06 May 2019 13:23:46 +0900</pubDate>
      <guid>https://tanaikech.github.io/2019/05/06/backup-project-as-zip-file-using-google-apps-script/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://gist.github.com/tanaikech/035aa9f6603e7a8698c1cc67ab43e132&#34;&gt;Gists&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;This is a sample script for backing up a project as a zip file. When you use this script, please install &lt;a href=&#34;https://github.com/tanaikech/ProjectApp2&#34;&gt;a GAS library of ProjectApp2&lt;/a&gt;. You can back up both the standalone script type and the container-bound script type.&lt;/p&gt;&#xA;&lt;p&gt;In this script, the blob of zip file can be retrieved from ProjectApp2. So you can also send it as email without creating a file.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-javascript&#34; data-lang=&#34;javascript&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;var&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;projectId&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;### fileId of project ###&amp;#34;&lt;/span&gt;;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;var&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;blob&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;ProjectApp2&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;getProjectBlob&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;projectId&lt;/span&gt;, &lt;span style=&#34;color:#66d9ef&#34;&gt;true&lt;/span&gt;);&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;DriveApp&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;createFile&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;blob&lt;/span&gt;[&lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;].&lt;span style=&#34;color:#a6e22e&#34;&gt;setName&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;backupProject.zip&amp;#34;&lt;/span&gt;));&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;testing&#34;&gt;Testing:&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;July 2, 2020: I could confirm that the script worked. So in the current stage, it seems that the specification is not changed.&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
  </channel>
</rss>
