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.

Warnning

Discussion in 'General Discussion' started by canbebegim, Feb 16, 2002.

  1. canbebegim

    canbebegim Registered

    Joined:
    Feb 16, 2002
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hello,


    Pls take intoconsideration this messege.

    This backup programs deleting usres directory (home) .

    Pls your are coreful.
     
  2. teck

    teck Well-Known Member

    Joined:
    Aug 10, 2001
    Messages:
    164
    Likes Received:
    0
    Trophy Points:
    16
  3. canbebegim

    canbebegim Registered

    Joined:
    Feb 16, 2002
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    this backup program deleting directorys in users directory.
    ex: /home/???

    and make backup files but this files not include homedir
    :(
    I like this problem.
     
  4. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    Hi, Im an Idiot! Have a great day!
     
  5. Site5-Matt

    Site5-Matt Well-Known Member
    PartnerNOC

    Joined:
    Aug 10, 2001
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    Confirmed.... just got an email from a customer saying that everything in /home is gone and replaced by .tar.gz files. I have not yet had the opportunity to see if these files contain the data that used to make up the accounts on the server, but suffice it to say that it's not good either way.

    I have disabled the cpbackup script, I would suggest that anyone and everyone run /scripts/updatenow and /scripts/upcp on their servers.

    Matt
     
  6. akashik

    akashik Active Member

    Joined:
    Oct 9, 2001
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Don't act like children - it's obvious english may not be his first language. I understood it perfectly. The backup script tarrs /home rendering the accounts five types of useless.

    Greg Moore
     
  7. bdraco

    bdraco Guest

    [quote:de544a4883][i:de544a4883]Originally posted by Site5-Matt[/i:de544a4883]

    Confirmed.... just got an email from a customer saying that everything in /home is gone and replaced by .tar.gz files. I have not yet had the opportunity to see if these files contain the data that used to make up the accounts on the server, but suffice it to say that it's not good either way.

    I have disabled the cpbackup script, I would suggest that anyone and everyone run /scripts/updatenow and /scripts/upcp on their servers.

    Matt[/quote:de544a4883]

    I've added a warning to not set your backup dir to /home in WHM (not sure why any one would do this in the first place though). I'll also add something to prevent you from making /home the backupdir.
     
  8. bdraco

    bdraco Guest

    Added checks preventing the backup dir being set to

    1. /home
    2. /usr
    3. /var
    4. A non dir (normal file)
    5. A symlink

    Hopefully this will prevent this from happening to anyone else.
     
  9. moronhead

    moronhead Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    706
    Likes Received:
    0
    Trophy Points:
    16
    [quote:eef4af9aff][i:eef4af9aff]Originally posted by bdraco[/i:eef4af9aff]

    Added checks preventing the backup dir being set to

    1. /home
    2. /usr
    3. /var
    4. A non dir (normal file)
    5. A symlink

    Hopefully this will prevent this from happening to anyone else. [/quote:eef4af9aff]
    Is / potentially in danger?


    [quote:eef4af9aff][i:eef4af9aff]Originally posted by iminteractive[/i:eef4af9aff]

    You like this problem? I would find it a little annoying.. I guess everyone IS different![/quote:eef4af9aff]
    Hmmm, you guys in Australia may be deeply involved with refugees and so on, but I don't think this forum is the place to air personal opinions (indirectly) or make personal remarks about other nationalities.
     
  10. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    Oh get a life, I wasn't bashing this guy because of his nationality or the way he speeks. He said & I Like This Problem&, I simply wanted to know why. Does free speech still exist?
     
  11. moronhead

    moronhead Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    706
    Likes Received:
    0
    Trophy Points:
    16
    [quote:499857f9a6][i:499857f9a6]Originally posted by iminteractive[/i:499857f9a6]

    Oh get a life, I wasn't bashing this guy because of his nationality or the way he speeks. He said & I Like This Problem&, I simply wanted to know why. Does free speech still exist?[/quote:499857f9a6]

    Oops! Have I touched a nerve here? Free speech is all yours ... providing it doesn't hurt! ;¬)
     
  12. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    Ok, topic over.. I have edited my post.. lets stay on topic shall we?
     
  13. bdraco

    bdraco Guest

    [quote:63eebabbad][i:63eebabbad]Originally posted by moronhead[/i:63eebabbad]

    [quote:63eebabbad][i:63eebabbad]Originally posted by bdraco[/i:63eebabbad]

    Added checks preventing the backup dir being set to

    1. /home
    2. /usr
    3. /var
    4. A non dir (normal file)
    5. A symlink

    Hopefully this will prevent this from happening to anyone else. [/quote:63eebabbad]
    Is / potentially in danger?
    [/quote:63eebabbad]

    There may be some cases where you might actually want to put in / depending on your setup.. if you have some type of chroot going you might need this...

    [quote:63eebabbad]

    [quote:63eebabbad][i:63eebabbad]Originally posted by iminteractive[/i:63eebabbad]

    You like this problem? I would find it a little annoying.. I guess everyone IS different![/quote:63eebabbad]
    Hmmm, you guys in Australia may be deeply involved with refugees and so on, but I don't think this forum is the place to air personal opinions (indirectly) or make personal remarks about other nationalities.
    [/quote:63eebabbad]
     
  14. maxhost

    maxhost Well-Known Member

    Joined:
    Jan 30, 2002
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    Can this backup script ben used to backup to a second hard drive?
    e.g. /drive2 ?

    will this work?

    Thanks
     
  15. bdraco

    bdraco Guest

    [quote:9c131fed3f][i:9c131fed3f]Originally posted by maxhost[/i:9c131fed3f]

    Can this backup script ben used to backup to a second hard drive?
    e.g. /drive2 ?

    will this work?

    Thanks [/quote:9c131fed3f]

    Just make sure its an empty harddrive .. The latest WHM should prevent you from putting anything that could be a bad thing in the destination. However there is no way to make it perfect (just like you can still login to a server and type rm -rf /)
     
  16. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    [quote:ba75237122][i:ba75237122]Originally posted by maxhost[/i:ba75237122]

    Can this backup script ben used to backup to a second hard drive?
    e.g. /drive2 ?

    will this work?

    Thanks [/quote:ba75237122]

    I think that is the best way .. this would be usefull if you had a fatal harddrive failure on a main drive. Might take a while to rebuild with a new drive but you would have 99% of everything you would need as far as user data. Nice feature Nick :)
     
  17. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    My bad for resurrecting this....
    :p

    I need some feedback from everybody using this feature. Are you having 100% consistent results with it? Do you trust it with your life, on the boxes that are using it? Have you ever had it lag for weeks/months at a time?

    The underlying problem here is: I don't have a clue where exactly the cpbackup.conf ties into, nor how /scripts/cpbackup ties in with anything whatsoever. I could be lazy as hell, or I could be completely missing something.

    Can a developer or other genius who has seen the guts of this from start to finish comment on how exactly &cpbackup& functions? I don't have enough detail on this, and I am done trusting something this critical when I don't know 100% of what is happening behind the scenes or what could be tripping it up.

    Please share feedback if you have time and/or any to spare
    thanks quad-billions ;)
     

Share This Page