[GAS]Googleドライブ上のファイルを定期的に自動バックアップする: 逆引きGoogle Apps Script 2015 年 5 月 2 日 土曜日 DocsListは廃止されており、このページに記載されているコードは動作しません。AKIOKNG様より代替コードをコメント頂いておりますので、そちらをご参照下さい。 Time-driven(cronのようなもの)により、毎日指定した時間に、Googleドライブ上の指定したファイルを複製するサンプルスクリプト。 function backup() { // ファイルコピー var file = DocsList.getFileById('xxxxxxx'); var fileCopied = file.makeCopy( file.getName()+'-'+Utilities.formatDate(new Date(), 'JST',