Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2004
    Chicago, IL

    What user does CPanel's backup proccess use?


    Does anyone know what user does CPanel's backup proccess use? Or do you know of a better backup script for cpanel boxes?
    Ben Lenard, MS, MBA
    TechMinds 4 Hire, Inc - (866) 214-1285 x 2001

  2. #2
    Back-up script in cpanel is initiated through cron. So the user is root.
    The script is cpbackup.
    To get a better back-up, we must ourself make one.

  3. #3
    Join Date
    Nov 2004
    Originally posted by technocatch
    To get a better back-up, we must ourself make one.
    If anyone knows of anything better, I'm all ears. I think something rsync based is going to be the way to go, as it should be possible to keep days of history with very little bandwidth requirement. Problem with compressed tar dumps of each account is that they're always different by the time they're compressed, and so they always transfer. If you use rsync, it only transfers changed files.

    I would love to get something going along the lines of rsnapshot or rlbackup. That is, each file is only backed up once and linked to various places in the backup tree until it changes, when a new copy is put in place.

    We'd also need something smart enough to dump MySQL intelligently -- possibly just a mysqldump, if possible in such a way the file doesn't change, but possibly a raw database table dump might be more effective (faster and doesn't change randomly when the data hasn't changed). Anything else not in the home directory would also need to be dumped somehow.

    The idea in my head is that it would backup to off-machine via rsync push. Perhaps nice if it worked via rsync pull as well for those who have to use that, but working with rsync push means dumb NAS devices can be used for the backup. Unfortunately rsnapshot does rsync push only.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts