Hey gusy,
I accidently deleted the wrong folder. But as I always have OMV's recycle bin activated, I wonder how to restore files.
I'm running 3.0.99 Erasmus and the drive is sda1.
How to find recycle bin directory?
-
- OMV 3.x
- gelöst
- ExRaspberry
-
-
Normally it should be in the folder '.recycle' in the share´s root directory. Assuming your are talking about SMB/CIFS shares.
-
Yes, I am. But where can I find it?
there's nothing under /mnt/... and /media/... is empty as well. -
Yes, I am. But where can I find it?
It depends of the configuration of your SMB/CIFS shares. Have you ever checked before if the recycle bin really works?
-
Filesystem:
/dev/sda1But on which path can I access the drive?
-
under
/dev/disk/by-label/BigFootI can see my share. But it's only a link.
/etc/openmediavault/config.xml says:
Code
Alles anzeigen<smb> <enable>1</enable> <workgroup>WORKGROUP</workgroup> <serverstring>%h server</serverstring> <loglevel>0</loglevel> <usesendfile>1</usesendfile> <aio>1</aio> <nullpasswords>0</nullpasswords> <localmaster>1</localmaster> <timeserver>0</timeserver> <winssupport>0</winssupport> <winsserver></winsserver> <homesenable>0</homesenable> <homesbrowseable>1</homesbrowseable> <extraoptions>min receivefile size = 16384 write cache size = 524288 getwd cache = yes socket options = TCP_NODELAY IPTOS_LOWDELAY</extraoptions> <shares> <share> <uuid>325a80a7-35c3-40c0-8fa0-44b5e5db3ee6</uuid> <enable>1</enable> <sharedfolderref>ce916047-a0b1-41f5-826d-9b2cda8ced54</sharedfolderref> <comment></comment> <guest>no</guest> <readonly>0</readonly> <browseable>1</browseable> <recyclebin>1</recyclebin> <recyclemaxsize>0</recyclemaxsize> <recyclemaxage>30</recyclemaxage> <hidedotfiles>0</hidedotfiles> <inheritacls>1</inheritacls> <inheritpermissions>0</inheritpermissions> <easupport>0</easupport> <storedosattributes>0</storedosattributes> <hostsallow></hostsallow> <hostsdeny></hostsdeny> <audit>0</audit> <extraoptions></extraoptions> </share> </shares> </smb>
-
Found it. Files restored
/srv/dev-disk-by-label-BigFoot/BigFoot/.recycle/[username]/path/to/my/deleted/files
Would never have had searched /srv if I didn't find it in config file
-
Use locate next time
locate .recycle
-
-
install the openmediavault-locate plugin or apt-get install mlocate
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!