1
0
Fork
You've already forked backup_remarkable
0
Script to backup the files, documents, templates, and status images from the reMarkable2 tablet
Python 100%
2025年04月26日 11:27:14 +02:00
backup_remarkable.py Don't break on collections 2025年04月26日 11:27:14 +02:00
README.md Document some more and remove the cleanup script 2025年03月22日 12:36:23 +01:00

Backup Remarkable

Just a set of tiny script for creating a backup of all notebooks and documents from your reMarkable 2 tablet.

Requirements

  • The reMarkable 2 must be accessible through ssh
  • For the document backup the USB web interface must be enabled
  • paramiko must be installed (pip install paramiko)

Installation

Not needed, just run backup_remarkable.py for the backup.

Usage

The general idea is that the backup_remarkable.py uses SFTP (ssh file transfer) to create a local copy of your notebooks and documents on the rM2. All documents and notebooks will also be downloaded as PDFs from the web interface.

Everything is documented with backup_remarkable.py --help, but here is the main use-case:

Just backup everything

backup_remarkable.py -p ask .

This will create a folder like 2022-31-12_remarkable (with the current date) in the current folder and create a full copy of everything.

-p ask means that the script will ask you for the SSH password of root.

You can use -k and point to your SSH key, if you have key-based SSH set up.

Background

In earlier versions a cleanup_remarkable.sh script and a --deleted option for the backup script were provided, because deleted files used to hang around forever on the rM2.

The newer software versions of the rM2 actually delete files after they are removed from the Trash, so the cleanup script and the extra flag are no longer required.

License

MIT.