From 368ad28a6e95911739f6ad1485b63e87cf2adcc6 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 12 Sep 2011 20:41:29 +1000 Subject: doc: suggest samba-tool dbcheck in upgrading-samba4.txt Autobuild-User: Andrew Bartlett Autobuild-Date: Mon Sep 12 14:24:20 CEST 2011 on sn-devel-104 --- upgrading-samba4.txt | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'upgrading-samba4.txt') diff --git a/upgrading-samba4.txt b/upgrading-samba4.txt index 9dc4636296..3e9ffe0b9a 100644 --- a/upgrading-samba4.txt +++ b/upgrading-samba4.txt @@ -7,12 +7,15 @@ Upgrading from an older samba4 installation. go into the directory where your samba4 provision is stored (/usr/local/samba by default) do tar cf $HOME/backup.tar private etc var sysvol * Go into the source4 dir -* run ./scripting/bin/upgradeprovision -s * do make install +* run 'samba-tool dbcheck' -This will do the minimum (safest) upgrade of the data. +This will do a consistency check of the data, and is all most existing +installations will require. -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. +If you are upgrading from a quite old provision (Samba 4.0 alpha 13 or +earlier) then running upgradeprovision will do an upgrade of security +descriptors, and upgradeprovision --full will perform 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