Skip to content
/ but Public

Node.Js module for backuping, restoring and updating files with Yandex.Disk.

License

Notifications You must be signed in to change notification settings

bondden/but

Repository files navigation

Backup and Update Tool

Node.Js module for back-upping, restoring and updating files with Yandex.Disk.

Installation

Installed 7-zip required on non-Windows systems. Then install from NPM repository:

$ npm install esf-but

Usage

  1. Configure BUT with butfile.json.
    • Configure 7-zip archiver:
      • modify zipExecutable parameter to set custom path to 7-zip executable;
      • on Windows live default to use bundled vendor/7z/7za.exe;
      • remove zipExecutable parameter to use default node-7z setting: 7za has to be at PATH or at the same directory with package.json.
    • Set paths to be back-upped, restored, updated to use according functionality and a temporary path.
    • Set Yandex.Disk access token to use backup functionality.
  2. Use API:
Command Description
download Downloads files from locations, specified in butfile.json at update.paths.
backup Backups files to Yandex.Disk, using settings, specified in butfile.json at backup.
restore Restores backup files.
sendFilesToYaDisk Sends files to Yandex.Disk from temporary directory, specified in butfile.json at update.paths, but without pre-archiving them.

Road Map

Version Status Functionality
0.1 released Update tool
0.2 released Backup tool with Yandex.Disk backup. Zip, no encryption
0.3 released Encrypted zip
0.4 HTTPS with certificate
0.5 Encrypted password local storage
1.0 Auto installation and update. Documentation. SA

License

MIT © Denis Bondarenko 2015

About

Node.Js module for backuping, restoring and updating files with Yandex.Disk.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published