|
|||
|
Hello !
I'm totally new to managing a server... I want first to learn how to make a backup. I have only one account. There is a backup tool in cpanel, but I'm worried about this point : what should I know that is not said ? I suppose the backup is done automatically, once you have enabled it in "Configure backup/Backup Status". I see it is set as disabled by the person who installed everything on the server... why ? Once I have enabled it, what should I do ? I suppose I must download the compressed file through my ftp client, and, is this all I have to do to backup ? I have other questions : 1-What is the use of choosing "Per Accounts and Entire Mysql Dir" instead of "Per accounts only" ? Why should I choose the second (which has been set default) instead of the first ? 2-Should I backup raw access logs ? (I don't know what it is) Thank you for your help and pieces of advice ! :-) AJ Last edited by SecondSight; 07-01-2004 at 01:43 PM. |
|
||||
|
by default the backup comes disabled. there is no issue enabling it.
there is no need that you download the whole thing using ftp. check if you have a folder named /backup. make backup type to standard and select daily backup. now check if backup destination is /backup. If yes .. SAVE settings. you will have daily backup populated at the /backup folder. Per Accounts and Entire Mysql Dir : will make a backup of the domain database inside a folder named mysql inside the folder homedir at the /backup/cpbackup/username and also a complete backup of /var/lib/mysql no need for a raw-access log .. but if u have customers adament about it.. then mayb u should. lemme know if u have any further questions. while the other one neglects /var/lib/mysql i suggest the option
__________________
linux-image AIM: "tux image" Msn: "tux_image@hotmail.com" Yahoo: "masternikx" http://admin-ahead.com Open Tickets: https://www.ticketforge.com FAQ's: http://scriptmantra.info/ Tips: http://tips.admin-ahead.com |
|
|||
|
It seems like everything is ok.
I have one more question (a matter of language :-) : >>> there is no issue enabling it. I don't understand this sentence. In the WHM, I have : Quote:
Thank you !
|
|
||||
|
Quote:
it shld be enabled ![]() by the way am i tht bad in english
__________________
linux-image AIM: "tux image" Msn: "tux_image@hotmail.com" Yahoo: "masternikx" http://admin-ahead.com Open Tickets: https://www.ticketforge.com FAQ's: http://scriptmantra.info/ Tips: http://tips.admin-ahead.com |
|
|||
|
No, you are not
It's just that I don't understand this word : issue. I only have one drive and one domain, so it will be saved in the backup directory. I have enabled the backup( I've checked the "Enabled" radio button). Thank you for your help
|
|
|||
|
Quote:
Since you have only 1 hard disk and I suggest you SSH to your server and manaully backup the entire account by this command: 1. /scripts/pkgacct2 username 2. cd /home 3. chmod 755 *.tar.gz 4. mv /home/*.tar.gz /home/username 5. Open a FTP session to your host and download it to your local computer. 6. Make sure you DELETE it after download as you don't want to leave it there. Hope it helps.
__________________
http://www.eazistore.com - Web Hosting Services |
|
|||
|
Quote:
Thanks br3ach
__________________
br3ach |
|
|||
|
restore accounts
Quote:
I have sent a post before. Here I copy and paste for your reference again: BACKUP SSH to your server and run this command /scripts/pkgacct2 username ---> this will tar the user account cd /home --> change directory to user home chmod 755 username.tar.gz --> set the permission mv /home/username.tar.gz /home/youraccount --> move the file to your OWN folder as you wish Then open a FTP session and you should be able to see the username.tar.gz at your /home/youraccount folder Download it to your local computer. ------------------ RESTORE Upload the username.tar.gz to your server. SSH to your server and run this command. mv /home/youraccount/cpmove-username.tar.gz /home --> move the file to the home directory /scripts/restorepkg username --> restore the account fully rm cpmove-username.tar.gz --> remove the .tar.gz file Lastly go to WHM and DNS/Name Server (BIND) Hope this helps.
__________________
http://www.eazistore.com - Web Hosting Services |
|
|||
|
Quote:
Thanks for adding the phrase Restart
__________________
http://www.eazistore.com - Web Hosting Services |
|
|||
|
U can do that on WHM under Backup Functions.
Restore a Full Backup/cpmove file *Remember to put the backup-....tar.gz file on the indicated directories and type the correct username on the field.
__________________
Hey, take a free time and see us http://wazzzup.com.br! |
|
|||
|
I backed up ALL accounts and had to reimage the main drive.
So now I have /drv2/backup/cpmonthly/blah blah How to I RESTORE cpanel using this. I am not wanting to do just one user but all 100 users
__________________
Donny J Lairson http://www.gunmuse.com He who laughs last thinks the slowest. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|