Re: lenny migration, part 4,862: samba
Robert P. J. Day wrote:
> On Thu, 17 Sep 2009, Emanoil Kotsev wrote:
>
>> Robert P. J. Day wrote:
>>
>> > /etc/samba/*
>>
>> Samba has some important stuff in /var/
>> /var/lib/samba
>> /var/run/samba
>> /var/spool/samba
>> /var/cache/samba
>> /var/log/samba
>
> quite right, i'd forgotten about that, but as i read it, pretty much
> all of that is transient content that will be (slowly?) regenerated as
> samba starts to run on the new system. if one looks at the relevant
> contents of the samba-common package, one sees:
>
> # dpkg --listfiles samba-common | grep /var
> /var
> /var/log
> /var/log/samba
> /var/cache
> /var/cache/samba
> /var/lib
> /var/lib/samba
> /var/run
> /var/run/samba
> #
>
> so that's just creating new empty directories. and as for the other
> package:
>
> # dpkg --listfiles samba | grep /var
> /var
> /var/spool
> /var/spool/samba
> /var/lib
> /var/lib/samba
> /var/lib/samba/printers
> /var/lib/samba/printers/COLOR
> /var/lib/samba/printers/W32MIPS
> /var/lib/samba/printers/W32ALPHA
> /var/lib/samba/printers/x64
> /var/lib/samba/printers/W32X86
> /var/lib/samba/printers/WIN40
> /var/lib/samba/printers/IA64
> /var/lib/samba/printers/W32PPC
> #
>
> so, technically, as long as i don't care about preserving the log
> files or cache, i can pretty much forget all of that. does that sound
> about right?
>
> rday
Somewhere there is the machine id stored as far as I remember, I would move
the files too or at least have a hot backup. It's important if using it as
domain controller etc.
regards
Reply to: