Koozali.org: home of the SME Server

Tapeware install, help with scripting

farmerPR

Tapeware install, help with scripting
« 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.

jcoleman

Tapeware install, help with scripting
« Reply #1 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

Offline Boris

  • *
  • 783
  • +0/-0
Tapeware install, help with scripting
« Reply #2 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.
...

jcoleman

Tapeware install, help with scripting
« Reply #3 on: February 17, 2005, 12:44:57 AM »
Boris,

Good points!  Thanks.

-jeff

farmerPR

Thanks Guys
« Reply #4 on: February 17, 2005, 12:02:02 PM »
Many Thanks

Offline jmvelez

  • ****
  • 85
  • +0/-0
    • http://velezcomputer.com
tapeware disaster recovery
« Reply #5 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

Offline p-jones

  • *
  • 594
  • +0/-0
Tapeware
« Reply #6 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
...

Offline irian

  • *
  • 184
  • +0/-0
Tapeware install, help with scripting
« Reply #7 on: March 28, 2005, 01:30:54 PM »

Offline p-jones

  • *
  • 594
  • +0/-0
Tapeware
« Reply #8 on: March 28, 2005, 01:51:59 PM »
Thanks for both replies. Just what I searched for and didt find.

Rgds
Peter
...

Offline Boris

  • *
  • 783
  • +0/-0
Re: Tapeware
« Reply #9 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.
...