top of page
Search
Writer's pictureHTS Hosting

How to Run a Manual Backup


Here is all the information that is needed to run a manual backup.


You need to use the /usr/local/cpanel/bin/backup script for running a backup in WHM through the command line.


For running a backup manually, you are required to log in to the command line through SSH.


This log in needs to be done as a root user. Next you need to run the command that is being mentioned below.


/usr/local/cpanel/bin/backup


Options


The above-mentioned script (/usr/local/cpanel/bin/backup) accepts certain options that are mentioned below.


  • - - force


An additional backup is carried out by it, even when the system has backup files that are up-to-date.


  • - - debug


It enables the backup to run in the foreground. Its progress is printed by it on the command line.


  • - - help


Additional information is displayed by it.


Creating a cpmove archive for an account


The /usr/local/cpanel/scripts/pkgacct script can be used to create an account’s cpmove archive.


The following steps need to be carried out for using a custom packaging script-


  • The file /usr/local/cpanel/scripts/pkgacct needs to be copied and modified.


  • The modified pkgacct file needs to be stored in the /var/cpanel/lib/Whostmgr/Pkgacct/pkgacct directory.


  • The /usr/local/cpanel/bin/backup command needs to be run with the - -allow-override flag.


To digress, cPanel is a control panel that is meant for web hosting. Web hosting is a service that is provided by professional web hosting companies, such as HTS Hosting, for ensuring that websites are accessible over the Internet, and up and running at all times. In web hosting, server space is provided to store the files of websites. The technology and the services that are part of web hosting plans ensure that these pages get delivered from the web server to the Internet connected devices of users. This is how web hosting makes websites accessible to the Internet users. Web hosting companies provide various types of hosting services, such as shared, dedicated, VPS, reseller, cloud, WordPress etc. The most well-known Web hosting companies are often called as the “Best Windows Dedicated Hosting Company”, the “Best Linux Shared Hosting Company”, the “Top Cloud Hosting Company” etc.


7 views0 comments

Recent Posts

See All

コメント


Post: Blog2_Post
bottom of page