1.0.5 • Published 2 years ago

ftp-backup v1.0.5

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

ftp-backup

A tool to back up your Documents, Pictures, and folders.
Based on npm ssh2-sftp-client package

Install

You can install globally or locally.

Global

  • Install
$ npm install -g ftp-backup
  • get help
$ ftp-backup --help

Local

  • Install
$ npm install ftp-backup
  • package.json
{
	"script": {
		"ftp-backup": "node node_modules/.bin/ftp-backup"
	}
}
  • get help
npm run ftp-backup --help

Usage

we can confirm usage help by ftp-backup --help, by default ftp-backup will look for the ftp.properties in your current folder.

we can use options like ftp-backup --config ftp.properties .... to specific the config file.

// ftp.properties
host=ftp01.asuswebstorage.com
port=22
user=user
password=pswd
source=./test
remote=/
retain=10
1.0.5

2 years ago

1.0.5-0

2 years ago

1.0.4-0

2 years ago

1.0.3-0

2 years ago

1.0.2-0

2 years ago

1.0.0-2

2 years ago