I am setting up a backup server on a linux box. It will provide 40+ GB of space for a Windows crap server to dump its contents to at night. How can I stop the overwrite box from appearing?? I want have the files automaticly overwrite.
You can also use rsync, which is nice because it only copies files that have changed, so you don't have to dump the entire contents of the server every night. But the above post is right, use xcopy.
My personal preference when using xcopy is to delete the directory structure, recreate it, and then do your xcopy. So create a batch file with something like this...
Say L: is your linux share, G: is your data on your windows server, and your are doing Monday's backup (note I use rmdir, if you are using 98 it would be delree of course)
Now just create four more (one for each day of the week, and substitute the monday with tuesday in each line of the script that I put), and schedule them in Windows. Bingo, you have 5 backups a week, and each one created fresh nightly.
I'd do this until you have time to play with rsync. I prefer to have the Linux box controlling the backups, so you can ssh in from home and check on the backups anytime.
Here's a good page to readup on rsync, but I'd grab a book.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.