Make a back up automatic (DB, configuration code and apache)

English! place to talk about development, programming and coding
Post Reply
efacsyc
Znuny newbie
Posts: 34
Joined: 25 Sep 2012, 13:09
Znuny Version: 3.1.7

Make a back up automatic (DB, configuration code and apache)

Post by efacsyc »

Hi!!

I need to make an automatic backup of the DB, code and apache configuration. For example daily.

Thanks.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Make a back up automatic (DB, configuration code and apa

Post by jojo »

use scripts/backup.pl
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
efacsyc
Znuny newbie
Posts: 34
Joined: 25 Sep 2012, 13:09
Znuny Version: 3.1.7

Re: Make a back up automatic (DB, configuration code and apa

Post by efacsyc »

Hi!

Thanks you!

I was able to back up. Now I want to do it automatically for example every day at 02.00 am.

How could you do? with cron?

bye
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Make a back up automatic (DB, configuration code and apa

Post by jojo »

yes with cron
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
efacsyc
Znuny newbie
Posts: 34
Joined: 25 Sep 2012, 13:09
Znuny Version: 3.1.7

Re: Make a back up automatic (DB, configuration code and apa

Post by efacsyc »

Hi!!

Thanks you!!!

I tried to, but I do not know how bad that cron works.
I've created a backup_daily.pl to run by cron, but do not know where to add it and still not right.

bye
Post Reply