Skip to content

domenkozar/titanpad-backup-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

titanpad-backup-tool

Make backups of a titanpad subdomain.

Usage

Usage: ./titanpad_backup.sh [-hx] -d <subdomain> {-u <user> -p <password> | -a <user-password-file>}
	-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 <username> -p <password>

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

About

Shell script to backup zip file of all pads on titanpad.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages