Cloud Storage Module Documentation

The Cloud Storage module allows users to configure, manage, and synchronize their files between a local server and cloud storage solutions. This module is especially useful for ensuring secure storage, and enabling file access across multiple servers.

Key Features

Settings

The module supports all S3-compatible storage services, making it highly versatile. While thoroughly tested with AWS S3 and DigitalOcean Spaces, it also works with other modern cloud storage solutions that implement the S3 API. For optimal results, it is recommended to use storage providers that offer versioning to ensure data safety and easy retrieval of previous file versions.

Support us by using our referral code for DigitalOcean—it’s at no extra cost to you! Think of it as a small contribution to help us keep going.

DigitalOcean Referral Badge

Local Copy Option

Action Buttons

Once you've configured the necessary fields, click Save Settings to apply your changes. You will be notified of any error after saving the settings

Getting Started

  1. Navigate to the Settings → Cloud Storage page.
  2. Fill in the required fields:
  3. Click Run Tests to verify the setup.
  4. Use the Sync buttons to upload or download files.

Bucket Naming Guidelines

Important: Bucket names must be globally unique and adhere to the following rules:

Troubleshooting

Common Issues

Diagnostic Tools

Use the Run Tests button to debug connectivity and configuration issues.

Recommendations

To ensure optimal performance and security when using cloud storage services with your system, we recommend the following best practices:

By following these recommendations, you can ensure that your cloud storage solution is secure, efficient, and scalable, and that your data is safely managed and easily accessible when needed.

Rescue

Active upload feature makes number of patches to both CRM files and third party modules.

Sometimes, depending on your setup, thing can possibly went wrong due to some third party modules or other environmental issues

We have prepared a secure rescue file for your use. All you need to remember is your admin login email and password:

https://yourwebsite.com/modules/cloud_storage/rescue.php

FAQ

Additional Resources

Development (For Developers Only)

To avoid conflicts with older versions of dependencies used in the ‘backup’ module, it is essential to scope the dependencies under a custom namespace.

Follow the steps below to set up your development environment:

  1. Ensure you have php-scoper installed globally. You can do this by running:
    composer global require humbug/php-scoper
  2. Once php-scoper is installed, run the following command to install project dependencies:
    composer install

These steps will ensure the dependencies are properly scoped and prevent version conflicts.

Hooks

The module provides several hooks to customize and control folder synchronization and other related activities.

Below are some of the most important hooks:

For more advanced customization, explore the module's source code, particularly in the libraries folder. These files provide additional extension points and detailed insight into how each hook operates.

You can extend the library code to gain granular control over the synchronization process, ensuring the module meets your specific requirements.