Changes

From SME Server
Jump to navigationJump to search
337 bytes added ,  06:12, 31 March 2021
Line 51: Line 51:  
</syntaxhighlight>
 
</syntaxhighlight>
   −
You can then edit (WIP creation of db properties to handle that). Add you directories or files to include in the '''dir.list''' section, your exclusion in '''exclude.list''' section. Then check all your contribs are listed, and the associated destination are correct.<syntaxhighlight lang="bash">
+
You can then edit the script and Add you directories or files to include in the '''dir.list''' section, your exclusion in '''exclude.list''' section. Then check all your contribs are listed, and the associated destination are correct.<syntaxhighlight lang="bash">
 
vim /usr/bin/migratehelper.sh
 
vim /usr/bin/migratehelper.sh
</syntaxhighlight>Then run the script<syntaxhighlight lang="bash">
+
</syntaxhighlight>
 +
 
 +
Then run the script
 +
{{Warning box|When starting this script :
 +
it will create the list of files to backup, then it will stop services that could modify your backup
 +
*qmail.service
 +
*qpsmtpd.service
 +
*sqpsmtpd.service
 +
*ejabberd.service
 +
*smb.service
 +
*smbd.service
 +
*nmbd.service
 +
*httpd-e-smith.service
 +
 
 +
Do a pre-backup event and
 +
then create the tar file in /mnt/backup/smeserver.tgz
 +
}}
 +
<syntaxhighlight lang="bash">
 
/usr/bin/migratehelper.sh
 
/usr/bin/migratehelper.sh
 
</syntaxhighlight>
 
</syntaxhighlight>
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu