Regular backups are crucial for protecting your business data and ensuring business continuity. This guide outlines best practices for backing up your CloudOnex Business Suite installation.
Contains all your business data including:
- Customer information
- Financial records
- Invoices and transactions
- System settings
- User accounts
Includes:
- Configuration files
- Custom themes
- Uploaded documents
- Plugins
- Custom modifications
- Frequency: Daily
- Retention: Minimum 30 days
- Type: Automated incremental backups
- Frequency: Weekly
- Retention: Minimum 3 months
- Type: Full system backup
- Frequency: After each system modification
- Retention: Keep last 5 versions
- Type: Manual backup of config files
- Navigate to Utilities → Database Status
- Click "Backup Database"
- Store the downloaded file securely
- Access your hosting control panel
- Navigate to File Manager
- Select the CloudOnex installation directory
- Click "Compress" or "Create Archive"
- Download the compressed file
- Most hosting providers offer automated backup solutions
- Configure daily backups through your hosting control panel
- Enable automatic retention policies
#!/bin/bash
# Example backup script
DATE=$(date +%Y-%m-%d)
BACKUP_DIR="/path/to/backup/directory"
# Database backup
mysqldump -u [username] -p[password] [database_name] > $BACKUP_DIR/db_backup_$DATE.sql
# File backup
tar -czf $BACKUP_DIR/files_backup_$DATE.tar.gz /path/to/cloudonex/installation
# Remove backups older than 30 days
find $BACKUP_DIR -type f -mtime +30 -delete
-
/system/config.php
(Contains database and core settings) -
/system/overrides/
(Custom overrides) -
/apps/
(Custom plugins) -
/ui/theme/
(Theme customizations)
-
/storage/
(Uploaded files) -
/system/uploads/
(System uploads)
- Encrypt backup files using AES-256 encryption
- Store backups in multiple locations
- Use secure transfer protocols (SFTP/SCP) for remote storage
- Limit backup access to authorized personnel
- Use strong passwords for backup archives
- Maintain an access log for backup operations
- Test database restore monthly
- Verify file integrity weekly
- Conduct full system restore quarterly
- Create a test environment
- Restore backup to test environment
- Verify:
- Database integrity
- File completeness
- System functionality
- Custom modifications
-- Example database restore command
mysql -u [username] -p[password] [database_name] < backup_file.sql
# Extract backup archive
tar -xzf backup_file.tar.gz -C /path/to/destination
# Set proper permissions
chown -R www-data:www-data /path/to/cloudonex
chmod -R 755 /path/to/cloudonex