Ganael LAPLANCHE
2003-Sep-03 15:46 UTC
[Samba] Backing up NT4 shares - migration from NT4 to Samba
Hi all, I'm trying to mygrate my NT4 PDC to a Samba v3rc2 PDC. Everything worked well during accounts migration (vampire). I'm now trying to back-up the shares (homes, profiles, netlogon), in order to fully migrate the accounts. Unfortunately, I'm facing a stupid problem : each home directory (or profile directory) can only be read from its creator, NOT from the Administrator of the machine. So, I can't use smbclient (then the tar command) or smbtar, because I always get an "access denied" error. How can I easily create an archive of each share ? I don't want to reset each right on each folder/file and to give me permissions !!! I thought the Admin could do everything... isn't it right on NT ? How do you, admins, make backups of data you can't read ???? Thank you very much, Regards, Gana?l LAPLANCHE.
Leonardo Boselli
2003-Sep-03 16:29 UTC
[Samba] Backing up NT4 shares - migration from NT4 to Samba
Il 3 Sep 2003 alle 17:46, Ganael LAPLANCHE immise in rete:> I'm now trying to back-up the shares (homes, profiles, netlogon), in order > to fully migrate the accounts. Unfortunately, I'm facing a stupid problem : > each home directory (or profile directory) can only be read from its > creator, NOT from the Administrator of the machine. So, I can't use > smbclient (then the tar command) or smbtar, because I always get an "access > denied" error. How can I easily create an archive of each share ? I don't > want to reset each right on each folder/file and to give me permissions !!! > I thought the Admin could do everything... isn't it right on NT ? How do > you, admins, make backups of data you can't read ????If the owner of the fil;e choose to deny access to every other people, this include the domain administrator. To get the data you should log as administrator, then GET the ownership of the files/directories. then you cannot still read, but you can at this time chanmge permission, and then backup. Here i recommend all user NOT to deny access to domain administratopr, otherwise their data will not be backed up in the event of a disk failure ! -- Leonardo Boselli Nucleo Informatico e Telematico del Dipartimento Ingegneria Civile Universita` di Firenze , V. S. Marta 3 - I-50139 Firenze tel +39 0554796431 cell +39 3488605348 fax +39 055495333 http://www.dicea.unifi.it/~leo