Skip to main content

Drivnal: Simple snapshot backups

https://pypip.in/v/drivnal/badge.png https://pypip.in/d/drivnal/badge.png

Drivnal is a backup utility created using rsync with a web interface to manage volumes, snapshots and restore files. Similar to Time Machine all snapshots store only the changed files from the previous snapshot and hard links are created for unchanged files. Unchanged files are never stored more then once on the snapshot volume. All snapshots are independent of the other snapshots and previous snapshots are not required to restore files from a snapshot. For more information on how this works read the hard links wiki page.

Development

A python script server.py is included in the root directory to run the server from the root dir. The server will use the unbuilt web files, modification to the server will be automatically reloaded. Vagrant can also be used to safely develop in a virtualized environment, testing the webapp with vagrant will not modify the host system. When developing with vagrant the root directory will automatically sync to the guest system at /vagrant and the port 6500 will be forwarded to allow access to the webapp on host system. The vagrant setup will also setup collectd to monitor performance of guest system. Vagrant stress vm is used for stress testing performance with eight backup volumes.

Development Setup

$ git clone https://github.com/drivnal/drivnal.git
$ cd drivnal
$ python2 server.py
# Open http://localhost:6500/

Vagrant Setup

$ git clone https://github.com/drivnal/drivnal.git
$ cd drivnal
$ vagrant up testing
$ vagrant ssh testing
$ sudo drivnal
# Open http://localhost:6500/
# Open http://localhost:8080/collectd

JavaScript Development

To build the webapp the node package manager is required. First install the required node modules then run the available build commands.

$ cd www
$ npm install
# Run jshint and build production dist
$ grunt
# Run jshint and build production dist with source maps
$ grunt testing
# Run jshint and build demo dist
$ grunt demo
# Run jshint
$ grunt lint
# Update javascript plugins
$ grunt update

Metadata

Release files for drivnal 0.10.1

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

Source distribution (sdist)

Source distribution for drivnal 0.10.1
File Size Uploaded Provenance Actions
drivnal-0.10.1.tar.gz 3.5 MB Without provenance Details for drivnal-0.10.1.tar.gz

Release files / drivnal-0.10.1.tar.gz

Download URL drivnal-0.10.1.tar.gz
Size 3.5 MB
Tags Source
SHA-256 checksum
How to use checksums
4fb5d1b6cc6e37b7127eab4fdbc1b45b0a3cdb0af0d457a1e1a192297d3a6c33
BLAKE2b-256 checksum
How to use checksums
75bd51f280bc23563e07c7995c5a7ee02eb68bf16dad4f03bb690022095da93b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for drivnal 0.10.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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