Skip to main content

Manually initiate backup with Amazon S3

Comments

6 comments

  • Infopro
    I believe this command would force backups to run: /usr/local/cpanel/bin/backup --force
    0
  • tribulant
    [quote="Infopro, post: 1585872">I believe this command would force backups to run: /usr/local/cpanel/bin/backup --force

    Thanks, I'll try it out. Is this for the new backup system or the legacy backup system? All commands I found in the documentation and online keep telling me that the legacy backup system is disabled. That's the idea... I want to use the new backup system with Amazon S3 destination in version 11.42
    0
  • cPanelMichael
    Yes, you can force a generation of backups with the new backup system via: /usr/local/cpanel/bin/backup --force The legacy backup system uses: /usr/local/cpanel/scripts/cpbackup Thank you.
    0
  • tribulant
    [quote="cPanelMichael, post: 1587211">Yes, you can force a generation of backups with the new backup system via: /usr/local/cpanel/bin/backup --force The legacy backup system uses: /usr/local/cpanel/scripts/cpbackup Thank you.
    Excellent, thank you very much! This was very useful and I'm sure that others will find it useful too.
    0
  • luminary
    [quote="cPanelMichael, post: 1587211">Yes, you can force a generation of backups with the new backup system via: /usr/local/cpanel/bin/backup --force The legacy backup system uses: /usr/local/cpanel/scripts/cpbackup Thank you.
    When I did this, I received the following error in the log file: /bin/gtar: /var/cpanel: file changed as we read it [backup] Failed to perform full backup of /var/cpanel/ to /backup/2014-11-10/system/dirs/_var_cpanel.tar.gz
    Is this only because it was a forced backup? Will a regularly scheduled backup work?
    0
  • cPanelMichael
    It failed due to the following message: [QUOTE]/bin/gtar: /var/cpanel: file changed as we read it
    The /var/cpanel directory or it's contents changed as it was read. It's likely a rare occurrence for that to happen, but monitor your backup logs in /usr/local/cpanel/logs/cpbackup to see if it continues to occur. Thank you.
    0

Please sign in to leave a comment.