Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: farmerPR on February 16, 2005, 01:41:07 AM

Title: Tapeware install, help with scripting
Post by: farmerPR on February 16, 2005, 01:41:07 AM
Hi All,
I have installed Tapeware version 7 on a version 6 SME server, with out problems. However I am unsure about one thing. To back up the complete server from / do I need to run any scripts before the backup begins eg stop smtp,mysql,etc and run a script to restart services when backup is complete. Someones help with this would be really appreciated.
Title: Tapeware install, help with scripting
Post by: jcoleman on February 16, 2005, 03:35:35 PM
Tapeware works very well.  But it is not backing up your mysql data.

If you are scripting it then you will want to do a dump of the mysql data first.  Take a look at "man mysqldump".  You do not have to turn off any services.

-jeff
Title: Tapeware install, help with scripting
Post by: Boris on February 16, 2005, 08:01:16 PM
In the script you could use existing event "pre-backup"
in a form of
/sbin/e-smith/signal-event pre-backup
This event calls mysql and LDAP dumps.
Depends on you mySQL database size, you need to give it enough time to finish. For this reason I prefer to cron schedule this event few minutes before tapeware backup is started instead of running it from within tapeware itself.
Title: Tapeware install, help with scripting
Post by: jcoleman on February 17, 2005, 12:44:57 AM
Boris,

Good points!  Thanks.

-jeff
Title: Thanks Guys
Post by: farmerPR on February 17, 2005, 12:02:02 PM
Many Thanks
Title: tapeware disaster recovery
Post by: jmvelez on February 17, 2005, 11:04:36 PM
I have done a backup with tapeware with disaster recovery and restore the tape on another server with just a cd and a tape and all my twiggi contacts etc were passed to the new server without any problem
Title: Tapeware
Post by: p-jones on March 28, 2005, 12:42:49 PM
I have just moved to Tapeware also. If I cron pre-events as Boris suggested, do I also need to do something after the backup has completed ?

Also how can I start the tapeware service automatiically on reboot
Title: Tapeware install, help with scripting
Post by: irian on March 28, 2005, 01:30:54 PM
Please have a look here:
http://forums.contribs.org/index.php?topic=24398.msg97730#msg97730

Martijn
Title: Tapeware
Post by: p-jones on March 28, 2005, 01:51:59 PM
Thanks for both replies. Just what I searched for and didt find.

Rgds
Peter
Title: Re: Tapeware
Post by: Boris on March 28, 2005, 09:40:07 PM
Quote from: "p-jones"
I have just moved to Tapeware also. If I cron pre-events as Boris suggested, do I also need to do something after the backup has completed ?

Not really. MySQL and LDAP dumps will stay on the hard drive until overwritten by next backup.