Issues backing up to S3

I am having a problem getting the backup to S3 a custom filename for the backup target. The backup works fine until I try to customize the filename (so I can have timestamped backups that don't overwrite each other).

I am backing up one virtual server, and have set the backup "File under bucket" name as %G%m%d%H%M.tar.gz.

I have also selected "Single archive file" as the Backup format. Also, "Do strftime-style time substitutions on file or directory name is checked."

When I attempt to run this backup I get the following output:

Starting backup of 1 domains to Amazon S3 bucket backup.goclio.com ..

Creating backup for virtual server *** ..

Copying virtual server configuration ..
.. done

Backing up Cron jobs ..
.. none defined.

Creating TAR file of home directory ..
.. done

Saving mail aliases ..
.. done

Saving mail and FTP users ..
.. done

Backing up mail and FTP user Cron jobs ..
.. none to backup

Copying Apache virtual host configuration ..
.. done

Copying Apache log files ..
.. done

Dumping MySQL database *** ..
.. done

Backing up DAV users file ..
.. done

Backing up Subversion repositories and configuration files ..
.. done

Creating final backup archive ..
.. archive failed!

Backup failed! See the progress output above for the reason why.

I can't really spot why this is failing, and the logs don't seem to provide any further output.

Worse, when I try to re-run the backup, I get the following output:

Copying virtual server configuration ..
.. done

Backing up Cron jobs ..
.. none defined.

Creating TAR file of home directory ..
.. TAR failed!

Backup failed! See the progress output above for the reason why.

After getting this error mesasge, Virtualmin becomes unresponsive and needs to be restarted to start behaving properly again.

This problem also seem to happen regardless of whether I use the strftime substitions or not (i.e. even a simple filename like "test" will fail).

Any help would be much appreciated.

Status: 
Closed (fixed)