Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wanelo/manta-backup
Put things in Joyent's Manta object store. Now with remote checksums!
https://github.com/wanelo/manta-backup
Last synced: 3 months ago
JSON representation
Put things in Joyent's Manta object store. Now with remote checksums!
- Host: GitHub
- URL: https://github.com/wanelo/manta-backup
- Owner: wanelo
- Created: 2013-07-23T18:03:24.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-10-18T18:17:39.000Z (over 11 years ago)
- Last Synced: 2024-08-02T22:24:14.619Z (7 months ago)
- Language: Shell
- Homepage:
- Size: 164 KB
- Stars: 8
- Watchers: 29
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-repos - wanelo/manta-backup - Put things in Joyent's Manta object store. Now with remote checksums! (Shell)
README
###Requirements
Requires a Joyent cloud account and Joyent's node.js cli tools - `npm install manta`.
See docs here: http://apidocs.joyent.com/manta/###Usage
Use `mbackup` to push files to Joyent's Manta service. `mbackup` will run a checksum via Manta on the remote file and compare to your local file. If the local file and remote file checksums don't match, the script will exit with an error.For simplicity, `mbackup` will by default gzip and push your files to `/$MANTA_USER/stor/backups/$1/your_hostname/filename.gz`, organizing further sub-directories by data type and hostname. For example:
```
mbackup postgres my_table.date.gz
```
will place a file called 'my_table.date.gz' in Manta under your stor/backups 'directory':
```
> mls /$MANTA_USER/stor/backups/postgres/$(hostname)/
my_table.date.gz
```Alternatively, you can specify a target path as the 3rd argument.