jura
v0.1.1
Published
A backup utility
Readme
Jura: A backup utility
Overview
Jura is a backup utility that archives local files and uploads them to remote locations. Currently only Google Drive storage is supported as a remote location.
Prerequisites
- node.js version 0.10.x or later
Installation
Jura can be installed via npm: npm install jura.
Typical workflow
First you'll want to create a new repository and index some files that you want to backup:
jura initInitializes the repository. All information about the repository will be saved in a.juradirectory in the current working directoryjura add file.txtAdds a file to the indexjura listLists all files that are currently part of the index
After you have added some files to the index you'll want to add a mirror that will host your backup:
jura add-drive-mirror myMirror backups/someFolderAdds a mirror.myMirroris an internal name, you can choose any name you like.backups/someFolderis the name of the folder on Google Drive that will contain your backupsjura auth-mirror myMirrorAuthorize Jura to access your Google Drivejura init-mirror myMirrorCreate the backup folder you specified earlier on Google Drive
After setting things up you can backup your data by running jura backup myMirror.
In case you want to restore your backup you would use:
jura rev-list myMirrorThis lists all backups you have uploadedjura rev-restore myMirror 2014-06-29T19:00:32.802ZRestores the backup from the specified time stamp
