I have an SME server 9 and backed up the config from 'Backup to desktop' - after moving users and ibays to a temp folder (got this process from a post a while ago on moving from sme 8 to 9)
using
'mv /home/e-smith/files/users /temp' and same for ibays
then did the 'backup to desktop' to produce smeserver.tgz
then moved ibays and users back
'mv /temp/users /home/e-smith/files/' and same for ibays
then produce compressed files for users and ibays using
'tar -czvf /temp/users.tar.gz users' and same for ibays
copied these .gz files to my desktop
Install SME 10.1 to new disks
restore smeserver.tgz when asked
unpack .gz files using
cd /home/e-smith/files/
'tar -xvzf users.tar.gz' and same for ibays
went in to run some programs to find out that permissions were not moved over for a lot of files, so for some .exe and .dll they were -rw-rw----, when on the old sme 9 server they were -rwxrw----, so the execute permission is no there.
Just wondering what I may have done wrong here, when I moved from 8 to 9 it worked ok - my understanding is that tar would preserve the permissions, but it seems to not have.
Did some looking and found the -p flag in tar, but not much there, so also tried
'tar -p -xvzf users.tar.gz', but same problem
any help appreciated !
thank you