Init backup manually (not legacy)

FeeReD

Well-Known Member
Dec 1, 2005
63
0
156
I am trying to manually initiate the backup of the accounts on our server and can't find the command that would do that. I know the legacy command is "/scripts/cpbackup" but that doesn't help.

I've selected the backup to be daily. When does this process usually happen? Will it happen today or will it start backing up tomorrow?

Cheers

--
Could someone move this into "Data Protection" sub forum. Thank you!
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

You can use the following command:

Code:
/usr/local/cpanel/bin/backup --force
By default, it starts at 2AM your server time every day.

Thank you.
 

FeeReD

Well-Known Member
Dec 1, 2005
63
0
156
Hello :)

You can use the following command:

Code:
/usr/local/cpanel/bin/backup --force
By default, it starts at 2AM your server time every day.

Thank you.
Thank you Michael. I ran the backup and this is what was generated in the log file:

Code:
root@cpanel [/]# /usr/local/cpanel/bin/backup
info [backup] Started at Tue Dec 17 14:21:31 2013
info [backup] Validating remote transports
info [backup] Process started in background.
info [backup] Log file: /usr/local/cpanel/logs/cpbackup/1387308091.log
root@cpanel [/]# tail -f /usr/local/cpanel/logs/cpbackup/1387308091.log
/bin/gtar: Removing leading `/' from member names
/bin/gtar: /var/lib/mysql/mysql.sock: socket ignored
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: /var/cpanel/dnsadmin/sock: socket ignored
/bin/gtar: Removing leading `/' from hard link targets
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
[backup] System backups will not be uploaded to any remote destinations
I looked in the "Restore Backup" and there was no backup available. Shouldn't I see options to restore specific accounts or restore entire backup for that matter?

-- edit

After looking into the /backup folder, no files where backed up.

-- edit

Sorry, just noticed a "Select Accounts". I feel like this option shouldn't be nested. There should be a "Backup All Accounts" checkbox or if unchecked, then click "Select Accounts"
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Sorry, just noticed a "Select Accounts". I feel like this option shouldn't be nested. There should be a "Backup All Accounts" checkbox or if unchecked, then click "Select Accounts"
I suggest opening a feature request for this via:

Submit A Feature Request

Thank you.