Obsolete Releases > SME 8.x Contribs

Backup some users email and delete accounts

<< < (2/2)

guest22:
Create the account in Thunderbird, then go in off-line mode for all foders.

Ciao

guest

janet:
cyberfido


--- Quote ---How could I do this letting me in the future an easy restore of the information in case someone needs access to that account?
--- End quote ---

Archive the user home folders with tar, save them to USB attached to the server.
Then delete all those messages & other data files in the users home folder, off the server using mc or command line
Remember that backup is your ONLY copy of those messages & if it fails in the future you will not be able to restore anything, so make a second copy on a seperate disk for redundancy purposes.

Then lock the user accounts.

You can easily restore those messages & files directly to the server (in the correct format for the sme server mail server etc) if needed in future.

Something like this should do

cd /home/e-smith/files/users
mount the USB drive
tar -czvf /media/USBmount/username1.tar.gz username1
tar -czvf /media/USBmount/username2.tar.gz username2
tar -czvf /media/USBmount/username3.tar.gz username3
and so on...

See here for concepts
http://wiki.contribs.org/Backup_server_config#Copying_data_to_the_restored_server

cyberfido:
Thanks to all for the replies.
This forum is very precious.

Stefano:

--- Quote from: cyberfido on August 21, 2014, 08:02:40 PM ---P.P.S. It seems very strange for me to talk with an Italian in English :P

--- End quote ---

then come to italian language forum too ;-)

Navigation

[0] Message Index

[*] Previous page

Go to full version