Hi, I would like to appempt a SAFE upgrade on my samba server. ( Centos 5.2 ) Currently the version is: # /usr/sbin/smbd -V Version 3.0.28-1.el5_2.1 There are many users logging on to it and accessing the shares. The last time I tried this ( quite a while ago ) something broke and we had to re-join many windows machines. It would be nice to have a strategy for rolling back if something does not work. Where are all of the important files? Would anyone have any advice, suggestions, indications of what to read, etc...? Thanks, Bill
Hi, I use debian but this should be similar. To backup your important files, backup the /etc/samba and /var/lib/samba directories doing like this, after stop the samba daemon: # cp -a /var/lib/samba /var/lib/samba.bak # cp -a /etc/samba /etc/samba.bak Then you could do the upgrade. If something goes wrong, reinstall the old version and restore the copied directories. Regards, # cp -a /var/lib/samba /var/lib/samba.bak # cp -a /etc/samba /etc/samba.bak Then you could do the upgrade. If something goes wrong, reinstall 2009/9/21 Bill Szkotnicki <bszk at uoguelph.ca>:> Hi, > > I would like to appempt a SAFE upgrade on my samba server. ( Centos 5.2 ) > Currently the version is: > # /usr/sbin/smbd -V > Version 3.0.28-1.el5_2.1 > > There are many users logging on to it and accessing the shares. > > > The last time I tried this ( quite a while ago ) > something broke and we had to re-join many windows machines. > > It would be nice to have a strategy for rolling back if something does not > work. > Where are all of the important files? > > Would anyone have any advice, suggestions, indications of what to read, > etc...? > > Thanks, Bill > > -- > To unsubscribe from this list go to the following URL and read the > instructions: ?https://lists.samba.org/mailman/options/samba >
Thanks. In my case the .tdb files are in "/var/cache/samba" Is there a possibility that there are other files anywhere else? 1) /etc/samba 2) /var/cache/samba I was thinking of building from sources and then just trying the new daemon. That way I could go back to the old one easily if necessary. Joel Franco Guzm?n wrote:> Hi, > > I use debian but this should be similar. > > To backup your important files, backup the /etc/samba and > /var/lib/samba directories doing like this, after stop the samba > daemon: > > # cp -a /var/lib/samba /var/lib/samba.bak > # cp -a /etc/samba /etc/samba.bak > > Then you could do the upgrade. If something goes wrong, reinstall the > old version and restore the copied directories. > > Regards, > > # cp -a /var/lib/samba /var/lib/samba.bak > # cp -a /etc/samba /etc/samba.bak > > Then you could do the upgrade. If something goes wrong, reinstall > > 2009/9/21 Bill Szkotnicki <bszk at uoguelph.ca>: > >> Hi, >> >> I would like to appempt a SAFE upgrade on my samba server. ( Centos 5.2 ) >> Currently the version is: >> # /usr/sbin/smbd -V >> Version 3.0.28-1.el5_2.1 >> >> There are many users logging on to it and accessing the shares. >> >> >> The last time I tried this ( quite a while ago ) >> something broke and we had to re-join many windows machines. >> >> It would be nice to have a strategy for rolling back if something does not >> work. >> Where are all of the important files? >> >> Would anyone have any advice, suggestions, indications of what to read, >> etc...? >> >> Thanks, Bill >> >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba >> >>
Hummm. Build from scratch.. I understand that the data files live in /var/lib (except the bind, where it lives in /var/cache/bind). But if your files are there... You should pay attention in the *tdb files yes. This are the data files, and the files that live in /etc. 2009/9/22 Bill Szkotnicki <bszk at uoguelph.ca>:> Thanks. > In my case the .tdb files are in "/var/cache/samba" > Is there a possibility that there are other files anywhere else? > 1) /etc/samba > 2) /var/cache/samba > > I was thinking of building from sources and then just trying the new daemon. > That way I could go back to the old one easily if necessary. > > > Joel Franco Guzm?n wrote: >> >> Hi, >> >> I use debian but this should be similar. >> >> To backup your important files, backup the /etc/samba and >> /var/lib/samba directories doing like this, after stop the samba >> daemon: >> >> # cp -a /var/lib/samba /var/lib/samba.bak >> # cp -a /etc/samba /etc/samba.bak >> >> Then you could do the upgrade. If something goes wrong, reinstall the >> old version and restore the copied directories. >> >> Regards, >> >> # cp -a /var/lib/samba /var/lib/samba.bak >> # cp -a /etc/samba /etc/samba.bak >> >> Then you could do the upgrade. If something goes wrong, reinstall >> >> 2009/9/21 Bill Szkotnicki <bszk at uoguelph.ca>: >> >>> >>> Hi, >>> >>> I would like to appempt a SAFE upgrade on my samba server. ( Centos 5.2 ) >>> Currently the version is: >>> # /usr/sbin/smbd -V >>> Version 3.0.28-1.el5_2.1 >>> >>> There are many users logging on to it and accessing the shares. >>> >>> >>> The last time I tried this ( quite a while ago ) >>> something broke and we had to re-join many windows machines. >>> >>> It would be nice to have a strategy for rolling back if something does >>> not >>> work. >>> Where are all of the important files? >>> >>> Would anyone have any advice, suggestions, indications of what to read, >>> etc...? >>> >>> Thanks, Bill >>> >>> -- >>> To unsubscribe from this list go to the following URL and read the >>> instructions: ?https://lists.samba.org/mailman/options/samba >>> >>> >