项目作者: raucao

项目描述 :
Backup/restore data from/to any remoteStorage account
高级语言: JavaScript
项目地址: git://github.com/raucao/rs-backup.git
创建时间: 2015-12-14T20:28:47Z
项目社区:https://github.com/raucao/rs-backup

开源协议:

下载


npm

remoteStorage Backup/Restore

This program allows you to backup your data from a remoteStorage account
to a local hard drive, and restore it either to the same account, or another
account or server.

Install

With node.js and npm installed on your computer:

  1. npm install -g rs-backup

Usage

  1. rs-backup -o path_to_backup_dir
  2. rs-restore -i path_to_backup_dir

Note that the backup directory will be emptied first, in order to prevent data
inconsistencies that would break your apps. Thus, if you want to preserve older
versions of your data, back them up to different directories (e.g. incl. the
backup date).

You can optionally pass a user address and an authorization token via CLI
arguments, for example when setting up a regular backup job. See rs-backup --help for info.