-o root=home
occ backup:target:add local local -a null::null -o datadir=/mnt/backup
```
diff --git a/screenshots/1-backups.png b/screenshots/1-backups.png
new file mode 100644
index 0000000..9f15258
Binary files /dev/null and b/screenshots/1-backups.png differ
diff --git a/screenshots/2-restore.png b/screenshots/2-restore.png
new file mode 100644
index 0000000..c4ee2b9
Binary files /dev/null and b/screenshots/2-restore.png differ
diff --git a/screenshots/3-settings.png b/screenshots/3-settings.png
new file mode 100644
index 0000000..2fea888
Binary files /dev/null and b/screenshots/3-settings.png differ
diff --git a/src/components/KeySetup.vue b/src/components/KeySetup.vue
index 16085f0..abeec2e 100644
--- a/src/components/KeySetup.vue
+++ b/src/components/KeySetup.vue
@@ -36,7 +36,7 @@
| {{ t('ng_backup', 'Slot {n}', { n: slot.slot }) }} |
{{ slot.label }} |
{{ slot.created ? new Date(slot.created * 1000).toLocaleDateString() : '' }} |
-
+ |
{{ t('ng_backup', 'New passphrase') }}
{{ t('ng_backup', 'Remove') }}
|
@@ -162,5 +162,6 @@ const confirm = () => guarded(async () => {
.ngb-form, .ngb-confirm { display: flex; flex-direction: column; gap: 12px; max-width: 600px; margin: 8px 0; }
.ngb-row { display: flex; gap: 8px; }
.ngb-table td { padding: 2px 12px 2px 0; }
+.ngb-actions { display: flex; gap: 4px; }
h3 { margin-top: 16px; font-weight: bold; }
diff --git a/src/components/RestoreBrowser.vue b/src/components/RestoreBrowser.vue
index d0f0f20..cd89e77 100644
--- a/src/components/RestoreBrowser.vue
+++ b/src/components/RestoreBrowser.vue
@@ -7,7 +7,7 @@
:description="t('ng_backup', 'Pick a restore point and a user folder or file. Restores run in the background and go through Nextcloud, so overwritten files keep their old content as a version and removed files go to the trash.')">
-
+
@@ -69,7 +69,7 @@ const busy = ref(false)
const error = ref('')
const message = ref('')
const modes = [
- { id: 'new-folder', label: t('ng_backup', 'Into a new folder "Restored " (nothing existing is changed)') },
+ { id: 'new-folder', label: t('ng_backup', 'Into a new folder "Restored {date}" (nothing existing is changed)', { date: 'YYYY-MM-DD HH.MM' }) },
{ id: 'merge', label: t('ng_backup', 'Into the original place, overwrite (old content kept as a version)') },
{ id: 'replace', label: t('ng_backup', 'Into the original place, overwrite and move files that are not in the backup to the trash') },
]
@@ -124,6 +124,7 @@ async function restore() {