Thanks Radoslaw.

I was thinking of doing it using SQL , but did not know that even bconsole can 
have embedded SQL

Yateen



Get Outlook for Android<https://aka.ms/AAb9ysg>

________________________________
From: Radosław Korzeniewski <[email protected]>
Sent: Friday, 30 December, 2022, 05:05
To: Bill Arlofski <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: [Bacula-users] Renaming a job

Hello,

czw., 29 gru 2022 o 19:22 Bill Arlofski via Bacula-users 
<[email protected]<mailto:[email protected]>> 
napisał(a):
Not sure why you would really need/want to do this, but this will work using 
bconsole:
----8<----
# echo -e "sql\nUPDATE job SET name='RenamedJobName' WHERE 
jobid='xxx';\n\nquit\n" | bconsole
----8<----


It rename a job in catalog only. This does not rename the job in the volume.
I know no procedure with existing tools you can use to rename a job in the 
volume.

best regards
--
Radosław Korzeniewski
[email protected]<mailto:[email protected]>

_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to