feat(xo-web): show if an incremental backup is a delta or a full
This commit is contained in:
parent
e13d55bfa9
commit
cec8237a47
@ -25,6 +25,8 @@ function formatVmBackup(backup) {
|
||||
name_description: backup.vm.name_description,
|
||||
name_label: backup.vm.name_label,
|
||||
},
|
||||
differencingVhds: Object.values(backup.isVhdDifferencing).filter(t => t).length,
|
||||
dynamicVhds: Object.values(backup.isVhdDifferencing).filter(t => !t).length,
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
||||
- [Plugin/auth-saml] Add _Force re-authentication_ setting [Forum#67764](https://xcp-ng.org/forum/post/67764) (PR [#7232](https://github.com/vatesfr/xen-orchestra/pull/7232))
|
||||
- [HTTP] `http.useForwardedHeaders` setting can be enabled when XO is behind a reverse proxy to fetch clients IP addresses from `X-Forwarded-*` headers [Forum#67625](https://xcp-ng.org/forum/post/67625) (PR [#7233](https://github.com/vatesfr/xen-orchestra/pull/7233))
|
||||
- [Backup]Use multiple link to speedup NBD backup (PR [#7216](https://github.com/vatesfr/xen-orchestra/pull/7216))
|
||||
- [Backup] Show if disk is differential or full in incremental backups (PR [#7222](https://github.com/vatesfr/xen-orchestra/pull/7222))
|
||||
|
||||
### Bug fixes
|
||||
|
||||
@ -51,5 +52,6 @@
|
||||
- xo-server-auth-saml minor
|
||||
- xo-server-transport-email major
|
||||
- xo-server-transport-slack patch
|
||||
- xo-web patch
|
||||
|
||||
<!--packages-end-->
|
||||
|
@ -1790,6 +1790,9 @@ const messages = {
|
||||
availableBackupsColumn: 'Available Backups',
|
||||
backupRestoreErrorTitle: 'Missing parameters',
|
||||
backupRestoreErrorMessage: 'Choose a SR and a backup',
|
||||
backupisKey: 'key',
|
||||
backupIsIncremental: 'incremental',
|
||||
backupIsDifferencing: 'differencing',
|
||||
vmsToBackup: 'VMs to backup',
|
||||
refreshBackupList: 'Refresh backup list',
|
||||
restoreVmBackups: 'Restore',
|
||||
|
@ -644,9 +644,19 @@ const xoItemToRender = {
|
||||
backup: backup => (
|
||||
<span>
|
||||
<span className='tag tag-info' style={{ textTransform: 'capitalize' }}>
|
||||
{backup.mode}
|
||||
{backup.mode === 'delta' ? _('backupIsIncremental') : backup.mode}
|
||||
</span>{' '}
|
||||
<span className='tag tag-warning'>{backup.remote.name}</span>{' '}
|
||||
{backup.differencingVhds > 0 && (
|
||||
<span className='tag tag-info'>
|
||||
{backup.differencingVhds} {_('backupIsDifferencing')}{' '}
|
||||
</span>
|
||||
)}
|
||||
{backup.dynamicVhds > 0 && (
|
||||
<span className='tag tag-info'>
|
||||
{backup.dynamicVhds} {_('backupisKey')}{' '}
|
||||
</span>
|
||||
)}
|
||||
{backup.size !== undefined && <span className='tag tag-info'>{formatSize(backup.size)}</span>}{' '}
|
||||
<FormattedDate
|
||||
value={new Date(backup.timestamp)}
|
||||
|
Loading…
Reference in New Issue
Block a user