An open API service indexing awesome lists of open source software.

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.

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
```