Refactored syntax highlighting shortcodes into markdown

This commit is contained in:
Julien Dessaux 2023-04-23 22:33:49 +02:00
parent 9e6bb1a3e5
commit ea435049b3
Signed by: adyxax
GPG key ID: F92E51B86E07177E
71 changed files with 297 additions and 297 deletions

View file

@ -13,28 +13,28 @@ Bacula is a backup software, bareos is a fork of it. Here are some tips and solu
## Adjust an existing volume for pool configuration changes
In bconsole, run the following commands and follow the prompts :
{{< highlight sh >}}
```sh
update pool from resource
update all volumes in pool
{{< /highlight >}}
```
## Using bextract
On the sd you need to have a valid device name with the path to your tape, then run :
{{< highlight sh >}}
```sh
bextract -V <volume names separated by |> <device-name>
<directory-to-store-files>
{{< /highlight >}}
```
## Integer out of range sql error
If you get an sql error `integer out of range` for an insert query in the catalog, check the id sequence for the table which had the error. For
example with the basefiles table :
{{< highlight sql >}}
```sql
select nextval('basefiles_baseid_seq');
{{< /highlight >}}
```
You can then fix it with :
{{< highlight sql >}}
```sql
alter table BaseFiles alter column baseid set data type bigint;
{{< /highlight >}}
```