PHPackages                             ised-isde/remote-manage - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ised-isde/remote-manage

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ised-isde/remote-manage
=======================

Remote Site Management

3.0.3(5y ago)37482[1 issues](https://github.com/ised-isde-canada/remote-manage/issues)1GPL-2.0+HTML

Since Sep 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ised-isde-canada/remote-manage)[ Packagist](https://packagist.org/packages/ised-isde/remote-manage)[ RSS](/packages/ised-isde-remote-manage/feed)WikiDiscussions master Synced today

READMEChangelog (9)Dependencies (1)Versions (16)Used By (1)

Remote Management for Websites
==============================

[](#remote-management-for-websites)

[![PHP](https://camo.githubusercontent.com/29227adf6a946e2a82d213955c5182a94c21761057100a4fcb713db3f25b57f4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d76372e3325324676372e342d626c75652e737667)](https://camo.githubusercontent.com/29227adf6a946e2a82d213955c5182a94c21761057100a4fcb713db3f25b57f4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d76372e3325324676372e342d626c75652e737667)[![PostgreSQL](https://camo.githubusercontent.com/9b28f32858386e8df5f708ab325c8f686373d7632feca329e048e4a8b0e35597/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f737467726553514c2d76392e362532467631302e322d626c75652e737667)](https://camo.githubusercontent.com/9b28f32858386e8df5f708ab325c8f686373d7632feca329e048e4a8b0e35597/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f737467726553514c2d76392e362532467631302e322d626c75652e737667)[![GitHub Issues](https://camo.githubusercontent.com/0a5ca8c5692ecdf4dbfc044668ec654c69230ee202bc7f7ddc93cf37379f00c8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f697365642d697364652d63616e6164612f72656d6f74652d6d616e6167652e737667)](https://github.com/ised-isde-canada/remote-manage/issues)[![Contributions welcome](https://camo.githubusercontent.com/d36745df8a6a62e0aa3eac455d2563d6049bde3683dc6f6f21af87f1561bb8c4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f6e747269627574696f6e732d77656c636f6d652d677265656e2e737667)](#contributing)[![License](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

Written by: Duncan Sutter, Samantha Tripp and Michael Milette
Initial release: July 2020 -
License: MIT

Note: This is the initial draft of the documentation.

This script is the main entry point for Remote Management. Operations are:

- Backup
- Restore

For more information and other options, see the [Help file](https://github.com/ised-isde-canada/remote-manage/blob/master/help.md).

It has been tested with Moodle and Drupal sites. The backup function only includes your application and data files and database, not the operating system.

Contributing
============

[](#contributing)

For more information about contributing, see [CONTRIBUTING.md](https://github.com/ised-isde-canada/remote-manage/blob/master/CONTRIBUTING.md).

Coding Guidelines
-----------------

[](#coding-guidelines)

Please follow the PHP Standards Recommendations at

Installation
============

[](#installation)

Dependencies
------------

[](#dependencies)

- PHP 7.3 or 7.4 (may support PHP 8.x in the future)
- PostgreSQL 9.6/10.2 or later (may support MySQL/MariaDB in the future)
- AWS S3 Bucket
- Composer
- Info-ZIP 64-bit
- Drush (required for Drupal only)
- Has only been tested with RedHat 8 Linux but may work with others.

You will also need enough space, up to 120% of the space used by your application, data files and database export, in your /tmp area in order to store the temporary backup files.

Using composer
--------------

[](#using-composer)

Installation is done using (composer)\[\]:

```
composer require ised-isde/remote-manage

```

Configuration
-------------

[](#configuration)

You can backup, list backups and restore a backup of your application using the command line. Before you can do anything, you need to set your environment variables so that your host can communicate with the S3 bucket. Set these variables accordingly:

```
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_S3_BUCKET
AWS_S3_REGION

```

Also set an environment variable called APP\_NAME which will be used as part of the backup filenames.

In order to backup and restore application with a database, you will need to set the following environment variables:

```
DB_HOST
DB_USERNAME
DB_PASSWORD
DB_NAME
DB_PORT

```

If these are not set, Remote Manage will skip backing up the database.

In order to backup and restore application files, set the following environment variable:

```
HOME - set to your application's webroot.
MOODLE_DATA_DIR - set to the moodledata directory (for Moodle only).

```

If these are not set, Remote Manage will skip backing up all files.

You can specify an alternate location for temporary storage of backup files by setting the RM\_TEMP environment variable to an alternate directory path. If not specified, /tmp will be used.

Usage
=====

[](#usage)

Backup and restore your application
-----------------------------------

[](#backup-and-restore-your-application)

Note: Backup of application files is only currently supported for Moodle.

To backup your application:

```
php vendor/ised-isde/remote-manage/manage backup

```

To get a list of previous backups:

```
php vendor/ised-isde/remote-manage/manage s3list

```

To restore:

```
php vendor/ised-isde/remote-manage/manage restore

```

Troubleshooting
---------------

[](#troubleshooting)

Be sure to check out the --verbose option. See the [Help file](https://github.com/ised-isde-canada/remote-manage/blob/master/help.md).

Copyright
=========

[](#copyright)

Copyright 2020-2021 Duncan Sutter, Samantha Tripp and Michael Milette

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Every ~18 days

Recently: every ~10 days

Total

12

Last Release

1867d ago

Major Versions

1.0.7 → 3.0.02021-02-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/0f35bbe8b29b917dbe926f079cd81b9712fee4e42b82d1e5820c2fe1575365d5?d=identicon)[ised-isde](/maintainers/ised-isde)

---

Top Contributors

[![michael-milette](https://avatars.githubusercontent.com/u/3808579?v=4)](https://github.com/michael-milette "michael-milette (110 commits)")[![djsutter](https://avatars.githubusercontent.com/u/22455573?v=4)](https://github.com/djsutter "djsutter (97 commits)")[![sam-tripp](https://avatars.githubusercontent.com/u/64849412?v=4)](https://github.com/sam-tripp "sam-tripp (38 commits)")[![dsutter-gc](https://avatars.githubusercontent.com/u/58472765?v=4)](https://github.com/dsutter-gc "dsutter-gc (11 commits)")[![olstjos](https://avatars.githubusercontent.com/u/75325509?v=4)](https://github.com/olstjos "olstjos (2 commits)")

### Embed Badge

![Health badge](/badges/ised-isde-remote-manage/health.svg)

```
[![Health](https://phpackages.com/badges/ised-isde-remote-manage/health.svg)](https://phpackages.com/packages/ised-isde-remote-manage)
```

###  Alternatives

[aws/aws-sdk-php-symfony

A Symfony bundle for v3 of the AWS SDK for PHP

36517.7M22](/packages/aws-aws-sdk-php-symfony)[csharpru/vault-php

Best Vault client for PHP that you can find

8410.3M4](/packages/csharpru-vault-php)[napp/xray-laravel

AWS X-Ray for Laravel applications.

61407.3k](/packages/napp-xray-laravel)[dreamonkey/laravel-cloudfront-url-signer

Laravel 5.6+ wrapper around CloudFront canned signed URLs

54750.7k](/packages/dreamonkey-laravel-cloudfront-url-signer)[foxxmd/laravel-elasticbeanstalk-cron

Ensure only one Laravel instance is running CRON jobs in an EB environment

62299.6k](/packages/foxxmd-laravel-elasticbeanstalk-cron)[tapp/laravel-aws-secrets-manager

Use AWS Secrets manager to load environment variables for configuration.

37208.6k](/packages/tapp-laravel-aws-secrets-manager)

PHPackages © 2026

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