[Bacula-users] move bacula 2.4.3 psql database to bacula 5.0.0

2014-07-10 Thread kkuznetsov
Solved! It was needed to chage items in table "media": UPDATE media set mediatype='Ultrium-LTO-5' where mediatype='Ultrium960'; +-- |This was sent by kkuznet...@web.1tv.ru via Backup Central. |Forward SPAM to ab...@backupcentral.c

[Bacula-users] move bacula 2.4.3 psql database to bacula 5.0.0

2014-07-09 Thread kkuznetsov
Please,help! +-- |This was sent by kkuznet...@web.1tv.ru via Backup Central. |Forward SPAM to ab...@backupcentral.com. +--

[Bacula-users] move bacula 2.4.3 psql database to bacula 5.0.0

2013-10-21 Thread kkuznetsov
Or should i make some changes in config of sd and dir, right? Here is the point: i want to use old tapes from old lto device to restore backups on a new lto-device and use new lto-device to make new backups. +-- |This was sent b

[Bacula-users] move bacula 2.4.3 psql database to bacula 5.0.0

2013-10-16 Thread kkuznetsov
Yeah...i have a progress, I made an upgrade from 10 to 11 and then from 11 to 12. Attempted to make a restore, no mistake about readbytes column, but now bacula reqires old LTO device (Ultrium960) instead of new one (Ultrium-LTO-5): 15-Oct 12:26 new-bacula-server-dir JobId 300: Start Restore Job

Re: [Bacula-users] move bacula 2.4.3 psql database to bacula 5.0.0

2013-10-14 Thread Kern Sibbald
readbytes was added in the scripts: update_xxx_tables_10_to_11 where xxx is either postgresql, mysql, or sqlite depending on your database. Best regards, Kern On 10/14/2013 04:54 PM, kkuznetsov wrote: > That's all i have got in this version of bacula. Search din't give me anymore. > Anyway, is

Re: [Bacula-users] move bacula 2.4.3 psql database to bacula 5.0.0

2013-10-14 Thread John Drescher
> That's all i have got in this version of bacula. I think you can get them from here: http://www.bacula.org/git/cgit.cgi/bacula/tree/bacula/updatedb >Search din't give me anymore. > Anyway, is there anything like "readbytes" in those scripts you mentioned? I do not know. John

[Bacula-users] move bacula 2.4.3 psql database to bacula 5.0.0

2013-10-14 Thread kkuznetsov
That's all i have got in this version of bacula. Search din't give me anymore. Anyway, is there anything like "readbytes" in those scripts you mentioned? +-- |This was sent by kkuznet...@web.1tv.ru via Backup Central. |Forward SPA

Re: [Bacula-users] move bacula 2.4.3 psql database to bacula 5.0.0

2013-10-14 Thread John Drescher
On Mon, Oct 14, 2013 at 3:40 AM, kkuznetsov wrote: > Pretty close, but not. Found this /etc/alternatives/update_bacula_tables > which then launches /usr/libexec/bacula/update_postgresql_tables > That is not the correct update script. Here is what I have for update scripts: /usr/libexec/bacula/

[Bacula-users] move bacula 2.4.3 psql database to bacula 5.0.0

2013-10-14 Thread kkuznetsov
Pretty close, but not. Found this /etc/alternatives/update_bacula_tables which then launches /usr/libexec/bacula/update_postgresql_tables here is a code: #!/bin/sh # # Shell script to update PostgreSQL tables from version 11 to 12 # echo " " echo "This script will update a Bacula PostgreSQL data

Re: [Bacula-users] move bacula 2.4.3 psql database to bacula 5.0.0

2013-10-11 Thread John Drescher
On Fri, Oct 11, 2013 at 8:33 AM, kkuznetsov wrote: > Hi! Here is a situation - I have a server with openSUSE 11.0 (i586) with > configured bacula 2.4.3 and with psql (PostgreSQL 8.3.11 on > i686-pc-linux-gnu, compiled by GCC gcc (SUSE Linux) 4.3.1 20080507 > (prerelease) [gcc-4_3-branch revision 1

[Bacula-users] move bacula 2.4.3 psql database to bacula 5.0.0

2013-10-11 Thread kkuznetsov
Hi! Here is a situation - I have a server with openSUSE 11.0 (i586) with configured bacula 2.4.3 and with psql (PostgreSQL 8.3.11 on i686-pc-linux-gnu, compiled by GCC gcc (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]), which perfectly worked for several years with lt