Code Monkey home page Code Monkey logo

podio-backup's Introduction

podio-backup

Creating an incremental backup for the data stored it Podio (including files).

Forked from https://github.com/daniel-sc/podio-backup

The differences are: The backup will download always to the same folder (i.e., no timestamp) so you can push daily the changes to a git repository. The memory size limit was increased to 500M to support larger podio repositories.

Script from daniel-sc originally based on:

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 the incremental backup storage, i.e. consecutive backups will only download new files and update podio items info locally in a csv file.
The backup will download always to the same folder (i.e., no timestamp) so you can push daily  changes to a git repository.

Installation:

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

podio-backup's People

Contributors

daniel-sc avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.