Skip to content
Daniel Chatfield edited this page Sep 23, 2013 · 4 revisions

http://backup.volcanicpixels.com/api/v1/

Start Backup

  • code: 200, 403, statuscode: 'OK', 'MAX_SPACE_USED', 'PLUGIN_TOO_OLD' ~ Get last backup info ()

Parse files and database and build a 'backup job' which includes everything to be backed up.

backup_auth

Sends a list of 100 files that it wants to upload, including hash, filesize etc.

Service returns:

{
    "success": false
    "msg": "Upload will exceed maximum storage."
    [id]: {
        "": {UPLOAD, UPLOADED_FOR_YOU, REJECTED}
        "signed_url": []
    }
}
  • Service saves response
  • Starts uploading
  • If failed upload then retries if network problem, re-adds to queue otherwise.
  • When backup job is complete.
  • Backup complete() - service writes a backup file to the bucket, which stores:

changed:

  • Just a list of files that were changed in this job full: List of every file in this snapshot.
Clone this wiki locally