Categories: AsperaIBM

Aspera HSTS (High-Speed Transfer Server) Automated Backups

Introduction

Your Aspera transfer server is a powerful, customizable hub for your high-speed transfer activity. Configuration settings allow you to control which clients have access for uploading or downloading data, how much bandwidth their transfers can use, the priority of those transfers, and how data is secured during and after transfer. Aspera Faspex is bundled with several underlying components, including a MySQL database. 

This article describes how to configure automated backups for Aspera HSTS 

Files to Backup After HSTS Installation:

The following files may be needed if the HSTS Application needs to move to a new server. It is suggested to store these off the server. These only need to be collected one time or again if they are updated/changed: 
/opt/aspera/etc/aspera.conf 
/opt/aspera/etc/aspera-license 
If used, the exported connection files from AsperaGUI 
/opt/aspera/etc/ui.conf 

HSTS Automated Backup of Redis DB:

This example will collect a daily backup of shares at midnight. Then at 12:01AM remove backups to a backup folder. At 12:02 it will delete backup folders that are older than 14 days from the target directory /opt/aspera/var/redisbackup.  

Please sign into the server as root: 
Create the target directory (you can use a different path if you choose): 
mkdir –p /opt/aspera/var/redisbackup 

Schedule a crontab job to run the backup and cleanup by adding the following lines to root crontab. Open crontab in edit mode: 
Crontab –e 

#HSTS: Auto Backup Aspera Redis 
0 0 * * * /opt/aspera/bin/asredis -p 31415 BGREWRITEAOF >/dev/null 2>&1 

#HSTS: Copy and Re-name backup 
1 0 * * * /usr/bin/cp /opt/aspera/var/appendonly.aof /opt/aspera/var/redisbackup/appendonly_$(date “+\%d_\%b_\%Y_\%H”).aof 

#HSTS: Delete Backups older than 14 days 
2 0 * * * /usr/bin/find /opt/aspera/var/redisbackup/ -type f -iname ‘*.aof’ -mtime +14 -exec rm {} \; 

To learn more about PacGenesis, follow @PacGenesis on FacebookTwitter, and LinkedIn, or visit us at pacgenesis.com.

512-766-8715

YMP Admin

Recent Posts

How PacGenesis Helps Media & Entertainment Companies Move Large Files Securely

The Growing Need for Fast & Secure File Transfers in Media & Entertainment In the…

3 days ago

What is Throughput? An Explanation Of Throughput

Summary: Throughput is a critical metric used to measure the amount of data successfully processed…

4 days ago

The Future of Secure File Transfer: How PacGenesis Protects Your Data

Why Secure File Transfer is More Critical Than Ever In today’s digital world, businesses transfer…

1 week ago

Exploring Use Cases for Aspera

In an era where data is the backbone of nearly every industry, transferring large volumes…

2 weeks ago

Why Gaming and Software Companies Trust PacGenesis for Secure IP Transfers

The Importance of Protecting Intellectual Property in Gaming & Software Development In the gaming and…

2 weeks ago

Unlocking the Future of Cybersecurity: Key Takeaways from Trend Vision One’s Latest Innovations

The Evolving Cybersecurity Landscape As cyber threats become more sophisticated, businesses must stay ahead of…

3 weeks ago