Loading...
 
Architecture / Installation

Architecture / Installation


How to set a continuous backup batch?

posts: 13 Germany

Hi all,

we are using tikiwiki in an productive environment. So how can I setup tiki, to do backups of the DB every day at a specific time?

A detailed description would be very useful.

Thanks a lot in advance

posts: 2881 United Kingdom

Please see the recent post by kalamate exclaim

You will need to do a cronjob, type man crontab at your linux prompt for details. and schedule a mysqldump operation. See the mysql documentation for details of mysqldump

Then you will need to tar or bzip2 the file system, Again see the necessary man pages for each for parameters.

This is the procedure I use for all hosting accounts on tikihost.net servers.

If your on Windows, then you'll have to wait for a windows user to answer, My knowledge of windows consists of using Scheduled Tasks, a batch file to mysqldump, then the DOS version of pkzip to archive the tree.

Damian
http://tikihost.net

posts: 13 Germany

Thanks Damian,

i have written a backup script and configured as necessary the crontab, that works great.

But one more question, why is the sql backup file made with mysqldump smaller than the one created by the internal tiki backup tool?

posts: 2881 United Kingdom

> Thanks Damian,
>
> i have written a backup script and configured as necessary the crontab, that works great.
>
> But one more question, why is the sql backup file made with mysqldump smaller than the one created by the internal tiki backup tool?

Because the internal tool doesnt work correctly and any backups made with it, cannot be restored. Do not use it.

Damian
http://tikihost.net


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting