1.34.0 • Published 2 years ago

usb-backup v1.34.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

usb-backup

Provides a solution to backup files that change infrequently such as (images/video/audio) from PC's and NAS devices to cheap and affordable usb drives for offline local or remote storage.

This is a port of a .net project i developed and have been using since 2010 that no longer runs on modern hardware.

npm version Node.js CI Join the chat at https://gitter.im/usb-backup/community

Getting started

Make sure you have node js version 16 or later installed. You get get it from here

https://nodejs.org/en/

There are two methods of running the application.

Latest Bundled Package (Simple method)

  • Create an empty directory for where to run and store your backup database eg (c:\usb-backup)

  • From that directory run npx usb-backup

Your database will be setup in a data sub folder and scripts will be created so you can run the application at any time from a shortcut.

Run from source (For the technically inclined)

The application will create the a data directory where the database will be stored.

Features

  • Backups are stored as plain copies of files that can be restored without the need of tools or software

  • USB storage is optimised by backing up only one copy of a files content (deduplication)

  • File hashes and metadata are stored in three locations source device, backup device, and application DB for redundancy

  • Backup files are hashed during copy instead of relying on the file hash on source or re hashing on backup device to ensure the we record an accurate file hash on the backup device

Known Limitations

  • Supporting unix allowed characters in file names that are not valid on windows when backing up linux filesystems on to windows formmated usb drives

  • Max file path lengths that exist in windows that dont on unix storage devices

  • Multiple files with the same hash will only be stored onec on backup devices. Which file path is stored on the usb drive is indeterminate

  • Two files with different hashes with the same path on different devices will force the second file to have a unique suffix added to ensure we backup both files

Troubleshooting

Error: listen EADDRINUSE: address already in use

This means you either have the application already running or something else is listening on the same port. Either shutdown the other instance of the running application or running the application on another port by providing a different port number eg npx usb-backup 6000

1.32.0

2 years ago

1.34.0

2 years ago

1.33.0

2 years ago

1.31.0

2 years ago

1.25.0

2 years ago

1.23.0

2 years ago

1.29.0

2 years ago

1.27.0

2 years ago

1.30.0

2 years ago

1.22.0

2 years ago

1.26.0

2 years ago

1.24.0

2 years ago

1.28.0

2 years ago

1.10.5

2 years ago

1.2.0

2 years ago

1.14.0

2 years ago

1.10.4

2 years ago

1.10.3

2 years ago

1.12.0

2 years ago

1.10.2

2 years ago

1.18.1

2 years ago

1.18.0

2 years ago

1.16.2

2 years ago

1.16.1

2 years ago

1.16.0

2 years ago

1.18.5

2 years ago

1.18.4

2 years ago

1.8.1

2 years ago

1.0.9

2 years ago

1.18.3

2 years ago

1.8.0

2 years ago

1.0.8

2 years ago

1.18.2

2 years ago

1.2.5

2 years ago

1.0.7

2 years ago

1.18.9

2 years ago

1.6.0

2 years ago

1.2.4

2 years ago

1.18.8

2 years ago

1.2.3

2 years ago

1.18.7

2 years ago

1.4.0

2 years ago

1.2.2

2 years ago

1.18.6

2 years ago

1.2.1

2 years ago

1.21.0

2 years ago

1.18.10-0

2 years ago

1.21.1

2 years ago

1.21.2

2 years ago

1.7.5

2 years ago

1.7.4

2 years ago

1.11.0

2 years ago

1.15.0

2 years ago

1.1.1

2 years ago

1.13.1

2 years ago

1.1.0

2 years ago

1.13.0

2 years ago

1.11.1

2 years ago

1.19.0

2 years ago

1.17.2

2 years ago

1.17.1

2 years ago

1.17.0

2 years ago

1.17.6

2 years ago

1.7.3

2 years ago

1.1.9

2 years ago

1.17.5

2 years ago

1.9.0

2 years ago

1.7.2

2 years ago

1.1.8

2 years ago

1.17.4

2 years ago

1.7.1

2 years ago

1.1.7

2 years ago

1.17.3

2 years ago

1.7.0

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.5.0

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.3.0

2 years ago

1.1.2

2 years ago

1.20.0

2 years ago

1.18.12

2 years ago

1.18.11

2 years ago

1.18.16

2 years ago

1.18.15

2 years ago

1.18.14

2 years ago

1.18.13

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.10.1

2 years ago

1.10.0

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago