using the assemble module and backup recovery

Hi,

I really like the idea behind the “assemble” module. But what I cannot figure out is a good way to recover the backup file if a backup is created.

For example, if I do

assemble: src=/somedir/foo dest=/some/other/dir/bar backup=yes

If I need to reverse the process and find and recover bar., what then? Is there a preferred way to do that?

TIA,
-T

the backup flag has some issues.

We have been wanting to smite the “backup” feature of Ansible for a long time because it doesn’t make remote backups.

I suspect what is going to happen is the backup feature will not be enhanced and it will eventually be repurposed to work differently.

Thanks, Michael. It did seem like a kind of evolutionary dead-end. :slight_smile:

-T