public async void BackupDatabase() { var timestamp = DateTime.Today.ToString("ddMMyyyy"); var defaultFileName = $"CruiseDatabaseBackup_{timestamp}.crz3db"; var backupPath = await FileDialogService.SelectBackupFileDestinationAsync(defaultFileName : defaultFileName); if (string.IsNullOrEmpty(backupPath) == false) { FileSystemService.CopyTo(DataserviceProvider.DatabasePath, backupPath); } }