Open DavidePrincipi opened 1 month ago
Released restic-wrapper
in https://github.com/NethServer/ns8-core/releases/tag/3.1.3
Restore user's mail folder:
restic-wrapper --backup 1 restore 'eb97369f:volumes/dovecot-data/first.user/Maildir/.Folder.Subfolder' -t '/srv/volumes/dovecot-data/davidep/Maildir/.RestoreTest'
The .RestoreTest
directory is created with root:root ownership and must be fixed to vmail:vmail. Directory contents have the correct owner, because they are restored from the backup.
The client (Evolution, Webtop) takes a while before listing the restored folder. I still do not grasp what is the condition that makes it suddenly visible 🤔
File server and Mail server store user data as files and folders: a single file or folder restore tool can be useful in case of accidental data removal.
Basic restore workflow:
Contents are restored to a separate folder, so the user can access by their side.
It was also requested the procedure to explore a NS8 Restic backup
Discussion https://mattermost.nethesis.it/nethesis/pl/x1ooc8ctmiyhjxhbxq1eiz9rch
See also
Sub-tasks:
restic-wrapper
command to manually extract individual files and directories from the app's Restic repository https://github.com/NethServer/ns8-core/pull/738restic-wrapper
admin's manual documentation https://github.com/NethServer/ns8-docs/pull/121