PDA

View Full Version : Making a backup app - need help with parts!



SteevieNiteHeat
10-08-2009, 03:59 PM
Hi!
I am making a backup program using AMS 7, when completed it will be 3 different apps, 1) which Ive nearly finished will be the program that will always stay running in the app tray, lets you select folders to backup and displays these into a listbox & saves them in a SavesLocs.txt file. Number 2 would be the actual program to perform the backup tasks and the third would be the restore program to restore the files to the original locations. (I would like 2 different options, 1 to zip the files to the backup location and the other to simply copy the files to the backup location.

The problem I am facing at the moment is, how do I take the SavesLocs.txt file and use it into the backup program that will backup each folder using the different backup options (zipped backup & copy backup)?

I have come so far and spent 2 much time on this to just disguard it, so could anyone take pity on me please?
I can post the backup lister app if anyone would like to see how I have done it so far. T.I.A.

rexzooly
10-08-2009, 04:58 PM
Hi!
I am making a backup program using AMS 7, when completed it will be 3 different apps, 1) which Ive nearly finished will be the program that will always stay running in the app tray, lets you select folders to backup and displays these into a listbox & saves them in a SavesLocs.txt file. Number 2 would be the actual program to perform the backup tasks and the third would be the restore program to restore the files to the original locations. (I would like 2 different options, 1 to zip the files to the backup location and the other to simply copy the files to the backup location.

The problem I am facing at the moment is, how do I take the SavesLocs.txt file and use it into the backup program that will backup each folder using the different backup options (zipped backup & copy backup)?

I have come so far and spent 2 much time on this to just disguard it, so could anyone take pity on me please?
I can post the backup lister app if anyone would like to see how I have done it so far. T.I.A.

I have done this before with a app i called Backup Studio thought the name fit as it was made in AMS lol the program made them in to custom zips it was able to restore and backup there was no need 4, 3 apps it was able to do it all in one. sorry i don't have the APZ it all went tits up with a virus and i lost my work very promissing app if i must say so my self.

It also had option to lock them a password and custom format so only the app and the end user can open the backups.

SteevieNiteHeat
10-08-2009, 05:03 PM
That app sure does sound good!

The reason why I thought it would be best in 3 parts is I wanted a small app to just set the folder backups and manage the schedule, then this would call the backup app on the correct date / time and run and i wanted this also to be small, but I guess I will have to put it on hold for a while till I can concentrate better on it as I got so much stuff swimming around in my head!

rexzooly
10-08-2009, 05:07 PM
That app sure does sound good!

The reason why I thought it would be best in 3 parts is I wanted a small app to just set the folder backups and manage the schedule, then this would call the backup app on the correct date / time and run and i wanted this also to be small, but I guess I will have to put it on hold for a while till I can concentrate better on it as I got so much stuff swimming around in my head!

what you want to do i just make a ini that sets path and then read that ini
to get path when your making the pack up have your app read it soon as its opened so it then just do its job, my app never had a timer in it it was manual backups but i stil find it hard to fire timer commands as you will see in a nother post soon lol

SteevieNiteHeat
10-08-2009, 05:11 PM
hmm, it sounds promising, but I have no idea how to make it process the list of folders, I have even tried it in the same app, I know how to make a backup from buttons that have preset locations, ie, a button that says "My Documents" and when clicked on will backup the My Documents folder, but I have no idea how to do it from a multi-lined list

rexzooly
10-08-2009, 05:14 PM
hmm, it sounds promising, but I have no idea how to make it process the list of folders, I have even tried it in the same app, I know how to make a backup from buttons that have preset locations, ie, a button that says "My Documents" and when clicked on will backup the My Documents folder, but I have no idea how to do it from a multi-lined list

Hmm i not sure maybe have it zip them up to the same folder then zip them all
up from there and have the full paths save in a ini file in each and a multi ini file so the app knows what it has to do when restoring.?

rexzooly
10-08-2009, 05:16 PM
i new i posted about it here, this was the GUI for it
http://www.indigorose.com/forums/showthread.php?t=25556&highlight=Backup

no apz but gives you a idea.