From 5c2db53358ac4769833c2b14c69a8a6e9f91d649 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 1 Dec 2009 13:03:17 +1100 Subject: Improve upgrade instructions --- upgrading-samba4.txt | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) (limited to 'upgrading-samba4.txt') diff --git a/upgrading-samba4.txt b/upgrading-samba4.txt index b84bbaba03..85e4699063 100644 --- a/upgrading-samba4.txt +++ b/upgrading-samba4.txt @@ -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 * 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. -- cgit