Bug/feature with old backup script

If you have a program or script that you'd like to give away or sell, this is the place to do it. All offers should include contact info.

Moderators: BBear, theunknownhost, flaguy

Post Reply
User avatar
Sapphyre
Official Test Penquin
Posts: 3337
Joined: Tue Nov 19, 2002 2:50 am
Location: Canada

Bug/feature with old backup script

Post by Sapphyre » Sat Feb 25, 2006 2:09 am

If you are using that old backup script in your CP's, you may want to edit this line in dobackup.cgi [I don't know if all of you have this named the same]


Code: Select all

open(TAR, "$tar_loc cPf $tar_temp $dir/* |");


I discovered the $dir/* is causing it to omit files beginning with a dot - such as .htaccess in this uppermost directory. It was still getting those files beginning with a dot from lower folders.

Code: Select all

open(TAR, "$tar_loc cPf $tar_temp $dir/ |");

Removing the asterisk will cause it to include those files beginning with a dot residing on this uppermost specified folder

User avatar
Arf
Official Test Penquin
Posts: 9103
Joined: Tue Apr 09, 2002 12:00 am
Location: IDAHO, USA
Contact:

Post by Arf » Sat Feb 25, 2006 7:47 pm

Did you tell Ala so that they can roll this out to all of us?

User avatar
Sapphyre
Official Test Penquin
Posts: 3337
Joined: Tue Nov 19, 2002 2:50 am
Location: Canada

Post by Sapphyre » Sat Feb 25, 2006 8:20 pm

Um, no, I was under tha impression that it is not an Alabanza script. I think it was a Tim someone...

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest