To compress a file or folder with tar run this: tar -cvf archive-name.tar directory_name To extract a file or folder with tar run this: tar -xvf archive-name.tar
If a customer happens to delete their emails you can still retrieve them from the cpanel backup system. This will take root access to move the files from the backup folder tot he customers account. You can extract a backup Continue Reading
You will need the MYSQL root password to run this. mysqldump -u root -p –all-databases > /bsackup/all_dbs.sql This code will drop it off in your /backup partition.
Most of the files are in the etc folder. Don’t forget the main dns zone folder: /var/named/
#!/usr/bin/perl # cPlicensing.net – scripts Copyright(c) 2003 cPlicensing.net. # All rights Reserved. # support@cPlicensing.net http://cPlicensing.net # Unauthorized copying is prohibited #Version: 0.01 use POSIX; $delete_old = ‘1’; #0 or 1, set to 1 to remove old account backups if($ARGV Continue Reading