rickh94 / lp_backup

Simple script for (relatively) secure local backup of lastpass vault

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lastpass Backup

Build Status Documentation Status

Easily backup data from lastpass to your own storage.

Installation

You first need to install the lastpass commandline tool for your platform. It is used internally for accessing the lastpass api.

$ pip install lp_backup

Install fs.webdavfs for webdav support.

Usage

from lp_backup import Runner

# create backup runner
example_backup_runner = Runner("/home/YOUR_USER/.config/lp_backup.yml")
# run backup
backup_file_name = example_backup_runner.backup()
print(backup_file_name)

# restore backup to /tmp/example-full-restore.csv (which is PLAIN TEXT, be sure to delete after use)
backup_file_name.restore(backup_file_name, "/tmp/test-full-restore.csv")

About

Simple script for (relatively) secure local backup of lastpass vault

License:MIT License


Languages

Language:Python 100.0%