/podio-backup

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

Primary LanguagePHP

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:

  • Incremental backup (files are downloaded only once and are linked on subsequent runs).
  • Stores item human readable including comments - additionally items are bulk downloaded as excel file.
  • All files hosted at Podio are downloaded, files hosted externally are linked and easily accessible in an html app overview.
  • Smart handling of rate limits (sleeps before hitting the podio rate limit).

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.