Skip to content

gocom/rah_backup_sftp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SFTP module for rah_backup

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.

About

SFTP module for rah_backup

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages