1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-29 11:21:54 +03:00
samba-mirror/upgrading-samba4.txt

17 lines
702 B
Plaintext
Raw Normal View History

Upgrading from an older samba4 installation.
* 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
2009-12-01 05:03:17 +03:00
* run ./scripting/bin/upgradeprovision -s <path to smb.conf in samba4 install>
* do make install
2009-12-01 05:03:17 +03:00
This will do the minimum (safest) upgrade of the data.
2009-12-01 05:03:17 +03:00
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.