Introduction
Real-time/timing data synchronization tool based on rsync

Use scene

  1. When two or more servers do load balancing and need to synchronize website data
  2. When data mirroring is required
  3. In other projects that require real-time file synchronization
  4. Data backup

Glossary:
[Sync method] Increment: Synchronize when data is changed/increased, and only add and replace files
[Sync method] Mirror: Keep the data at both ends consistent with the dir structure, The following operations will be sync: delete, append and replace files and directories
[Sync cycle] Real-time: Real-time monitoring of file and directory status, once there is a change, the synchronization task will be executed immediately
[Sync cycle] Timing : scan files and directories at regular intervals for changes, and perform synchronization tasks when changes are detected

Add a receiving task
Add a receiving task on the server that receives the data and get the sync key

Note: please make sure the [Sync to] directory is empty, if there are files/dirs, please make a backup to prevent the data loss of the receiving server after selecting the mirror mode in the sending task

Add sending tasks
Add sending tasks to the data source server

After the setup is complete, check whether your two servers are configured correctly and then click the sync button to activate synchronization

13 days later

how can I use load balancing if I use hetzner dedicated server? can you please explain how to setup load balancing for dedicated server? After that I will setup sync.

If I use the Sync Tool, will the sync from the 2nd time onwards only apply to the new file? And one more thing, if I delete a file on the original server, will the secondary server automatically delete that file?

Just the main server to buy the plugin or both? How is the fee calculated?

a month later

What if the Master server is offline? Will data be recorded to the slave server and then synced to Master server when it comes back online?

    19 days later

    I do not understand, how to configure this do you need to have the purchase of the plugin on both servers?

    2 months later
    5 months later

    If I have a lot of large files like video 2-3GB, could the plugin work fine? And if I want just only my domain in the whitelist can view these files. How to do that?

      aaPanel_Kern

      I have a question, if a file during upload to the master server, what's happening with the slave server, it'll wait until the file uploaded finishes on the master server and sync to the slave server after that. Or it syncs immediately.
      And how to cache each file after upload 24 hours, when expires cache, that file will be deleted
      Can it sync SQL between 2 servers?

        MrHades
        What happens to the slave if a file is being uploaded to the master. Maybe you already know the result: it will wait until the file upload on the master is complete, then sync to the slave. Syncing now depends on your settings.
        Synchronization SQL can not use Sync Tool, it is just a file synchronization tool, SQL has dedicated synchronization tool.

        17 days later

        Hello
        Do I need to install Sync Tool on the main server and backup server?

          inguide
          Hello, both the primary server and the backup server need to have the Sync Tool installed.

            Connect with us: 📨 Telegram 💬 Discord Email: support@aapanel.com