https://github.com/domenkozar/titanpad-backup-tool
Shell script to backup zip file of all pads on titanpad.com
https://github.com/domenkozar/titanpad-backup-tool
Last synced: about 1 year ago
JSON representation
Shell script to backup zip file of all pads on titanpad.com
- Host: GitHub
- URL: https://github.com/domenkozar/titanpad-backup-tool
- Owner: domenkozar
- License: mit
- Created: 2011-11-19T16:29:04.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2016-07-27T08:06:39.000Z (almost 10 years ago)
- Last Synced: 2025-04-04T20:12:52.642Z (about 1 year ago)
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# titanpad-backup-tool
Make backups of a [titanpad](https://github.com/titanpad/titanpad) subdomain.
* [Usage](#usage)
* [cronjob](#cronjob)
* [Authentication](#authentication)
## Usage
```
Usage: ./titanpad_backup.sh [-hx] -d {-u -p | -a }
-h This usage note
-x Delete backups older than 30 days
-d Subdomain to backup
-u Username
-p Password
-a File containing Username (first line) and Password (second line)
```
## cronjob
Place titanpad_backup.sh in ~/titanpad/ and configure crontab as following::
0 0 * * * ~/titanpad/titanpad_backup.sh -u -p
## Authentication
If you don't want to specify a password on the command line, create a file `~/titanpad/.auth` containing username and password:
```
MyUsername
MySecretPassword
```
Then use the `-a` option
0 0 * * * ~/titanpad/titanpad_backup.sh -a ~/titanpad/.auth