Backup will contain all your site settings. So new restored instance also will have the same S3 configuration.