Sign in to follow this  
Followers 0
Limey Rat Bastard

Backup tool

5 posts in this topic

I am really new to AutoIT and scripting for Windows. Last time I wrote scripts, other than simple batch files, was in the eighties on an 8086. So, I understand simple stuff, but the UDF's and loops are still over my head. I searched here for backup scripts, but couldn't find what I was looking for.

I have a small peer-to-peer network with file shares on two of the three systems. I want to be able to backup both shares to one of the systems, in a separate folder, and then burn that folder to DVD-R.

My thoughts were originally to use Robocopy, as I use this frequently and like it, but it doesn't have to be. Main reason would be so as not to copy files that have not changed. I was going to create a script that created a folder on the backup machine with today's date as the name. Robocopy the shares to this folder, burn to DVD then delete folder. Obviously I can't benefit from Robocopy if I delete the folder so I then thought make a folder called backup, copy to this folder, change name of folder to today's date, burn to DVD, change folder name back.

So, if you are still here, does this make sense and can you help me make it work with AutoIT? I don't think I want any dialog boxes, it would just be scheduled to run at night, although notification that it was successfull or not would be good.

Thanks in advance,

Martin

Share this post


Link to post
Share on other sites



I am really new to AutoIT and scripting for Windows. Last time I wrote scripts, other than simple batch files, was in the eighties on an 8086. So, I understand simple stuff, but the UDF's and loops are still over my head. I searched here for backup scripts, but couldn't find what I was looking for.

I have a small peer-to-peer network with file shares on two of the three systems. I want to be able to backup both shares to one of the systems, in a separate folder, and then burn that folder to DVD-R.

My thoughts were originally to use Robocopy, as I use this frequently and like it, but it doesn't have to be. Main reason would be so as not to copy files that have not changed. I was going to create a script that created a folder on the backup machine with today's date as the name. Robocopy the shares to this folder, burn to DVD then delete folder. Obviously I can't benefit from Robocopy if I delete the folder so I then thought make a folder called backup, copy to this folder, change name of folder to today's date, burn to DVD, change folder name back.

So, if you are still here, does this make sense and can you help me make it work with AutoIT? I don't think I want any dialog boxes, it would just be scheduled to run at night, although notification that it was successfull or not would be good.

Thanks in advance,

Martin

i think there are a few things in scripts and scraps, or even in this forum that you could implement. i'd say atleast once a week or so there is a request for a script to backup files, with something a little different in each. I believe less than 2 weeks ago there was a topic for a backup utility with a progress bar that didn't overwrite files... anyway, i'll see if i can't find some links for you, or i can whip something up if need be. Welcome to the forums.

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

i think there are a few things in scripts and scraps, or even in this forum that you could implement. i'd say atleast once a week or so there is a request for a script to backup files, with something a little different in each. I believe less than 2 weeks ago there was a topic for a backup utility with a progress bar that didn't overwrite files... anyway, i'll see if i can't find some links for you, or i can whip something up if need be. Welcome to the forums.

here are some links to similar projects, and there are many many many more.

http://www.autoitscript.com/forum/index.ph...ndpost&p=132917

http://www.autoitscript.com/forum/index.ph...ndpost&p=137235

http://www.autoitscript.com/forum/index.ph...ndpost&p=135620

http://www.autoitscript.com/forum/index.ph...ndpost&p=134633

http://www.autoitscript.com/forum/index.ph...ndpost&p=126353

http://www.autoitscript.com/forum/index.ph...indpost&p=75563


1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

Thanks, Cameronsdad.

I have lurked here for a while, but never needed to post. Thanks for the welcome, i'll look at the links you gave.

I can't believe the amount of daily posts here, beats the heck out of any other forum I check daily. I had to go to page 3 to find my topic!!!

Martin

Share this post


Link to post
Share on other sites

Thanks, Cameronsdad.

I have lurked here for a while, but never needed to post. Thanks for the welcome, i'll look at the links you gave.

I can't believe the amount of daily posts here, beats the heck out of any other forum I check daily. I had to go to page 3 to find my topic!!!

Martin

yeah there are alot of us that just kill time here trying to help people. for the most part the only part i'm on the forum is while i'm at work, but it's usually the better part of my shift... oh yeah, if you don't want to look for your topic manually, if you go to the bottom right of the page on the topic list, and you can filter for 'topics started by me' then click go and you'll be all set.

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

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  
Followers 0