Skip to main content

restorething is a tool for restoring files from a syncthing verisoning directory. Supply restorething the path to the syncthing versioning directory and a date, it will index the available files in the versioning directory and restore based on the date supplied.

Restore Modes

restorething will restore files using the following modes

  • Nearest file before a specific date/time

  • Nearest file after a specific date/time

  • Nearest file before/after a specific date/time

restorething has filtering options

  • Filter files with specific string

  • Filter dir with specific string

Installation

restorething from source

$ python setup.py sdist
$ pip install dist\restorething-x.x.x.tar.gz

restorething from PyPI

$ pip install restorething

Usage

In all of the following cases, if no hour is supplied the default time value is set to 23:59:59.

Restore closest file before 6am 15th August 2016, if no file is found restorething will look for the closet file after 6am 15th August 2016.

$ python -m restorething 20160815 -vd sync/.stversions -hr 6

Restore closest file after 6am 15th August 2016, if no file is found, no file will be restored.

$ python -m restorething 20160815 -vd sync/.stversions -hr 6 -a

Restore closest file before 6am 15th August 2016, if no file is found, no file will be restored.

$ python -m restorething 20160815 -vd sync/.stversions -hr 6 -b

Restore closest file no more than 10 hours before 6am 15th August 2016, if no file is found restorething will look for the closet file no more than 10 hours after 6am 15th August 2016.

$ python -m restorething 20160815 -vd sync/.stversions -hr 6 -pm 10

Metadata

Release files for restorething 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for restorething 0.1.0
File Size Uploaded
restorething-0.1.0.tar.gz 14.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for restorething 0.1.0
File Interpreter ABI Platform
restorething-0.1.0-py2.7.egg Legacy Egg format - - Details

Total release size: 45.5 kB

Release files / restorething-0.1.0.tar.gz

Download URL restorething-0.1.0.tar.gz
Size 14.1 kB
Tags Source
SHA-256 checksum
How to use checksums
324601aabdaec29f5dda2e1a203b549f961d40fbbdafa7f56d0075f30095093d
BLAKE2b-256 checksum
How to use checksums
2434450a8ded52b57bb195a25ad200b7a71ced0007b73621460872553b39d7b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / restorething-0.1.0-py2.7.egg

Download URL restorething-0.1.0-py2.7.egg
Size 31.3 kB
Tags Egg
SHA-256 checksum
How to use checksums
640f293afb0cc48c4bfe2d38ff8aa071573f457e53487a056d7039dce567ff93
BLAKE2b-256 checksum
How to use checksums
e0bdb9b1cb726f799907d25681b6bbcb3e69f3cdffa32fc2b77647ab2e1a80aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.2.4

1 release file

0.2.3

2 release files

0.2.1

2 release files

0.2.0

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page