23
バックアッププラグイン Vault Docs のご紹介 yu-ji http://factage.com/yu-ji/ Twitter: @yujiod 1

バックアッププラグイン Vault Docs のご紹介

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: バックアッププラグイン Vault Docs のご紹介

バックアッププラグインVault Docs のご紹介

yu-jihttp://factage.com/yu-ji/Twitter: @yujiod

1

Page 2: バックアッププラグイン Vault Docs のご紹介

自己紹介

• yu-ji http://factage.com/yu-ji/ 

• WordPress プラグインを公開しています

• 他には WordPress Media Flickr, Wp-MixiPublisher など

• 昔 PukiWiki を作り公開していました

• 2001~2002年頃

• 普段はメディアの開発などに携わっているエンジニアです

2

Page 3: バックアッププラグイン Vault Docs のご紹介

Vault Docs ?

3

Page 4: バックアッププラグイン Vault Docs のご紹介

“Google Docs” に記事をバックアップします。

4

Page 5: バックアッププラグイン Vault Docs のご紹介

Vault Docs ?

• Google Docs に記事をバックアップ

• 記事保存時に自動的にドキュメントとして保存• 手動でバックアップをとる必要が無い• バックアップを復元は WordPress 管理画面

5

Page 6: バックアッププラグイン Vault Docs のご紹介

開発経緯

6

Page 7: バックアッププラグイン Vault Docs のご紹介

このLTのネタに一週間ほどで開発

7

Page 8: バックアッププラグイン Vault Docs のご紹介

背景

• 無くして分かるバックアップの大切さ• でも手動でバックアップは面倒• 復元が必要に... バックアップ何処?

オンラインストレージへの自動保存“ドキュメント”として扱うのはたぶん相性が良い

8

Page 9: バックアッププラグイン Vault Docs のご紹介

Vault Docs の仕組み

9

Page 10: バックアッププラグイン Vault Docs のご紹介

認証・認可の仕組み

Googleアカウント

AuthSub API による認証・認可

• イントラネット、ローカルホストでもOK

• Google Apps の Google Docs もOK

10

Page 11: バックアッププラグイン Vault Docs のご紹介

保存・復元の仕組み

Google Docs

Google Documents List Data API v3.0

• 記事保存時にバックグラウンドで送信するので保存時に待たされることは無い

11

Page 12: バックアッププラグイン Vault Docs のご紹介

画面イメージ

12

Page 13: バックアッププラグイン Vault Docs のご紹介

13

Googleアカウントの認証

Page 14: バックアッププラグイン Vault Docs のご紹介

14

Googleへログイン

Page 15: バックアッププラグイン Vault Docs のご紹介

15

Google Docs の認可

Page 16: バックアッププラグイン Vault Docs のご紹介

16

いつも通り記事を書く

Page 17: バックアッププラグイン Vault Docs のご紹介

17

Google Docs

Page 18: バックアッププラグイン Vault Docs のご紹介

18

バックアップしたい記事にチェック

過去記事のバックアップ

Page 19: バックアッププラグイン Vault Docs のご紹介

19

復元したい記事にチェック

バックアップの復元

Page 20: バックアッププラグイン Vault Docs のご紹介

課題

20

Page 21: バックアッププラグイン Vault Docs のご紹介

課題

• カテゴリのバックアップ・復元に未対応• タグのバックアップ・復元に未対応• 記事へ添付したファイルのバックアップ・復元に未対応

次のリリース以降で対応してまいります!

21

Page 22: バックアッププラグイン Vault Docs のご紹介

課題

• Google Docs の容量制限

• ひとつのドキュメントあたり500KB

• ドキュメント・プレゼンテーションあわせて5,000個

毎日記事書いても10年以上大丈夫だけど。。

この制限を超えそうだったらGMailへの保存も検討

22