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.
Jura can be installed via npm:
npm install jura.
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 directory
jura add file.txtAdds a file to the index
jura 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 backups
jura auth-mirror myMirrorAuthorize Jura to access your Google Drive
jura 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 uploaded
jura rev-restore myMirror 2014-06-29T19:00:32.802ZRestores the backup from the specified time stamp