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