Jump to content
Sign in to follow this  
NELyon

My backup utility for Abyss Web Server

Recommended Posts

NELyon

I've been working on this for the past few days because of the fact my server is so terrible and unstable that I just don't feel comfortable without daily backups. It's aimed towards Abyss Web Server, but if you do not have it installed, it can back up any directory.

On first run it asks where your "htdocs" directory is located if it cannot find it in the registry. If you do have Abyss installed but you want to choose a directory yourself, run it with the -choosedir command-line switch. Next it will ask you to input your FTP information. Don't worry, I'm not trying to steal your credentials. Then it will ask a directory to store the "htdocs.zip" file before it ships it off to the FTP server. It doesn't delete the file after sending to the FTP server because... well... I don't know, maybe you want to keep it or something just in case the FTP transfer fails. It overwrites it on next run anyway.

If something happens, A message box appears. It has a 3 second timeout so if you run it via a scheduler (like me), it won't hang up at a message box.

Download: http://kentonbomb.homelinux.net/htdocsbackuper.zip

Changes:

v0.4.1:

-Changed the way the script handled where the zip file should be located to avoid mess-ups when user modifies the htdocsbackup.ini file

(BTW: It uses the 7zip command-line binary's for the Zipping, and FTP.au3 for the... FTP'ing. Thanks to w0uter for the FTP functions)

Comments please.

Edited by KentonBomb

Share this post


Link to post
Share on other sites
NELyon

Small update to 0.4.1 (0.1-0.3 were not released here ;) )

Changes:

-Changed the way the script handled where the zip file should be located to avoid mess-ups when user modifies the htdocsbackup.ini file

Download link in first post.

Share this post


Link to post
Share on other sites
NELyon

Whaaat? No questions, comments, or suggestions?! This is madness! (No! This is SPARTA! {Kick})

Edited by KentonBomb

Share this post


Link to post
Share on other sites
bearcav

I've been thinking about writing a backup program myself, this is a good start.

Its hard to justify the time as there are a couple of really cheap (as in free to $29) and full featured programs out there. My biggest need is in a school network for teacher and staff files. I would love to automate their backup in a way that is secure and then also allow them to retrieve files themselves. Maybe a AutoIT Cobian wrapper?

Anyway, nice work, could easily be modified to handle a number of special need type jobs.


****************************noob[quote]"I never did give them hell. I just told the truth, and they thought it was hell."- Harry S Truman[/quote]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.