mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
Improve upgrade instructions
This commit is contained in:
parent
5203128130
commit
5c2db53358
@ -1,24 +1,16 @@
|
||||
Upgrading from an older samba4 installation.
|
||||
|
||||
For users of samba4 alpha 8 and after
|
||||
=====================================
|
||||
|
||||
* Stop any samba process
|
||||
* Backup your samba4 provision:
|
||||
go in the directory where your samba4 provision is stored (/usr/local/samba by default)
|
||||
do tar cf $HOME/backup.tar private (it's also recommended to save the etc/smb.conf and var/sysvol dir aswell)
|
||||
* Go in the source4 dir
|
||||
* run ./scripting/bin/upgradeprovision
|
||||
* run ./scripting/bin/upgradeprovision -s <path to smb.conf in samba4 install>
|
||||
* do make install
|
||||
|
||||
For users of samba4 alpha 8 and after
|
||||
=====================================
|
||||
|
||||
* Stop any samba/smbd process
|
||||
* Backup your samba4 provision:
|
||||
go in the directory where your samba4 provision is stored (/usr/local/samba by default)
|
||||
do tar cf $HOME/backup.tar private (it's also recommended to save the etc/smb.conf and var/sysvol dir aswell)
|
||||
* Go in the source4 dir
|
||||
* run ./scripting/bin/upgradeprovision --full
|
||||
* do make install
|
||||
This will do the minimum (safest) upgrade of the data.
|
||||
|
||||
Runing upgradeprovision with --full will do a more comprehensive
|
||||
upgrade of the data (including schema and display specifiers). This
|
||||
attempts to do a new provision, and to then copy existing data into
|
||||
that database.
|
||||
|
Loading…
x
Reference in New Issue
Block a user