These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Encrypted backups on the new forum.
This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
At the moment, I'm not sure it's possible to run a command on each file in the backup. To get something like that, you may want to file a Feature Request using the Support link above.
However, an alternative would be to use something like the "encfs" filesystem -- which encrypts a given directory.
With encfs, you would mount a given directory, copy the files there, and it automatically encrypts them for you. You can then copy the encrypted contents to your FTP server.
At the moment, I'm not sure it's possible to run a command on each file in the backup. To get something like that, you may want to file a Feature Request using the Support link above.
However, an alternative would be to use something like the "encfs" filesystem -- which encrypts a given directory.
With encfs, you would mount a given directory, copy the files there, and it automatically encrypts them for you. You can then copy the encrypted contents to your FTP server.
-Eric
Howdy,
You can use the command line tools for that.
After logging into your server as root via SSH, run this command: virtualmin backup-domain
You'll see a number of options you can use for backing up domains. That can all be run from within cron.
-Eric