Table of Contents

Synchronize data Script

This script is designed to manage backups for various databases. It supports functionalities like downloading the latest backups, selecting daily/weekly/monthly backups, and restoring databases.

You can find the script under Dev services repo . Follow this Gitlab link

Functions

Usage

synchronize_data.sh [OPTION]

Options

Example Commands

# Download the latest backup
./synchronize_data.sh -y
 
# Download only the database backup
./synchronize_data.sh -d
 
# Enable debug mode and select daily backups
./synchronize_data.sh -x -s
 
# Print help message
./synchronize_data.sh -h

Nadir Habib 2024/06/05 12:21