Run the cPanel backup manually from shell for selected accounts

MaRiOsGR66

Well-Known Member
Feb 18, 2011
112
1
68
cPanel Access Level
Root Administrator
Hello,

I have setup on cpanel the automatic daily backups to be compressed.

There are some accounts that use big amounts of disc space,
so I want to exclude them from the daily backup, but I don't want to leave them without backup at all.

So is there any way to manualy run the cpanel backup from ssh/console for these 2-3 accounts ?
( I will run it once a week via cron).

What the command would be?


thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
How can i run backup manually all account from ssh?

I added Destination and Transport by FTP
You can force a generation of backups on the new 11.38 backup system via:

Code:
/usr/local/cpanel/bin/backup --force
Thank you.
 
  • Like
Reactions: lihaibh