Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Back-Ups.

Status
Not open for further replies.

perlone

Programmer
May 20, 2001
438
US
Hello,

I run like a game site and I want the user data to back up each day. Most of the data is like this: Each players has a directory named after their email address and inside there's all the game data such as username, password, etc. Is there any good back-ups script that you could back up these things? Thanks for reading.
 
I run like a game site and I want the user data to back up each day. Most of the data is like this: Each players has a directory named after their email address and inside there's all the game data such as username, password, etc. Is there any good back-ups script that you could back up these things?

What platform? If on Unix (Linux, FreeBSD), I would simply launch tar with the proper command line switches. You can create a .tar.gz file of the whole directory (sub)tree. You can even archive only files that have been changed since some starting date.

Launch it from cron.

If on Windows, you can still do that, with a tar port for Win32, from Cygwin. I'm not too sure about cron, though.
 
Windows has a task scheduler that should do much the same thing as cron. Also, on windows you can use winzip instead of tar.
Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Thanks, bartl and tsdragon. I decided to let my hosting company to back-ups the data. By the way tsdragon, it seems like you like dragons. The RPG i'm creating is about the Dragons so i'll let you know when it's ready and thanks for all the help:)
 
Actually, I love dragons! Thanks, I'll keep an eye out.
Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top