PHPackages                             rah/rah\_backup\_sftp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. rah/rah\_backup\_sftp

ActiveTextpattern-plugin[File &amp; Storage](/categories/file-storage)

rah/rah\_backup\_sftp
=====================

SFTP module for rah\_backup

0.1.0(12y ago)061GPL-2.0PHPPHP &gt;=5.3.0

Since Apr 1Pushed 12y ago2 watchersCompare

[ Source](https://github.com/gocom/rah_backup_sftp)[ Packagist](https://packagist.org/packages/rah/rah_backup_sftp)[ Docs](https://github.com/gocom/rah_backup_sftp)[ RSS](/packages/rah-rah-backup-sftp/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (5)Versions (2)Used By (0)

SFTP module for rah\_backup
===========================

[](#sftp-module-for-rah_backup)

[Packagist](https://packagist.org/packages/rah/rah_backup_sftp) | [Twitter](http://twitter.com/gocom) | [Donate](http://rahforum.biz/donate/rah_backup_sftp)

Transfers backups created with [rah\_backup](https://github.com/gocom/rah_backup) to a offsite location via SSH File Transfer Protocol. This module uses [phpseclib](https://github.com/phpseclib/phpseclib) for its wonderful pure-PHP SFTP implementation.

Install
-------

[](#install)

Using [Composer](http://getcomposer.org):

```
$ composer require rah/rah_backup_sftp:*
```

Preferences
-----------

[](#preferences)

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

### Hostname

[](#hostname)

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

```
example.tld
```

### Port

[](#port)

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

```
25522
```

### Remote backup directory path

[](#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)

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

```
john
```

### Password

[](#password)

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

```
mypassword
```

### Path to RSA private key

[](#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
---------

[](#changelog)

### Version 0.1.0 – 2014/04/01

[](#version-010--20140401)

- Initial release.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4473d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a34b4e1b662cd2c926e8e89a76f93df266b199fe61508d38026cb952f28e59e?d=identicon)[rah](/maintainers/rah)

---

Tags

pluginsftptextpatternrah\_backup

### Embed Badge

![Health badge](/badges/rah-rah-backup-sftp/health.svg)

```
[![Health](https://phpackages.com/badges/rah-rah-backup-sftp/health.svg)](https://phpackages.com/packages/rah-rah-backup-sftp)
```

###  Alternatives

[league/flysystem-sftp-v3

SFTP filesystem adapter for Flysystem.

6133.1M134](/packages/league-flysystem-sftp-v3)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
