|
|||
|
Hello!!
I want to perform a full backup of all accounts of cPanel, including DNS/Mysql data/Mails and the templates we can customize to generate VirtualHosts to Apache and so on. What´s the best way to do it ? Is it possible to perform this job using WHM ? I need to migrate all things to a new machine with cPanel. Thanks for advices. |
|
||||
|
Quote:
--- You can backup individual accounts by running: /scripts/pkgacct <username> Though, if you have automatic backups enabled, you may have a full server backup you can simply send to the new server and restore. That would likely be less time consuming than backing up/restoring each account manually.
__________________
Need technical assistance? You can find your best avenue for support at: http://support.cPanel.net -- cPanel David G., Lead Forum Administrator & cPanel Technical Sales Representative |
|
|||
|
"Though, if you have automatic backups enabled, you may have a full server backup you can simply send to the new server and restore. That would likely be less time consuming than backing up/restoring each account manually."
Dear sir, Performing this "full server backup", Will I have all the things I want such as DNS/Mysql database and users/mail and its box and so on??? Can I do this job from WHM ??? Thanks |
|
||||
|
Quote:
You can determine where your backups are located by viewing your backup configuration at: WHM -> Backup -> Configure Backup If your backups are stored locally, the backup destination will indicate where your backups can be found.
__________________
Need technical assistance? You can find your best avenue for support at: http://support.cPanel.net -- cPanel David G., Lead Forum Administrator & cPanel Technical Sales Representative |
|
|||
|
Dear sir,
I have automatic backup enabled on my server. That´s the output of the backup directory: root@webserver [/cpbackup/daily]# ls -lh total 2.6G drwx--x--x 5 root root 4.0K Dec 29 01:20 ./ drwx--x--x 4 root root 4.0K Oct 10 01:00 ../ -rw------- 1 root root 6.3M Dec 29 01:04 atacadin.tar.gz -rw------- 1 root root 212M Dec 29 01:04 baratudo.tar.gz -rw------- 1 root root 11M Dec 29 01:20 cooperat.tar.gz -rw------- 1 root root 1.1M Dec 8 01:19 demacola.tar.gz -rw------- 1 root root 37M Dec 29 01:01 demacol.tar.gz drwx------ 2 root root 4.0K Oct 8 01:00 dirs/ drwx------ 2 root root 4.0K Oct 21 01:00 files/ -rw------- 1 root root 6.0M Dec 29 01:02 megamixi.tar.gz -rw------- 1 root root 19M Dec 29 01:00 metodist.tar.gz -rw------- 1 root root 457K Dec 29 01:02 mixcotac.tar.gz -rw------- 1 root root 2.2G Dec 29 01:19 mixvarej.tar.gz -rw------- 1 root root 76K Dec 29 01:20 realsmc.tar.gz -rw------- 1 root root 22M Dec 29 01:04 smvitori.tar.gz -rw------- 1 root root 7.7M Dec 29 01:20 supereal.tar.gz -rw------- 1 root root 19M Dec 29 01:04 supergir.tar.gz -rw------- 1 root root 43M Dec 29 01:01 superkel.tar.gz drwxr-x--- 26 root ttradica 4.0K Oct 9 01:01 ttradica.0/ -rw------- 1 root root 19M Dec 29 01:01 ttradica.tar.gz -rw------- 1 root root 25M Dec 29 01:00 uniaosm.tar.gz Do I need to copy all the files (*.tar.gz) and the directories "dirs", "files" to have a full backup copy ?? After this proccess, how can I proceed ? Just pasting those files into the same directory at other server and restore them from WHM ??? Please, give some instruction. Thanks. |
|
|||
|
Quote:
where account is the cPanel username of the account.
__________________
JaguarPC |
|
|||
|
Restore Backup
Bom dia,
É melhor fazer os seguintes passos: ======================================== /scripts/restorepkg username DEPOIS FAZER chown -R username:username /home/username/ DEPOIS FAZER cd username chmod 755 OU 750 public_html ======================================== Cumps, Joao |
![]() |
| Thread Tools | |
| Display Modes | |
|
|