Koozali.org: home of the SME Server

How to restore a shadow copy

Offline davidS

  • ***
  • 80
  • +0/-0
How to restore a shadow copy
« on: May 14, 2013, 08:55:00 AM »
Hello
I used the shadow copy and everything works good i can see the files on the server in .shadow, but not quite understand how to restore the files from the explorer
Can anyone please explain to me how ?
Thanks

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: How to restore a shadow copy
« Reply #1 on: May 14, 2013, 12:38:20 PM »
How did you set it up ? Following a wiki page ? this one: http://wiki.contribs.org/ShadowCopy ?

I tried it some time ago... but it was taking much space (making a whole copy of ibay) so I left it just on one small ibay. How much space it takes to you ?

If I remember correctly the correct way to recover is to right-click the file and go to the "previous version" tab where all previous versions will show up.
...

Offline davidS

  • ***
  • 80
  • +0/-0
Re: How to restore a shadow copy
« Reply #2 on: May 14, 2013, 03:50:19 PM »
hi
yes it does take some space but i need it .
the folder .shadow is in my home/e-smith/files folder and i didn't understand how to "restore from previous" from there .
also now in every ibay i have a short cut "@GMT-2013.05.13-20.43.13"  to the shadow copy folder of the ibay .
from windows explorer i can see only the ibays but not the shadow copy folder,and if i click right mouse and then "restore from privios" the list is empty and i need it to show the previos files.
i still didn't understend how to do it .

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: How to restore a shadow copy
« Reply #3 on: May 14, 2013, 04:31:08 PM »
Do you right click the FILE and see no "previous version" tab ?
...

Offline davidS

  • ***
  • 80
  • +0/-0
Re: How to restore a shadow copy
« Reply #4 on: May 15, 2013, 09:50:28 AM »
right click ? where ?
1. how does windows explorer will know where is the shadows copy files are ? if they are in the server and on a hidden folder' this is what i don't understand.

the server creates the shadows files in /home/e-smith/files/.shadows,  how do i continue from there ?
please can someone explain to me step by step how to restore the files ?

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: How to restore a shadow copy
« Reply #5 on: May 15, 2013, 02:06:03 PM »
AFAIK the ShadowCopy works for files , so you can find old versions of files.
You should right-click any file to see the older versions of it.

Jáder
...

Offline davidS

  • ***
  • 80
  • +0/-0
Re: How to restore a shadow copy
« Reply #6 on: May 15, 2013, 02:50:17 PM »
in windows yes, i know, but how do i find the older version of files in the sme server.
 i dont have a right click in the sme server right ???
so you always give me the same answer about windows explorer shadow copy ( that i already know the answer to), but i am asking for shadow copy of my sme server,
Quote
the server creates the shadows files in /home/e-smith/files/.shadows

please be relevant to my question.

Online Stefano

  • *
  • 10,839
  • +2/-0
Re: How to restore a shadow copy
« Reply #7 on: May 15, 2013, 02:52:49 PM »
sibony88

you've been told how to recover files from windows explorer, please to in that way..

AFAIK there's no an easy way to recover files from the shell

finally, please be gentle with the people trying to help you for free and from a remote location without seeing anything.. thank you

Online Stefano

  • *
  • 10,839
  • +2/-0
Re: How to restore a shadow copy
« Reply #8 on: May 15, 2013, 02:54:44 PM »
and, please, read here:

https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/VFS.html#id2651694

it seems to me that there's no way to recover files from the shell

Offline davidS

  • ***
  • 80
  • +0/-0
Re: How to restore a shadow copy
« Reply #9 on: May 15, 2013, 03:38:50 PM »
is there a way to share the .shadow folder so windows explorer will see the files ?

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: How to restore a shadow copy
« Reply #10 on: May 16, 2013, 01:25:02 AM »
sibony88

Quote
is there a way to share the .shadow folder so windows explorer will see the files ?

The shadow copy function just taps into the Windows feature, and you should "just see" the old versions of files.
You best describe what version Windows you are using, how your workstations are connected to the LAN (workgroup only or DOMAIN members), what other servers are on the LAN etc.

Have you tried on other versions of Windows, and what are the results.

I have not used this function for a few years, last back in the days of Windows XP and it worked OK then.

So maybe your problem is to do with Windows rather than sme server.
Please provide more details for analysis.

Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.