public void ArchiveBackup(BackupDetails details, string fileName)
        {
            if (!Directory.Exists(_settings.BackupDirectory))
                Directory.CreateDirectory(_settings.BackupDirectory);

            var path = Path.Combine(_settings.BackupDirectory, details.GenerateFileName());
            File.Copy(fileName, path, true);
        }
 private string GenerateFileName(BackupDetails details)
 {
     return string.Concat(_settings.Prefix, "/", details.GenerateFileName());
 }
 public void ArchiveBackup(BackupDetails details, string inputFile)
 {
     _service.AddObject(inputFile, _settings.Bucket, GenerateFileName(details));
 }