Skip to main content

Script to create local backups from Lastpass

Project description

Lastpass Backup

Build Status Documentation Status

Easily backup data from lastpass to your own storage.


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.


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()

# 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for lp-backup, version 0.1.11
Filename, size File type Python version Upload date Hashes
Filename, size lp_backup-0.1.11-py3-none-any.whl (14.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size lp_backup-0.1.11.tar.gz (6.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page