Bei mir musste ein client in die ewigen Jagdgründe ziehen. Von dem gibts daher keine neuen Backups und wegen den Vorhaltezeiten sind dessen Backups irgendwann schlicht weg weil sie gelöscht werden.
Nun möchte ich mir manuell, am liebsten per Kommandozeile oder bconsole, das letzte Full Backup anhand der jobid manuell in einen Archiv-pool schieben damit dieses Backup länger überlebt.
Alle arbeiten immer mit SQL und Automatismen. Ich möchte die migration oder den copy job nur manuell ganz bewusst anhand der jobid des gewünschten backups ausführen.
Bisher hab ich einen Archiv-pool eingerichtet mit wesentlich längerer Vorhaltezeit.
Code: Alles auswählen
Pool {
Name = Longterm
Pool Type = Backup
Recycle = yes # Bareos can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 360 days # How long should the Full Backups be kept? (#06)
Maximum Volume Bytes = 10G # Limit Volume size to something reasonable
Maximum Volumes = 50 # Limit number of Volumes in Pool
Label Format = "Longterm-" # Volumes will be labeled "Longterm-<volume-id>"
}
Code: Alles auswählen
Pool {
Name = Full
Pool Type = Backup
Recycle = yes # Bareos can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 62 days # How long should the Full Backups be kept? (#06)
Maximum Volume Bytes = 10G # Limit Volume size to something reasonable
Maximum Volumes = 600 # Limit number of Volumes in Pool
Label Format = "Full-" # Volumes will be labeled "Full-<volume-id>"
Next Pool = Longterm
}
Code: Alles auswählen
list jobs client=storage jobstatus=T level=F
+-------+-------------+---------+---------------------+----------+------+-------+----------+---------------+-----------+
| jobid | name | client | starttime | duration | type | level | jobfiles | jobbytes | jobstatus |
+-------+-------------+---------+---------------------+----------+------+-------+----------+---------------+-----------+
| 1,107 | storage-job | storage | 2022-06-22 12:48:33 | 00:04:07 | B | F | 133,356 | 3,101,216,019 | T |
| 1,185 | storage-job | storage | 2022-07-02 12:47:44 | 00:00:20 | B | D | 1,757 | 65,975,538 | T |
| 1,316 | storage-job | storage | 2022-07-18 18:32:33 | 00:04:35 | B | F | 133,391 | 3,106,062,130 | T |
| 1,391 | storage-job | storage | 2022-07-28 12:47:06 | 00:01:14 | B | D | 44,382 | 470,691,187 | T |
| 1,413 | storage-job | storage | 2022-07-31 14:56:03 | 00:01:09 | B | D | 44,384 | 471,264,235 | T |
| 1,527 | storage-job | storage | 2022-08-15 14:53:59 | 00:04:29 | B | F | 128,599 | 3,000,132,178 | T |
+-------+-------------+---------+---------------------+----------+------+-------+----------+---------------+-----------+
Für die zündende Idee wär ich sehr dankbar.