Skip to content

backrunner/qiniu-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qiniu-backup

Overview

qiniu-backup is a tool using node-cron and the SDK from Qiniu for automatically back up your files to Qiniu.

How to use

Run the following line when Git is installed:

git clone https://github.com/backrunner/qiniu-backup.git

Please ensure your environment has installed Node.js.

Run the following line to install dependencies:

npm install

In qiniu-backup folder, copy config.tmpl.js to config.js, then filling it.

You can add multiple tasks into the config file.

Also, you can install it with npm, but I don't recommend you select this way, because you need to set up the config.

How to run

Run the following line in terminal:

node index.js

or

npm run start

The best way to use this tool is run it by pm2.

pm2 start index.js --name qiniu-backup

About

Automatically back up your files to Qiniu.

Resources

License

Stars

Watchers

Forks

Packages

No packages published