Skip to main content

Any way to force backup and upload only specific accounts?

Comments

7 comments

  • cPanelMichael
    Is there any way I can run /usr/local/cpanel/bin/backup --force but specifying only a couple accounts a need to backup AND that force the upload to the Additional Destinations.

    Hello :) Could you elaborate further on how this is different from the backup user selection feature? Thank you.
    0
  • LostNerd
    As Michael says above, it sounds like you just need the Backup User Selection. If a user has its backup switched off here, running the backup via the CLI will respect these settings and only backup users with their settings set respectively.
    0
  • Kent Brockman
    Hello guys, maybe I incorrectly put the idea. What I want is that when I force the backup for one account, the process also upload the generated tar.gz file to the Additional Destinations configured in the backup screen. Currently, if you run /scripts/pkgacct, it only packs the user account. Also, if you run /usr/local/cpanel/bin/backup --force, it will backup and upload ALL of the hosted accounts. But from time to time, there are eventual issues where it would be valuable if I could force backup for a specific account and this could lead to the upload of the .tar.gz file to the configured Additional Destination. Got it? It's not that I want accounts to be excluded from backups. I know how to exclude them. What I want is to eventually be able to force backup of one specific account out of schedule, and automatically upload it to the remote destination. Any way to accomplish this or should it be considered a feature request? Thanks!
    0
  • Infopro
    be able to force backup of one specific account out of schedule, and automatically upload it to the remote destination.

    You can do this right now from within the cPanel account.
    0
  • LostNerd
    The only way I can see of doing this for the time being is using the backup wizard from with the client cPanel account. You can specify a remote destination for that backup cycle. The only limitation of this is that details must be entered manually each time and not all platforms (S3 for example) are supported via this method yet.
    0
  • cPanelMichael
    Got it? It's not that I want accounts to be excluded from backups. I know how to exclude them. What I want is to eventually be able to force backup of one specific account out of schedule, and automatically upload it to the remote destination.

    This is currently not possible so you would have to open a feature request via: Submit A Feature Request Thank you.
    0
  • Kent Brockman
    This is currently not possible so you would have to open a feature request via: Submit A Feature Request Thank you.

    Yes, I will. Thanks for understanding my request :)
    0

Please sign in to leave a comment.