Skip to content

SSilence/all-inkl-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

All-Inkl Backup Script

Copyright (c) 2013 Tobias Zeising, http://www.aditu.de Licensed under the MIT license Version 0.1

This is a simple Backup Script for All-Inkl.com Webspace.

IMPORTANT: You can only use this script for the premium package with SSH support.

Usage

Fill in your SSH Username, Password and Host:

$sshUser = 'youruser';
$sshPassword = 'yourpass';
$sshHost = 'yourhost';

Set your base directory:

$base = "/www/htdocs//";

Set your backup script Subdirectory, e.g. for /www/htdocs/ftpuser/backup/ use following option:

$backupDir = "backup/";

Configure your projects for backup. You can specify your database and/or an directory:

$dbs = array(
    array(
        "name"   => "wordpress",
        "dbname" => "d1234567",
        "passwd" => "secret",
        "dir"    => "wordpress"
    ),
    array(
        "name"   => "website",
        "dbname" => "d321",
        "passwd" => "secret",
        "dir"    => "website/www"
    ),
    array(
        "name"   => "selfoss",
        "dir"    => "website/selfoss"
    ),
    array(
        "name"   => "database123",
        "dbname" => "d987324",
        "passwd" => "secret",
    )
);

About

All-Inkl Backup Script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages