Ayuda he movido mailman y ahora no va
He seguido esta guia y ahora no funciona, tengo el backup pero no se como puedo restaurarlo, por favor ayuda:
If mailman is the main reason that /usr is large, you could try leaving the binaries in place and only move the space-consuming items such as the logs, messages, and so on.
I cannot guarantee this will work even though I did test it on my own system, so you would want to create a backup for /usr/local/cpanel/3rdparty/mailman to /home or somewhere with space before you proceed:
After doing that, move only these directories in /usr/local/cpanel/3rdparty/mailman/ location: archives lists logs messages
After that, symlink them back to /usr/local/cpanel/3rdparty/mailman location:
Finally, chown for ownership to mailman:mailman:
If anything doesn't work properly, then you can revert to your backup copy that you ensured to make and try to figure out another option such as only moving the archives instead.
Original Post Here:
cp -R /usr/local/cpanel/3rdparty/mailman /home/mailman.bak
After doing that, move only these directories in /usr/local/cpanel/3rdparty/mailman/ location: archives lists logs messages
mkdir /home/mailman
cd /usr/local/cpanel/3rdparty/mailman
mv archives /home/mailman
mv lists /home/mailman
mv logs /home/mailman
mv messages /home/mailman
After that, symlink them back to /usr/local/cpanel/3rdparty/mailman location:
ln -s /home/mailman/archives /usr/local/cpanel/3rdparty/mailman/archives
ln -s /home/mailman/lists /usr/local/cpanel/3rdparty/mailman/lists
ln -s /home/mailman/logs /usr/local/cpanel/3rdparty/mailman/logs
ln -s /home/mailman/messages /usr/local/cpanel/3rdparty/mailman/messages
Finally, chown for ownership to mailman:mailman:
chown -R mailman:mailman /usr/local/cpanel/3rdparty/mailman/{archives,lists,logs,messages}
If anything doesn't work properly, then you can revert to your backup copy that you ensured to make and try to figure out another option such as only moving the archives instead.
Original Post Here:
-
Hello, Could you elaborate on the specific error message you receive, and why you are unable to restore the files that you backed up? Thank you. Translation: Hola, "Podr"a elaborar sobre el mensaje de error espec"fico que recibe, y por qu" usted no puede restaurar los archivos que hizo copia de seguridad? Gracias. 0 -
Finally its working, It takes almost an hour, I did not touch anything but now my emails are working perfectly. Could I delete the original mailman folder ( /usr/local/cpanel/3rdparty/mailman)? 0 -
Hello, Make sure all of the data is on the new partition before removing the data, and ensure the symbolic links are added. Thank you. 0 -
How can I do that? can you help me please? 0
Please sign in to leave a comment.
Comments
5 comments