1.2.4 • Published 6 years ago

backpocket v1.2.4

Weekly downloads
5
License
Unlicense
Repository
github
Last release
6 years ago

backpocket

js-standard-style

lost your files? check your backpocket : >

create incremental timemachine style backups locally or over ssh

usage

npm install backpocket -g
cd ~/backups
backpocket user@server:/my/important/files

/*
 *  Creates the following in ~/backups
 *  - latest
 *  - 2016-02-16_14-46-54
*/

// subsequent calls
backpocket bob@server:/my/important/files
backpocket bob@server:/my/important/files

/*
 *  Creates more incremental archives
 *  - latest
 *  - 2016-02-16_14-46-54
 *  - 2016-02-16_14-47-03
 *  - 2016-02-16_14-47-41
*/

backpocket --help

/*
 *  Usage: backpocket [options] <target>
 *
 *  e.g. "backpocket ../files" or "backpocket -p 30days -f YYYY-MM-DD_hh-mm-ss user@server:files"
 *
 *  create incremental backups of target in the current working directory
 *
 *  Options:
 *
 *    -h, --help            output usage information
 *    -V, --version         output the version number
 *    -v, --verbose         verbose output
 *    -f, --format          format for archive directory (default is "YYYY-MM-DD_HH-mm-ss")
 *    -p, --purge n[units]  remove backups older than... "2seconds", "2minutes", "2hours", "2days", "2weeks"
 */

features

  • works over ssh
  • only transfers missing or modified files
  • uses hard links i.e. if nothing changed, incremental backup takes up zero additional disk space
  • unit tested

dependencies

1.2.4

6 years ago

1.2.3

9 years ago

1.2.2

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.6

9 years ago

1.1.5

9 years ago

1.1.4

9 years ago

1.1.3

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.1.5

12 years ago

0.1.4

12 years ago

0.1.3

12 years ago

0.1.2

12 years ago

0.1.1

12 years ago

0.1.0

12 years ago