rah/rah_backup_sftp

SFTP module for rah_backup

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 1

Open Issues: 0

Type:textpattern-plugin

0.1.0 2014-04-01 12:56 UTC

This package is auto-updated.

Last update: 2024-10-15 13:18:03 UTC


README

Packagist | Twitter | Donate

Transfers backups created with rah_backup to a offsite location via SSH File Transfer Protocol. This module uses phpseclib for its wonderful pure-PHP SFTP implementation.

Install

Using Composer:

$ composer require rah/rah_backup_sftp:*

Preferences

The plugin adds set of configurable preferences to Textpattern’s Preferences panel.

Hostname

The remote SFTP server hostname. This can either be a domain name or an IP address. For example:

example.tld

Port

The remote SFTP server port number. The default SSH port is 22. For example:

25522

Remote backup directory path

Path to the directory used to store the backups on the remote server. If left empty, it uses the user’s default SFTP root directory that normally defaults to the user’s home directory. For example:

/backups/uploads

The used directory needs to be writable by the user.

Username

Username used to login to the remote server. For example:

john

Password

The user’s login password, or passphrase for the RSA private key if key authentication is used:

mypassword

Path to RSA private key

If set, RSA public key is used for logging in instead of plaintext password. This option takes a path to your RSA private key file. The path is relative to Textpattern installation location (e.g. textpattern/).

../../id_rsa

The above would use a id_rsa file placed to the directory located one level above your main index.php file.

Changelog

Version 0.1.0 – 2014/04/01

  • Initial release.