Previous Thread
Next Thread
Print Thread
Rate Thread
#201834 12/18/2003 12:20 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Modification Name: UBB Backup

Author(s): Weird Al

Description: Allows you to backup UBB directories via the CP

Demo: none (CP Mod)

Requirements: 6.6.x + & Mod Wordlets Mod Installed

Download Link: https://www.ubbdev.com/ubb/upload/00020028/Backup6.6.zip

Credits: Charles Capps for fixing my final bug

Instructions / Other Info: Remember to navigate between tabs ONLY via submit buttons, not by clicking the tabs

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
cool thanks Al laugh


- Allen wavey
- What Drives You?
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Al, you should make it so that the other backup path is shown in the backup mod smirk


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Thanks Al, you are great!!!!!!!!!!!


Webmaster of d-talk & Kabel-Forum.com
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Quote
quote:
Originally posted by d-talk:
Thanks Al, you are great!!!!!!!!!!!
ahhh, go on *blush*

Sponsored Links
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Shouldn't the credits say: RandyM for bringing it up over and over and over again till we couldn't stand to hear it one more time?

j/k, you did a great job on this. Thank you.

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi Al,

the delete function does not work, the files are still at my server....


Webmaster of d-talk & Kabel-Forum.com
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Mine too. Thanks for bringing this up. I hadn't thought to look.

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
lemme look at it

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Zip updated. The only step that changed was the one in cp2_vars.cgi, so you only need to rehack that step

Sponsored Links
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
I do believe he's got it, :insertwo0tsmiliehere:

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hello,

I get the following error when I want to build in the backup-hack in 6.7 Final:

Fatal error:

(RequireCode) /home/www/web17/html/cgi-bin/cp2_vars.cgi: Global symbol "%vars_wordlets_mods" requires explicit package name at /home/www/web17/html/cgi-bin/cp2_vars.cgi line 1256.
Global symbol "%vars_wordlets_mods" requires explicit package name at /home/www/web17/html/cgi-bin/cp2_vars.cgi line 1287.
Compilation failed in require at /home/www/web17/html/cgi-bin/ubb_lib.cgi line 918.


What's wrong?


Webmaster of d-talk & Kabel-Forum.com
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
you don't have the Wordlets Mod installed like it requires.

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
ups thank you.... hehe, why do you change your public Name Al?


Webmaster of d-talk & Kabel-Forum.com
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
cause my name is actually Ian

Joined: Dec 2003
Posts: 40
Member
Member
Offline
Joined: Dec 2003
Posts: 40
I installed this on 6.6.1 and get the following error when I click "backup your UBB":

Backup your UBB
The page and/or tab you requested is unavailable. The required code could not be properly loaded. Please ensure that all scripts, libraries, and templates have been properly uploaded.

» Control Panel Home

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
make sure you uploaded cp2_backup.pl to the templates folder

Joined: Dec 2003
Posts: 40
Member
Member
Offline
Joined: Dec 2003
Posts: 40
D'oh! I forgot about that. Anyhow, it works! This is an awesome mod!

Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
Why do I always feel like I'm swimming in mud--trying to figure out how the hell to work these things?! tipsy

I installed the backup. It creates a zip file. I download the zip file ... I cannot get the freakin' zip file to open up!

It either doesn't recognize it as a zip file OR it keeps wanting to "add" to the zip file ...

I get a weird suffix, too --> other.backup.3.8.2004.tar.gz

So ... what am I doing wrong now?! tipsy


Sue
adwoff.com
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
That isn't a zip file - it's a gzipped tar.

Winzip knows how to deal with tars, and it knows how to deal with gzips, and most of the time it knows how to deal with gzipped tars... but browsers tend to uncompress the file while saving it, which confuses Winzip - it sees a .gz file, but it isn't a gzip file.

Rename it and get rid of the .gz extension. Winzip should open it fine after you do so.


UBB.classic: Love it or hate it, it was mine.
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
Um, Charles? You are talking Greek to me. wink

I have tried to change the name ... remove the extension, etc.

When I do, winzip won't recognize it.

How do I get the backup file to be *just* a zip file and not one of these other things?


Sue
adwoff.com
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
think of a gzip file as a compressed file, think of tar as a zip file, winzip doesn't like it when the two are used together and tends to die...

Go snag WinRar from www.rarsoft.com and untar the file (unzip). As your server is most likely on a unix/linux machine it can tar and it can global zip, but it can't just zip (unless you play with it to do so).


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
Woo-HOO! Thanks, Gizzy! That seems to have done the trick!


Sue
adwoff.com
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
wink I can talk down to anyone and they think me for it wink ...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
this works with 6.7.n?


- Allen wavey
- What Drives You?
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
yep

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
thankie.... I need to make use of it before moving to any other software smile


- Allen wavey
- What Drives You?
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I just tar my files myself :nod:


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)