Subject: | |
From: | |
Reply To: | |
Date: | Wed, 28 Sep 2005 11:31:36 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Check in /perfigo/backup
Our 3.5.4 manager seems to be storing nightly snapshots there. They
are created by /perfigo/dbscripts/nightly_db_backup.sh which uses
create_dump from /perfigo/control/bin/control-functions
create_dump uses pg_backup to do the dirty work:
su -l postgres -c "/usr/bin/pg_dump -b -Fc -h $PG_HOST -p 5432
controlsmartdb | /bin/gzip > $DUMP_FILE"
This will backup the majority of the manager configuration if you put
it in a cron job. It's the same thing as clicking the "backup"
button on the manager page.
Michael Grinnell
Network Security Administrator
The American University
e-mail: [log in to unmask]
On Sep 28, 2005, at 10:28 AM, Jason Richardson wrote:
> Hi all, has anyone come up with a way of backing up the config on the
> managers automatically? One of our servers went down the other day
> and,
> when it came back up, it had reverted to the config from the last time
> that anyone had manually backed it up which did not include most of
> our
> recent changes. Unless we're missing something obvious, lack of an
> automated back-up utility seems to be a glaring omission,
> especially if
> the servers are prone to abending and restoring the last old back-up.
>
> Thanks,
>
> ---
> Jason Richardson
> Manager, IT Security and Client Development
> Enterprise Systems Support
> Northern Illinois University
>
|
|
|