[SAC] trac database backups

As I prepare to make a full hotcopy backup of all trac instances
in order to upgrade Trac to 1.2, I found what look like being
old backups under the trac environments directories, like these:

  ubuntugis/db/postgres.21.1429742384.bak.gz
  ubuntugis/db/postgres.29.1462395524.bak.gz

Those two (but there are similar in all other envs) are from
April 2015 and May 2016, do you know what/who created them and
why ?

I'm assuming actual backups live elsewhere (different machine)
but can anyone confirm that ?

--strk;

On 01/12/2017 08:13 AM, Sandro Santilli wrote:

As I prepare to make a full hotcopy backup of all trac instances
in order to upgrade Trac to 1.2, I found what look like being
old backups under the trac environments directories, like these:

  ubuntugis/db/postgres.21.1429742384.bak.gz
  ubuntugis/db/postgres.29.1462395524.bak.gz

Those two (but there are similar in all other envs) are from
April 2015 and May 2016, do you know what/who created them and
why ?

I'm assuming actual backups live elsewhere (different machine)
but can anyone confirm that ?

--strk;

I have seen a cron script to create backups. Only Martin (or someone checking the bacula config) could confirm that those are making it to the Backup machine.

Thanks,
Alex

On Thu, Jan 12, 2017 at 05:58:30PM -0800, Alex Mandel wrote:

On 01/12/2017 08:13 AM, Sandro Santilli wrote:
>As I prepare to make a full hotcopy backup of all trac instances
>in order to upgrade Trac to 1.2, I found what look like being
>old backups under the trac environments directories, like these:
>
> ubuntugis/db/postgres.21.1429742384.bak.gz
> ubuntugis/db/postgres.29.1462395524.bak.gz
>
>Those two (but there are similar in all other envs) are from
>April 2015 and May 2016, do you know what/who created them and
>why ?
>
>I'm assuming actual backups live elsewhere (different machine)
>but can anyone confirm that ?

I have seen a cron script to create backups.

Where have you seen that ?
I've searched in root's crontab and in /etc/cron.* but not found any

Only Martin (or someone
checking the bacula config) could confirm that those are making it to the
Backup machine.

On TracsvnVM the /etc/bacula/ directory doesn't seem to contain
any interesting information. On the backup machine I can login but
don't have sudo powers, can you bless me there maybe ?

--strk;

On Thu, Jan 12, 2017 at 05:58:30PM -0800, Alex Mandel wrote:

I have seen a cron script to create backups. Only Martin (or someone
checking the bacula config) could confirm that those are making it to the
Backup machine.

See:

    https://trac.osgeo.org/osgeo/ticket/1843

  Martin.
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------

On Tue, Jan 17, 2017 at 10:11:06AM +0100, Martin Spott wrote:

On Thu, Jan 12, 2017 at 05:58:30PM -0800, Alex Mandel wrote:

> I have seen a cron script to create backups. Only Martin (or someone
> checking the bacula config) could confirm that those are making it to the
> Backup machine.

See:

    https://trac.osgeo.org/osgeo/ticket/1843

Thanks, I could now login and see that the backup job runs daily.
Following the 3-steps procedure (with my eyes) I found code lines
that are likely to fail and thus produce an error, are those errors
logged by bacula director ? How/where can I read them ?

The file /var/log/bacula/bacula.log is very short and was last written
in 2014...

--strk;