Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apostololeg/webdav-backup
Backup some folder of your project to webdav.
https://github.com/apostololeg/webdav-backup
Last synced: 26 days ago
JSON representation
Backup some folder of your project to webdav.
- Host: GitHub
- URL: https://github.com/apostololeg/webdav-backup
- Owner: apostololeg
- License: mit
- Created: 2013-12-07T12:38:47.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-26T13:48:09.000Z (almost 11 years ago)
- Last Synced: 2024-04-14T14:48:04.928Z (7 months ago)
- Language: Shell
- Size: 152 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Backup to WebDAV
Script for backup some folder of your project to WebDAV.#### Run
``./backup.sh``#### Configuration
* install [cadaver](http://www.webdav.org/cadaver/)
* create directory on your WebDAV server
* write `~/.netrc` config file for autologin
* write `.backuprc`
* HOST – host, where to connect
* BACKUP_DIR – local folder you want to back up
* DESTINATION_DIR – remote folder in which you want to back up
* IGNORE_CONFIG – optional config with ignores#### Config's examples
###### ~/.netrc
```
machine webdav.yandex.ru
login login
password *******```
###### .backuprc
```
HOST="https://webdav.yandex.ru"
BACKUP_DIR="data"
DESTINATION_DIR="example"
IGNORE_CONFIG=".backupignore"```
###### .backupignore
```
**/.DS_Store
tmp
```### License
[MIT](https://github.com/truerenton/webdav-backup/blob/master/LICENSE)