The plan is not to restore straight from the data folder. I'm creating a script that:
1- Create a backup of all dbs
2- Rezip backups with AES256 encryption
3- Copies the encrypted backups to a remote location.
The double call works. The shell script didn't respond well to a redirect. I haven't tried the forward yet. I just thought there would be a way to do it in one operation. For this case, lag is not much of an issue because it's a shell and it's internal, but I've had similar cases in web applications with other functions, so I asked.