backup-domian.pl question

Using backup-domain.pl, I need to be able to backup one domain to a specific backup directory

Details are:

Fedora core 6
Domain is abcdeals.ca

Backup directory is /backups

I have used the following syntax in a script and also the command line and I can not get it to work

cd /usr/libexec/webmin/virtual-server

./backup-domain.pl /backups/abcdeals.ca.gz abcdeals.ca

Any suggestions?

Try this

/usr/libexec/webmin/virtual-server/backup-domain.pl --domain abcdeals.ca --dest /backups/abcdeals.ca.gz --all-features --newformat --ignore-errors

Chris

Also to backup every domain, and your vmin settings you can use this

/usr/libexec/webmin/virtual-server/backup-domain.pl --dest /backups --all-domains --all-features --all-virtualmin --separate --newformat --ignore-errors