https://github.com/backrunner/qiniu-backup
Automatically back up your files to Qiniu.
https://github.com/backrunner/qiniu-backup
Last synced: 2 months ago
JSON representation
Automatically back up your files to Qiniu.
- Host: GitHub
- URL: https://github.com/backrunner/qiniu-backup
- Owner: backrunner
- License: mit
- Created: 2020-02-16T09:25:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T16:13:40.000Z (over 3 years ago)
- Last Synced: 2025-10-20T20:59:21.310Z (8 months ago)
- Language: JavaScript
- Size: 171 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
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
```