16
Ultra Hal Assistant File Sharing Area / Tell Hal To Backup His Brain
« on: January 07, 2005, 12:00:16 pm »quote:
Originally posted by Rich_A
Hello Morlhach,
I could of used the xcopy "/D" argument to do something similar that RoboCopy does.
xcopy command argument: /D:m-d-y
Copies files changed on or after the specified date. If no date is given, copies only those files whose source time is newer than the destination time.
The xcopy command has about 26 different arguments that can be used to specify exactly what you would want to do when creating a new backup copy of something, but I only used the arguments that I wanted to perform the full copying of all files all the time.
And consider the worse case scenario, what if one of the older backup files somehow became corrupt for whatever reason. Now that next time I run a backup of just new or newer files, then that corrupt file I have may not be overwritten, and then if I had to restore my brain I would think that my backups are good but they really are not...so that's why I always copy everything all of the time...it only takes less than a minute for me to copy the entire Zabaware folder with the computer that I am using, but even if it took two minutes or more, backup run time is not a concern to me since these backups are for my own personal interest. If I was a corporation and "Time Is Money" than I would do things the same way you suggested...but again that's just me!
The main difference is do you want to run a partial/incremental backup or do you want to run a full backup of everything? I always want a full backup of everything whenever I copy my bot's brain files. However, most businesses do run a combination of both full and partial backups as part of their routine backup schedule. If a business needed to run a restore for whatever reason the actual recovery procedure would require restoring from both the full and partial backups to fully recover their system. So, a backup scheme something like that for a really huge brain would be a good consideration! Run a RoboCopy once a day, and then run a full backup once a week...but I don't need to do all that, but maybe someone else might want to.
However, I am really pleased that you posted your suggestion and I think that I will check out RoboCopy some more. I never used RoboCopy before but I just downloaded it and I am looking forward to checking it out. Thanks!
Best Regards,
Rich_A
It was just a suggestion
Why using robocopy instead of xcopy /d ?
Because if you are using xcopy /d, you must find the date from the system parameters (date /t). In that cas, we must change the system format (fri 07/01/2005) to the xcopy format (07-01-2005).
Another way to makes full backup is to use the "tar" command
tar -xvf [source to backup] archivefile.tar
And it can be easily compressed with gzip
Best regards,
--
Morlhach