0.2.2 • Published 1 year ago

gmail-backup v0.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

gmail-backup

oclif Version Docker Image Version (latest semver) License

Tool for backing up all your gmail messages

It's available as helm chart with cronjob ready to use as truenas scale app in ugly-charts catalog

Configuration

Env variableDescriptionDefault value
SECRETS_PATHPath to store sensitive credentials~/.gmail-backup/secrets
SNAPSHOTS_PATHPath to store all messages~/.gmail-backup/snapshots

Setup oauth credentials

  1. Create project and OAuth 2.0 Client ID for Desktop client at https://console.cloud.google.com/apis/credentials. Use download JSON button, then save file in secrets directory as client_secret.json
  2. Enable gmail api at https://console.cloud.google.com/apis/library/gmail.googleapis.com
  3. Use gmail-backup oauth to connect gmail-backup with your google account

Usage

$ npm install -g gmail-backup
$ gmail-backup COMMAND
running command...
$ gmail-backup (--version)
gmail-backup/0.2.1 linux-x64 node-v18.9.0
$ gmail-backup --help [COMMAND]
USAGE
  $ gmail-backup COMMAND
...

Commands

gmail-backup help [COMMAND]

Display help for gmail-backup.

USAGE
  $ gmail-backup help [COMMAND] [-n]

ARGUMENTS
  COMMAND  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for gmail-backup.

See code: @oclif/plugin-help

gmail-backup oauth

Setup your google account with oauth. It supports multiple accounts.

USAGE
  $ gmail-backup oauth

DESCRIPTION
  Setup your google account with oauth. It supports multiple accounts.

See code: src/commands/oauth/index.ts

gmail-backup snapshot create

Creates new incremental snapshot in configured directory. It's meant to be run periodically (for example with cron).

USAGE
  $ gmail-backup snapshot create

DESCRIPTION
  Creates new incremental snapshot in configured directory. It's meant to be run periodically (for example with cron).
0.2.2

1 year ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.0

2 years ago