daniel-sc / podio-backup

Creating a "maximum complete" backup of data stored at Podio (including files).
20 stars 9 forks source link

podio-backup

Creating a "maximum complete" backup of data stored at Podio (including files).

This runs as php commandline script (cli) and is based on: http://www.podiomail.com/blog/easy-podio-full-backup.php (thanks!)

A superior (hosted) backup solution is found at https://www.cloud-backup-for-podio.com (check it out!).

Features include:

Usage:

php podio_backup_full_cli.php [-f] [-v] [-s PARAMETER_FILE] --backupTo BACKUP_FOLDER --podioClientId PODIO_CLIENT_ID --podioClientSecret PODIO_CLIENT_SECRET --podioUser PODIO_USERNAME --podioPassword PODIO_PASSWORD

php podio_backup_full_cli.php [-f] [-v] -l PARAMETER_FILE [--backupTo BACKUP_FOLDER] [--podioClientId PODIO_CLIENT_ID] [--podioClientSecret PODIO_CLIENT_SECRET] [--podioUser PODIO_USERNAME] [--podioPassword PODIO_PASSWORD]

php podio_backup_full_cli.php --help

Arguments:
   -f   download files from podio (rate limit of 250/h applies!)
   -v   verbose
   -s   store parameters in PARAMETER_FILE
   -l   load parameters from PARAMETER_FILE (parameters can be overwritten by command line parameters)

BACKUP_FOLDER represents a (incremental) backup storage. I.e. consecutive backups only downloads new files.

Installation:

After cloning the repository don't forget to initialize the podio-php submodule via: git submodule init and subsequent git submodule update.