Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

Backup UCS script with Ansible

tork
Nimbostratus
Nimbostratus

Hi experts,

I am writing an Ansible script to backup UCS files through API calls (FTP is not an option as it requires bash access) and hit the issue when the file is bigger than the max chunk size (1048576). I found a way to download the file in pieces using the Content-Range header, but it is still challenging to merge all the pieces as I cannot do that locally on the Ansible host and looks like Ansible does not provide the merging functionality. Anyone with an idea of doing this through Ansible?

Thanks a lot.

1 ACCEPTED SOLUTION

Lee_Sutcliffe
Nacreous
Nacreous

Have you seen this code share?

https://devcentral.f5.com/s/articles/archive-backup-of-f5-using-ansible-1187

View solution in original post

2 REPLIES 2

Lee_Sutcliffe
Nacreous
Nacreous

Have you seen this code share?

https://devcentral.f5.com/s/articles/archive-backup-of-f5-using-ansible-1187

tork
Nimbostratus
Nimbostratus

Thanks a lot Lee for the hint 😊 Tested the code and looks fine