sfxBackupExt icon

sfxBackupExt

Save remote project backups locally
sfxBackupExt

Registered StackHub users may elect to receive email notifications whenever a new package version is released.

There is 1 watcher.

v0.3.4

Overview

This extension can be used to download backups from remote hosts, and save them on a central server host. Thus, it provides a way to consolidate backups from multiple hosts to a single server. Remote backups are saved into

<skyspark_home>/var/remoteProjects/<remoteProjectName>/

The sfxRemoteBackup function can be run manually, or scheduled to run as a job.

Configuration

To download a project backup requires a user with role su. To use this extension, you should

  1. Configure a user in all hosts with the same username and password, and ensure they have role su. A good username for this purpose might be backup.
  2. Edit this ext's rec in folio to add a username tag with the name of user you created in step #1
    diff(read(ext=="sfxBackup"), {"username":"backup"}).commit
  3. Use passwordSet to set the backup user's password. You should use the ext's id as the key.
    passwordSet(read(ext=="sfxBackup")->id.toStr, "the backup users password")

Once you have done all the configuration, you can use the sfxRemoteBackup function to do a remote backup. See the function documentation for usage details.

Published by SkyFoundry

Products & Services by SkyFoundry

Packages by SkyFoundry

Free packages

Package details
Version0.3.4
Licensen/a
Build date1 year ago
on 19th Apr 2023
Requirements SkySpark v3.1
Depends on
File namesfxBackupExt.pod
File size6.75 kB
MD5aa6f65db9800d500b961fb6477e0780d
SHA1 79bb3c28e6e82374f2db7b322c6e93b0c2930b29
Published by
SkyFoundryDownload now
Also available via SkyArc Install Manager
Tags
Pod File