cancel
Showing results for 
Search instead for 
Did you mean: 

Shares and restore

N/A

Shares and restore

at work we had a shared area that we backed up which had shares and permissions

We tried restoring that folder in a different machine, all shares were gone but permisisons were thier? any ideas on how i can get the shares back

we also tried restoring that folder in the same machine but shares were still not appearing?
2 REPLIES
N/A

Re: Shares and restore

Quote
at work we had a shared area that we backed up which had shares and permissions

We tried restoring that folder in a different machine, all shares were gone but permisisons were thier? any ideas on how i can get the shares back

we also tried restoring that folder in the same machine but shares were still not appearing?


Are you using rsync?

rsync -ave ssh --delete machine_name:/path/to/directory/to/copy .


it should preserve all permissions etc set on the original file system and copy them to the new location.
MysteryFCM
Grafter
Posts: 528
Registered: 30-08-2007

Shares and restore

Question is, did you backup the shares at the system level, or just the shares at the file system level?.

If you backup shares including settings, these will be restored perfectly when needed. However, if you only back them up at the file system level then whilst the files/folders will be restored, the share settings for them will not be (permissions are attatched to the files/folders so are seperate from the share settings).