|
[root@dlp ~]# bconsole
Connecting to Director localhost:9101
1000 OK: 10002 bacula-dir Version: 15.0.3 (25 March 2025)
Enter a period to cancel a command.
# set backup volume and so on
*label
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
# select resource for backup
# follows are default and they have the same settings, backup data saved under [/tmp]
The defined Storage resources are:
1: File1
2: File2
Select Storage resource (1-2): 1
# Enter
Enter autochanger drive[0]:
# input any volume name
Enter new Volume name: Vol-20250807
Enter slot (0 or Enter for none):
# select a pool
Defined Pools:
1: Default
2: File
3: Scratch
Select the Pool (1-3): 2
Connecting to Storage daemon File1 at dlp.srv.world:9103 ...
Sending label command for Volume "Vol-20250807" Slot 0 ...
3000 OK label. VolBytes=245 VolABytes=0 VolType=1 UseProtect=0 VolEncrypted=0 Volume="Vol-20250807" Device="FileChgr1-Dev1" (/tmp)
Catalog record for Volume "Vol-20250807", Slot 0 successfully created.
Requesting to mount FileChgr1 ...
3906 File device ""FileChgr1-Dev1" (/tmp)" is always mounted.
# run backup job
*run
A job name must be specified.
# select job (follows are default)
The defined Job resources are:
1: BackupClient1
2: BackupCatalog
3: RestoreFiles
Select Job resource (1-3): 1
Run Backup job
JobName: BackupClient1
Level: Incremental
Client: bacula-fd
FileSet: Full Set
Pool: File (From Job resource)
Storage: File1 (From Job resource)
When: 2025-08-07 15:14:43
Priority: 10
OK to run? (yes/mod/no): yes
Job queued. JobId=1
You have messages.
# show messages (log)
*messages
07-Aug 15:15 bacula-dir JobId 1: No prior or suitable Full backup found in catalog. Doing FULL backup.
07-Aug 15:15 bacula-dir JobId 1: Start Backup JobId 1, Job=BackupClient1.2025-08-07_15.15.09_03
07-Aug 15:15 bacula-dir JobId 1: Connected to Storage "File1" at dlp.srv.world:9103 with TLS
07-Aug 15:15 bacula-dir JobId 1: Using Device "FileChgr1-Dev1" to write.
07-Aug 15:15 bacula-dir JobId 1: Connected to Client "bacula-fd" at localhost:9102 with TLS
07-Aug 15:15 bacula-fd JobId 1: Connected to Storage at dlp.srv.world:9103 with TLS
07-Aug 15:15 bacula-sd JobId 1: Wrote label to prelabeled Volume "Vol-20250807" on File device "FileChgr1-Dev1" (/tmp)
07-Aug 15:15 bacula-sd JobId 1: Elapsed time=00:00:01, Transfer rate=913 Bytes/second
07-Aug 15:15 bacula-sd JobId 1: Sending spooled attrs to the Director. Despooling 902 bytes ...
07-Aug 15:15 bacula-dir JobId 1: Bacula bacula-dir 15.0.3 (25Mar25):
Build OS: x86_64-redhat-linux-gnu redhat (Coughlan)
JobId: 1
Job: BackupClient1.2025-08-07_15.15.09_03
Backup Level: Full (upgraded from Incremental)
Client: "bacula-fd" 15.0.3 (25Mar25) x86_64-redhat-linux-gnu,redhat,(Coughlan)
FileSet: "Full Set" 2025-08-07 15:12:01
Pool: "File" (From Job resource)
Catalog: "MyCatalog" (From Client resource)
Storage: "File1" (From Job resource)
Scheduled time: 07-Aug-2025 15:14:43
Start time: 07-Aug-2025 15:15:11
End time: 07-Aug-2025 15:15:11
Elapsed time: 1 sec
Priority: 10
FD Files Written: 5
SD Files Written: 5
FD Bytes Written: 443 (443 B)
SD Bytes Written: 913 (913 B)
Rate: 0.4 KB/s
Software Compression: None
Comm Line Compression: 0.8% 1.0:1
Snapshot/VSS: no
Encryption: no
Accurate: no
Volume name(s): Vol-20250807
Volume Session Id: 1
Volume Session Time: 1754547146
Last Volume Bytes: 1,698 (1.698 KB)
Non-fatal FD errors: 0
SD Errors: 0
FD termination status: OK
SD termination status: OK
Termination: Backup OK
07-Aug 15:15 bacula-dir JobId 1: Begin pruning Jobs older than 6 months .
07-Aug 15:15 bacula-dir JobId 1: No Jobs found to prune.
07-Aug 15:15 bacula-dir JobId 1: Begin pruning Files.
07-Aug 15:15 bacula-dir JobId 1: No Files found to prune.
07-Aug 15:15 bacula-dir JobId 1: End auto prune.
*exit
[root@dlp ~]#
total 4
drwx------. 3 root root 17 Aug 7 15:05 systemd-private-aead33d1a196498d93e3e0039c15d0ab-chronyd.service-VEfMMh
drwx------. 3 root root 17 Aug 7 15:05 systemd-private-aead33d1a196498d93e3e0039c15d0ab-dbus-broker.service-qw3Hqq
drwx------. 3 root root 17 Aug 7 15:05 systemd-private-aead33d1a196498d93e3e0039c15d0ab-irqbalance.service-zlvvXX
drwx------. 3 root root 17 Aug 7 15:08 systemd-private-aead33d1a196498d93e3e0039c15d0ab-mariadb.service-sEdRWF
drwx------. 3 root root 17 Aug 7 15:05 systemd-private-aead33d1a196498d93e3e0039c15d0ab-polkit.service-Cy4EYk
drwx------. 3 root root 17 Aug 7 15:05 systemd-private-aead33d1a196498d93e3e0039c15d0ab-systemd-logind.service-gtlNeR
-rw-r-----. 1 bacula tape 1698 Aug 7 15:15 Vol-20250807
# backup data just saved
|