For backuping the databases we use a custom Groovy script, but currently this won't support custom classess such as Amazon S3.
Maybe it is good to include the posibility to make the use custom classess who easily could be import via the import command.