thecodingcompany / backupify
PHP Library to use with api.backupify.io
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/thecodingcompany/backupify
Requires
- php: >=5.6.0
This package is not auto-updated.
Last update: 2025-09-28 10:16:25 UTC
README
Backup your data and store it remotely with Backupify.
<?php
/**
* Intellectual Property of Svensk Coding Company AB - Sweden All rights reserved.
*
* @copyright (c) 2016, Svensk Coding Company AB
* @author V.A. (Victor) Angelier <victor@thecodingcompany.se>
* @version 1.0
* @license http://www.apache.org/licenses/GPL-compatibility.html GPL
*
*/
require_once "autoload.php";
$backup = new theCodingCompany\Backupify("your.public.ip.address", "/home/backups");
$backup->setMySQLPassword("SuperSecretRootPassword")
->backupMySQL() //Or a single DB
->compressBackup() //Tar and GZIP compress
->notify(); //Send 'ready' notification to the Backupify API
After sending the notification Backupify will download the file through SCP. You need to add our SSH-Public-Key to your authorized_keys file in order to download the file.