Overview
This guide will demonstrate how to add, edit, delete, and set a backup location for both new and existing installations in Softaculous.
Add a Remote Backup Location
- Go to Softaculous Enduser -> Edit Settings -> Click on Add Backup Location.
- Fill in the details of the remote backup server and then click Add Backup Location to save the details.
Fields are explained here:
- Location Name: Choose a name for the Backup Location for your reference.
- Server Host: Enter the server host (e.g., ftp.myexample_domain.com) where you want to store your backups.
- Protocol: Select the protocol for communication with the remote server (default is 'FTP').
- Port: Enter the port to connect; the default FTP port is 21, while port 22 is typically used for secure connections.
- FTP Username: The username of your FTP account.
- FTP Password: The password of your FTP account.
- Backup Location: Enter the relative path from the FTP user's directory where you want to store your backups (e.g., /backups).
Edit a Remote Backup Location
- Go to Softaculous Enduser -> Edit Settings -> Click on the Edit icon beside the location in the list.
- Edit the details you want to change and click Edit Backup Location to save the updates.
Delete a Remote Backup Location
- Go to Softaculous Enduser -> Edit Settings -> Click on the Delete icon beside the location in the list.
Once the backup location is deleted, any installations assigned to that location will be reassigned to the default backup location. If the default backup location is also deleted, backups will be stored on the Local Server by default.
Set Default Backup Location
You can set the Default Backup Location from the User Settings page:
- Go to Softaculous Enduser -> Edit Settings -> Select the Backup Location you want to set as Default (click on the radio button).
- Save the settings by clicking Edit Settings.
Setting a Default Backup Location ensures that even if no specific backup location is set for an installation, backups will be stored in the default location.
Set a Backup Location During Installation
You can assign a backup location during the installation of a script:
- Go to Softaculous Enduser -> Select the script you want to install -> Click on the Install tab.
- In the install form, navigate to the Advanced Options section and select the backup location where you want to store the installation backup. Once completed, click the Install button.
Your backups will now be stored at the backup location you have set.
Set a Backup Location for an Existing Installation
You can also set a backup location for existing installations:
- Click on the Edit icon next to the installation.
- You will be redirected to the page where you can edit the installation details.
- Edit the Backup Location by selecting the desired option from the drop-down menu.
- Click on the Edit Installation button to save the changes.
The backup for this installation will now be stored at the selected backup location.
Final Steps
Regularly check your backup locations to ensure that backups are functioning correctly and are stored in the intended directories.
Gotchas to Avoid
- Ensure you have the correct permissions set on the remote server for backup storage.
- Monitor your backup locations to confirm that backups are being created as expected.
- Be cautious when deleting backup locations, as this may affect existing installations and their backup configurations.