Forum Discussion

tork's avatar
tork
Icon for Nimbostratus rankNimbostratus
Sep 03, 2019
Solved

Backup UCS script with Ansible

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.

  • Have you seen this code share?

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

2 Replies

  • Have you seen this code share?

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

  • tork's avatar
    tork
    Icon for Nimbostratus rankNimbostratus

    Thanks a lot Lee for the hint šŸ˜Š Tested the code and looks fine