canbebegim

Registered
Feb 16, 2002
2
0
301
Hello,


Pls take intoconsideration this messege.

This backup programs deleting usres directory (home) .

Pls your are coreful.
 

canbebegim

Registered
Feb 16, 2002
2
0
301
this backup program deleting directorys in users directory.
ex: /home/???

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

haze

Well-Known Member
Dec 21, 2001
1,540
3
318
Hi, Im an Idiot! Have a great day!
 

Site5-Matt

Well-Known Member
Aug 10, 2001
79
0
306
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
 

akashik

Active Member
Oct 9, 2001
33
0
306
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
 
B

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.
 
B

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.
 

moronhead

Well-Known Member
Aug 12, 2001
706
0
316
[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.
 

haze

Well-Known Member
Dec 21, 2001
1,540
3
318
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?
 

moronhead

Well-Known Member
Aug 12, 2001
706
0
316
[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! ;¬)
 

haze

Well-Known Member
Dec 21, 2001
1,540
3
318
Ok, topic over.. I have edited my post.. lets stay on topic shall we?
 
B

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]
 

maxhost

Well-Known Member
Jan 30, 2002
72
0
306
Can this backup script ben used to backup to a second hard drive?
e.g. /drive2 ?

will this work?

Thanks
 
B

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 /)
 

rpmws

Well-Known Member
Aug 14, 2001
1,787
10
318
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 :)
 

feanor

Well-Known Member
Aug 13, 2001
835
0
316
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 ;)