The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Init backup manually (not legacy)

Discussion in 'General Discussion' started by FeeReD, Dec 17, 2013.

  1. FeeReD

    FeeReD Well-Known Member

    Joined:
    Dec 1, 2005
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    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!
     
    #1 FeeReD, Dec 17, 2013
    Last edited: Dec 17, 2013
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  3. FeeReD

    FeeReD Well-Known Member

    Joined:
    Dec 1, 2005
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    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"
     
    #3 FeeReD, Dec 17, 2013
    Last edited: Dec 17, 2013
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I suggest opening a feature request for this via:

    Submit A Feature Request

    Thank you.
     
Loading...

Share This Page