Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Introduction 

Filestore module in , which is applicable only for FreePBX 15+ has been introduced to take care of "storage" requirement for Backup & Restore module. This provides simple interface to various storage options to store your data safely as per your requirement.

...

Storage options are now handled in the Filestore module which offers user to add multiple storage options like E-mail, FTP, Local, SSh, S3 and newly added Dropbox Account. 

 

                                   



Filestore module location 


File Store module is present under "FreePBX → Settings → Filestore" 




Creating Filestore locations

E-Mail

Clicking on Add Email Instance, you can add your E-Mail instance to store your backup. Whenever you run the backup with E-Mail set as the Filestore Location, backup file will be sent as attachment to the Email ID given in the Filestore. E-mail Instance can be used as storage location when your backup file size is very less (Less than 25MB as most of the service providers does not support E-mail attachment with more than 25 MB).

...

This by default has a maximum size set to 25MB.

FTP

Clicking on Add FTP Instance, you can add your FTP server to store your backup. Whenever you run the backup with FTP server set as the Filestore Location, backup file will be transferred to the FTP servers path you added in the Filestore. If the Backup fails for some reason or could not connect to the FTP instance, then the backup will be stored in local system (/var/spool/asterisk/backup/backup_name/backupfile).

...

Timeout on remote server connection.

Local

Clicking on Add Local Path, you can add your Local Path to store your backup. Whenever you run the backup with Local Path set as the Filestore Location, backup file will be stored in the path you added in the Filestore. If the Backup fails for some reason or could not create the backup file in Local Path, then the backup will be stored in local system (/var/spool/asterisk/backup/backup_name/backupfile).

...

Path on this local system.

Dropbox

Clicking on Add Dropbox Account, you can add your Dropbox Account to store your backup. Whenever you run the backup with Dropbox Account set as the Filestore Location, backup file will be transferred to the Dropbox Account's path you added in the Filestore. If the Backup fails for some reason or could not connect to the Dropbox Account, then the backup will be stored in local system (/var/spool/asterisk/backup/backup_name/backupfile).

...

Once the Access token is generated copy the access token and paste in FreePBX Token field

SSH

Clicking on Add SSH server, you can add your SSH server to store your backup. Whenever you run the backup with SSH server set as the Filestore Location, backup file will be transferred to the SSH servers path you added in the Filestore. If the Backup fails for some reason or could not connect to the SSH server, then the backup will be stored in local system (/var/spool/asterisk/backup/backup_name/backupfile).

...

Path on the remote SSH server where you want to save your backup. (NOTE if setting up warm spare you can use any pre-existing directory on that target system, if unsure use  /var/spool/asterisk/backup/ 

S3

Clicking on Add S3 Bucket, you can add your S3 Bucket to store your backup. Whenever you run the backup with S3 Bucket set as the Filestore Location, backup file will be transferred to the S3 Bucket's path you added in the Filestore. If the Backup fails for some reason or could not connect to the S3 Bucket, then the backup will be stored in local system (/var/spool/asterisk/backup/backup_name/backupfile).

...