[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] [Raq4i] Scheduled backup filename



> Anyone knows how to change the output filename of a scheduled backup? The
> default is host.server.dom_complete_yyyyddmm-nnnn.raq and our tape backup
> machine seems to be choking on this due to the length.
>
> I've found the script that generates this output file
> (/usr/admserv/cgi-bin/.cobalt/backup/backup.cgi) and guess the
> variable I'm
> interested in is $filename (which is copied into $backupfile
> later). However
> I'm not _that_ confident with Perl and was wondering if anyone has a quick
> pointer for stripping something off the filename such as the hostname or
> type (complete).

Well I don't know how to change the filename but I do know that the Cobalt
provided backup doesn't work.  Basically it will look as though it is all
working but when you come to try and restore it if will fail and you will
then have loads of grief.

Instead why don't you use the CMU (Cobalt Migration Utility) combined with
the raqbackup script provided by
http://www.neuhaus-internet.de/cobalt/raqbackup/ which will run a backup
including extra files i.e. MySQL and DNS.  Its runs through cron at 4am and
then uses ftp to send the resulting file somewhere else.

Check it out it has many things going for it not least it works and it tried
and tested by lots of us.

hope this helps you avoid loads of pain in the future

Gavin