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: about 1 month 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 (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-26T13:48:09.000Z (almost 11 years ago)
- Last Synced: 2024-10-20T04:11:56.598Z (2 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)