Click to See Complete Forum and Search --> : Help setting up a backup script


Rastar
04-30-2001, 05:14 PM
Running a Multi User Dungeon and need to figure out how to have the system create a backup of the user directories simply found in data/user/a through z. I want it to tar the files and move them to a backup directory. Is this possible? Along time ago when I ran a mud I had batch files that dumped backups of the system nightly. Since I am still new to linux I have very little clue as to how to do this.

Thanks
Rastar

WeDeliver
04-30-2001, 05:41 PM
create a shell script that contains the commands to tar, example:

tar <your options> /data/usr/*

chmod the file to be executable, and drop it in your cron daily or weekly tabs.
www.linuxdoc.org (http://www.linuxdoc.org)