| View previous topic :: View next topic |
| Author |
Message |
PartieHonteuse Help2Go Moderator

Joined: 20 May 2003 Posts: 2845 Points: 889 Location: USA

|
| Posted: Wed 03/22/2006 7:31pm [Post #1] |
|
|
So, someone asked me to make an automated backup solution using NTBackup. We'll I've got something made and was wondering if there was anyone willing to beta test? It's just a simple autoit script (compiled .exe) that automatically runs NTBackup, backups folders/files you specifiy in a text file (named backup.ini). After, which it'll either leave it on the hard drive, move it to a partition (not yet implemented) or burn to CD/DVD. It will either email a log file to an email address you specify or it will leave it on the hdd for your viewing later. I need some work with error trapping and stuff and the client I'm making this for is on vacation for the next 2 weeks and would like it when he returns so that leaves just me to beta test. Any help would be appreciated! Just drop a reply here if you're willing or have questions and I'll PM you a link to the file.
Partie™ |
|
| |
This post has: 0 recommendations
|
| Back to top |
|
 |
whoozhe Help2Go Moderator

Joined: 01 Jan 2001 Posts: 8567 Points: 798 Location: Wallaroo South Australia

|
| Posted: Thu 03/23/2006 3:51pm [Post #2] |
|
|
PM or email me _________________ Take control of your life. Leave others to control their own. |
|
| |
This post has: 0 recommendations
|
| Back to top |
|
 |
galena1 Supreme Guru

Joined: 19 Oct 2003 Posts: 3109 Points: 428 Location: Devon -UK

|
| Posted: Fri 03/24/2006 5:19am [Post #3] |
|
|
Hi Partie - Not entirely sure I have the necessary expertise but you can send the details if you want and if I can help - glad to. Regards Bob. _________________ I know everything about nothing, nothing about everything and precious little about the bit in between.
P4-3.0G - Seagate Barracuda 160 - Maxtor 120 - Antec Hard Drive Cooler - 1GRam - Radeon9800Pro - Sony Multi DriveDVDRW - Audigy2 6.1 - XPHome |
|
| |
This post has: 0 recommendations
|
| Back to top |
|
 |
PartieHonteuse Help2Go Moderator

Joined: 20 May 2003 Posts: 2845 Points: 889 Location: USA

|
| Posted: Sat 03/25/2006 4:22am [Post #4] |
|
|
Wow, thanks guys. Sorry Whoozhe, I didn't get a reply notification in my email inbox so I didn't see your reply, I just checked the post to see if anyone has responded yet...weird.. i'm actually adding 2 things to it real quick so I'll have it PM'ed and sent to you either later on this morning or tomorrow afternoon when I wake up.
Thanks again!
Partie™ |
|
| |
This post has: 0 recommendations
|
| Back to top |
|
 |
PartieHonteuse Help2Go Moderator

Joined: 20 May 2003 Posts: 2845 Points: 889 Location: USA

|
| Posted: Sun 03/26/2006 7:12pm [Post #5] |
|
|
Thanks again guys, I'm about to send you 2 the PM's in the next 5-10 minutes.
Here's some info I think that you should know.
When you unzip the file from your PMs you'll have a single "installer.exe" file. That file will "install" the software. Basically I guess what it is is a self extractor kind of thing. I made that part myself because I needed it to also install OpenSSL (that's another thing). Everything that is "installed" is installed to C:\windows\pchealth (or whatever your %windir%\pchealth directory leads to). There it'll create two folders 1.) cmd_bkup and 2.) OpenSSL.
The reason i have OpenSSL installed is so I can use GMAIL as the emailer when the "email logfile to user" is selected in the configuration.
While you are running the "installer" you'll be asked to setup some configuration options. The ONLY thing that works right now is 700mb and CDR the DVD options and any size greater does not work. I have yet to add the option to move it to a network share or FTP it. I'm just trying to take it one step at a time.
I really don't want you guys to waste any CDs so I'm asking you to please use a CDRW disk so if you'd like to test it multiple times you can just format the disk and go again if need be. If you don't have any CDRWs I'd rather you not test this for me because once again I don't want you to have to use CDs and I'd feel like crap if something broke and you didn't even at least get a backup out of it (like the program crashed).
Also, the folders and files that you would like to backup should be listed in the %windir%\pchealth\cmd_bkup\backup.ini as such...
| Code: |
C:\documents and settings\username\my documents
C:\path\to\folder\
C:\or\path\to\somefile.exe
|
Now, say for instance you wanted to backup a whole folder except for a child folder (example, you wanted to backup everything the "My Documents" folder for a username but not the "My Pictures" folder located in the My Docs folder) would be something like this...
| Code: |
C:\documents and settings\username\my documents
C:\documents and settings\username\my documents\my pictures /exclude
C:\path\to\somefile.exe
C:\path\to\some\folder\
|
Note the /exclude option. That will EXCLUDE the My Pictures folder from being backed up even though you have My Documents entered as a folder to backup.
Also note for the backup.ini you must not have any spaces at the end of each line and each folder or file you would like to backup should be on a seperate line along with any child folders you would like to exclude. Another thing is note the space between "my pictures" and "/exclude"
Hmm, if you have any more questions before running it please let me know. Also, you must remember that this is ALL AUTOMATED except for the initial configuration (ran during install) so you shouldn't be asked any questions or asked to press any buttons if you are please let me know so I can fix it.
THANKS AGAIN GUYS! I'LL KEEP UPDATING THIS!!
Partie™ |
|
| |
This post has: 0 recommendations
|
| Back to top |
|
 |
|