Tested on virtual machine before experimentation on working server.
VM with 4 GB Ram, 60 GB VDisk for Nethserver, 10 GB VDisk for Backup.
Nethserver 7.7.1908 all updated incl. nethserver-backup-data 1.6.5 and nethserver-restore-data 2.0.2
domain: test.vm
servername: nserver.test.vm
user: mario@test.vm
group: buero@test.vm
logged in old server manager with root@nserver.test.vm
created shared folder: test
owner group: buero@test.vm
write permissions for owner group
guest access no
browsable yes
no other ACL’s
checked with WinSCP or putty to /var/lib/nethserver/ibay/test shows: owner root, group buero@test.vm, permissions rwxrws—
connected as netdrive in Windows Explorer letter T: (\nserver\test) without problems
created some folders Test 1, Test 2, Test 3 from Windows Explorer
checked with WinSCP to /var/lib/nethserver/ibay/test/Test 1 shows: owner mario@test.vm, group buero@test.vm, permissions rwxrws— (same for Test 2 and Test 3)
created new some files (Textdocument 1.txt, Textdocument 2.txt) and copied some files (…xls, …doc, …pdf) in these folders from Windows Explorer
checked with WinSCP all files in /var/lib/nethserver/ibay/test/Test 1/ shows: owner mario@test.vm, group buero@test.vm, permissions rw-rw---- (same for Test 2 and Test 3)
from Cockpit partitioned virtual Disk 10 GB as GPT, formatted ext4, named backupdisk, mounted default (so result in not be mounted, otherwise will not be selectable as backup targed)
create data backup schedule
local disk check: “backupdisk: ext4 | 10G”
engine: restic
name: testrestic
Run Now working fine without errors
local disk seems automatically temporarily mounted to /mnt/backup-testrestic
view last log shows Backup Status Success
Repeated same steps for testing with rsync (name testrsync) and duplicity (name testduplicity)
After that in Windows Explorer renamed folder Test 1 (to Test 1 old), deleted folder Test 2, and deleted files in folder Test 3 (remaining folder Test 3)
in Cockpit opening applications-Restore Data-settings
choose backup “testrestic | USB-restic”
choose mode files or directories
searching for “test”
file tree shows folders Test 1, Test 2, Test 3 and files within there
selecting folders Test 1, Test 2, Test 3 by clicking automatically marking all files within there too
selecting overwrite and starting restore
in Windows Explorer showing up restored folders Test 1, Test 2 and remaining folder Test 3
Possible access only to folder Test 3 and files within there
Attempt to access folder Test1 and Test 2 not permitted
checked with WinSCP to /var/lib/nethserver/ibay/test/Test 1/ shows: owner root, group buero@test.vm, permissions rwx–s— (same for Test 2), so no read/write permissions for the group
remaining folder Test 3 still with original owner mario@test.vm, group buero@test.vm, permissions rwxrws— and therefore accessible
all files in these folders restored with correct owner mario@test.vm, group buero@test.vm, permissions rw-rw----
So problem only with restored folders, not with files and not with remaining folders
Same procedure with rsync not restoring completely nothing
With duplicity not restoring files/folders with “ä,ö,ü,etc.”, so not practicable in Germany
Funny is duplicity restoring folders with owner root, group buero@test.vm, permissions rwxr-sr-x, which means read for group (progress to restic but still no write) and also read for guest (formerly forbidden)
Sorry for very long description, but hope someone can repeat the steps and confirm or contradict.
@filippo_carletti what else configuration do you need, an how to upload ?
I’m still newbie in this forum