Force a backup of all accounts
- We will go to the terminal of our WHM.
- And we will place the following command:
/ usr / local / cpanel / bin / backup --force
- He will send us the following message:
[2021-03-25 11:54:00 -0600] info [backup] Started at Thu Mar 25 11:54:00 2021 [2021-03-25 11:54:00 -0600] info [backup] The backup is now running in the background in process 14948. [2021-03-25 11:54:00 -0600] info [backup] The backup process's log file is “/usr/local/cpanel/logs/cpbackup/1616694840.log”.
- This means that the backup is already running.
- To see the backup that we force, we must go to the backups folder:
cd / backup / ls
Force a single account backup
- We will go to the terminal of our WHM.
- We are located in the folder where we keep the user accounts.
- And we will place the following command:
/ usr / local / cpanel / scripts / pkgacct account_user
- Once it finishes generating the backup, an output like this will appear:
[2021-04-02 14:03:23 -0600] Done [2021-04-02 14:03:23 -0600] pkgacctfile is: /home/cpmove-mestudio.tar.gz [2021-04-02 14: 03:24 -0600] md5sum is: 2e9f30040e05a8901b4300e71cea6ef3 [2021-04-02 14:03:24 -0600] [2021-04-02 14:03:24 -0600] size is: 245090930 [2021-04-02 14: 03:24 -0600] [2021-04-02 14:03:24 -0600] homesize is: 336867328 [2021-04-02 14:03:24 -0600] [2021-04-02 14:03:24 - 0600] homefiles is: 3359 [2021-04-02 14:03:24 -0600] [2021-04-02 14:03:24 -0600] mysqlsize is: 1742299 [2021-04-02 14:03:24 - 0600] pkgacct completed
- On the line: pkgacctfile is: /home/cpmove-mestudio.tar.gz, it tells us in which route it was saved and with what name the backup was saved.
-
Force a single account backup from CPanel
- We enter our CPanel administrator.
- We seek the option of: Backups.
- We seek the option of: Full backups. and we click on the orange button Download a full account backup.
No Comment