Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jul 2004
    Posts
    9

    Default running pkgacct script on second drive

    Hello,

    I lease a dedicated server box from serverbeach and I have had them add a new primary drive to my box and reload cpanel on it. My old primary drive is now mounted as a secondary drive although I need to run the pkgacct or cpbackup scripts on the old secondary drive to create backups of my existing accounts. I would have run the backups initially prior to having this work done although in this situation server beach refused to allow me the time to do that or even access to my primary drive until they remounted it as a secondary drive (my box was supposedly compromised although no proof has been given to me).

    Regardless of that i really need to know how to force the backup scripts to run on the old drive (which fstabs at /mnt/olddrive) so that I may recover my websites to restore using whm. I have put in a support ticket with cpanel (and with serverbeach although serverbeach will not do any more to help in this situation) although i have so far not had any response from their staff. Any help in this matter would be greatly appreciated.

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,166
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    You should be able to mount and umount the drive with these from shell as root depending on your setup:

    mount /dev/sdb1
    umount /dev/sdb1

    You should be able to force a server backup using this:


    /scripts/cpbackup --force

    You might want to contact QT directly thru the forums over there. She can assist you with getting things going somehow, I'm sure.

    (and with serverbeach although serverbeach will not do any more to help in this situation)
    Well, it is unmanaged hosting after all. I have yet to have a single support issue with ServerBeach. There are many other options for you if you're unsure of what to do here, like hiring a professional if needed. You're restoring a server with no backups it sounds like. That can take some work.

Similar Threads & Tags
Similar threads

  1. pkgacct script very slow since WHM 11.25.x
    By cyon in forum Optimization
    Replies: 7
    Last Post: 04-28-2010, 10:12 AM
  2. pkgacct not running when backup runs
    By gflamerich in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-25-2006, 07:51 AM
  3. Questions about pkgacct script
    By TheKog in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-19-2006, 11:54 AM
  4. pkgacct script not consistent in saving mysql dbs
    By te2586 in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 01-12-2006, 04:37 AM
  5. pkgacct script acts different with cron
    By TCSLEA in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-24-2003, 10:30 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube