https://github.com/lowply/s3backup
A backup script using Amazon S3 as a storage
https://github.com/lowply/s3backup
backup bash s3
Last synced: 2 months ago
JSON representation
A backup script using Amazon S3 as a storage
- Host: GitHub
- URL: https://github.com/lowply/s3backup
- Owner: lowply
- License: mit
- Created: 2017-06-21T07:02:45.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-26T16:00:42.000Z (over 6 years ago)
- Last Synced: 2025-03-15T07:07:17.963Z (3 months ago)
- Topics: backup, bash, s3
- Language: Shell
- Size: 13.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# s3backup
[][license]
[license]: https://github.com/lowply/lacrosse/blob/master/LICENSE
s3backup - A backup script using Amazon S3 as a storage.
## Usage
```
s3backup [ sync | test | clean | size ]
```## Requirements
- macOS or Linux based platform
- awscli, jq
- aws profile granted S3 read/write permission## Installation
The install script will symlink s3backup to `~/bin`
```
git clone https://github.com/lowply/s3backup.git
cd s3backup && ./install
```## Config
Config is in JSON format. Here's an example:
```
{
"wifi_allow": [
"Wifi SSID"
],
"enabled": true,
"profile": "default",
"bucket": "bucket",
"dir": "backup",
"node": "hostname",
"exclude":[
"*.DS_Store",
"*node_modules/*",
"*vendor/*"
],
"targets": [
{
"path": "/home",
"exclude": [
"*.rbenv/*",
]
},
{
"path": "/etc/nginx",
"exclude": [
]
}
]
}
```## Logs
Logs will be recorded to the `~/.log/s3backup/YYMMDD.log` file.
## License
MIT
## Author
Sho Mizutani