Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 217
  • Last Modified:

How to do automatic uncompressed backups?

There are about 10GB of data (Folders, subfolders, and files), which has been diligently copied to another folder for backup.  Every time something changes in folder we can call folder "A"; we go to folder "B" and "manually" update it (this really means we have to copy-paste, remove or update folder "B" as necessary.  Folder "B" is in a USB External Hard Drive.)

There should be an easier way to maintain these files. It would change files in "B" only as the files in folder "A" change, sort of a diferential backup (not sure if I am using the correct term here).

Our concern is that suppose something happens to the PC hosting folder "A". If we need a file imediately from folder "B" all we have to do now is to connect the USB Hard drive to another PC and the files are there, without any need for the second PC to have any programs or compatibility with the PC that went down, except maybe that it also use some sort of Windows OS and a USB port.

 Is it possible to do this using any other automatic backup technique?

We recently acquired Norton Ghost 9,  but it started playing games with our PC, like turning it off as it booted, so we removed the tray startup icon, and later we just uninstalled Norton Ghost 9, until we recuperate from the scare.
This is beeing done in a multibooting PC  with Windows XPHome, XPPro, and 2000 PRo. where we are trying out installing an Access solution before distribution.  Any Ideas?
Thanks in advance,
Jaime
0
jaimexctsg
Asked:
jaimexctsg
  • 10
  • 4
  • 3
1 Solution
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
You could write a script to copy the files and schedule the script with the Scheduled Tasks control panel.  You'd want to use XCOPY /M to copy all files with the Archive attribute set and then turn off the attribute.  
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
Modify the script below so that the SoureRoot is the equivalent of the drive:\path of "A" and the DestRoot is the equivalent of the drive:\path of "B".  The script will also log the copy to a log file called xcopy-yyyymmdd.log where yyyy=year, mm=month, and dd=date so you can review it and confirm things have been copied correctly.



@echo off
Set SourceRoot=c:\a
Set DestRoot=d:\b
xcopy %sourceroot%\*.* %destroot% /m /e /v /c /h /r /g /o /y 1>xcopy-%date:~-4%%date:~4,2%%date:~7,2%.log 2>&1
0
 
jaimexctsgAuthor Commented:
Ok I will try this and let you know.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
jaimexctsgAuthor Commented:
A question before running the script:
Should I turn off the archive properties for the files that are already copied at "B"? i wouldn't want the program re copying everything again. Am I on the right track?
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
That would be best, but are you sure you can identify the ones already copied?  If so, then go for it.  Otherwise, you'd have to run it once and let it copy everything over again to ensure you got everythign (or risk losing a few files that changed if you reset everything now)
0
 
jaimexctsgAuthor Commented:
O yes, I have been at least 7 hours going one by one to make sure everything on both Folders are the same. And it is in alphabeticall order so I know where to start. I am just waiting for it to finish (about 48 minutes it saya) the last backup, and will pick up from there.
0
 
jaimexctsgAuthor Commented:
I get the error message:
Script: E:\SCRIPTDIR\script.vbs
Line:   1
Char:   1
Error:  Invalid character
Code:   800A0408
Source: Microsoft VBScript compilation error

...And I have no idea of what I am doing
0
 
nobusCommented:
Could you not use the Work Folder from MS for that?
0
 
jaimexctsgAuthor Commented:
I dont understand the question, what is "the Work Folder for MS"?
0
 
jaimexctsgAuthor Commented:
Leew, your idea works if I put the BAT extension on the script's name instead of VBS. There may be something wrong with the way my OS is handling the VBScript. It's XP, any ideas? The BAT type file works, but if possible I would like to use VBS, it's supposed to be better. Although I don't know why.
 
0
 
nobusCommented:
Sorry, different language. It is the folder MS uses to synchronise your documents with a laptop or such...
0
 
jaimexctsgAuthor Commented:
OK I will try that, I think it is Briefcase. By the way different lasnguage here also, spanish.
0
 
jaimexctsgAuthor Commented:
Could not find "My Briefcase" in windows XP home. Anybody knows where it is?
0
 
jaimexctsgAuthor Commented:
Have to go to sleep, been up about 23 straight  hours at this an I am too tired. Thanks to all. Will be back tomorrow.
Jaime
0
 
nobusCommented:
Start>help and support type my briefcase; it will show where it is.
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
VBS is not better or worse - it's a batch file that uses simple commands.  I'm sure you can VBS - written differently and longer - but there's no reason to.

Who said it's better?  You can do different things with it - and often the same things with more work.  Why would you turn down an effective solution?
0
 
jaimexctsgAuthor Commented:
Although I never coulkd use the VBS, the BAT extension works like a charm. Thanks to all,
Jaime
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 10
  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now