Script to create local backups from Lastpass
Project description
Lastpass Backup
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.
Then clone the repo and run python3 setup.py install
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")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lp_backup-0.1.4.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for lp_backup-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | abe531f5bb9c36995b0f4f7b17124e8fee4a9db8380350969561fd7f0ac58e30 |
|
MD5 | 4272bb1b7c72e9ff336f42c91ffdede5 |
|
BLAKE2b-256 | 022b9f761785ca05bd058553488df412c5c30bd63bb1bab6f8d1e3809c40c570 |