HostwareSupport-Linux Hosting technical support for cPanel, Plesk, Directadmin servers

Linux Hosting technical support for cPanel, Plesk, Directadmin and No control panel servers offers and listing
http://hostwaresupport.com/

Aug 8, 2011

How mail is restored from VDS accounts when it's archived

Simply fire few commands in client VDS...

[vds@root/]$ cd /var/spool/mail
[vds@root/]$ ls | grep test
test
test.20114506.gz
[vds@root/]$ zcat mkelly.20110806.gz >> test

OR

(root)>su - tune.com
[vds@tune.com /]$ cd /var/spool/mail
[vds@tune.com mail]$ ll | grep andy
-rw-rw---- 1 tune.com vuser 0 june 11:34 andy
-rw-rw---- 1 tune.com vuser 45782 Aug 27 12:25 andy.20110827.gz
[vds@tune.com mail]$ zcat andy.45784864.gz >> andy


Done..

No comments:

Post a Comment