Re: stop (restart or resume) continue backup paused or stopped.

Bill Arlofski via Bacula-users <[email protected]>
Newsgroups gmane.comp.bacula.user
Message-ID <[email protected]>
On 11/25/24 3:49 PM, Jose Alberto wrote:
> Hello. Bacula 15.0.2 Debian 11.
> 
> I have a full Job that weighs 2.4TB.  When I was going for 1.6 I executed "stop" in bconsole.
> 
> Then run resume (but I have doubts if "restart" was ideal). But it seems like it was starting from 0 and not from the 1.6TB 
> it had,

Hello Jose,

What you have show from the current logs looks perfectly fine.


JobID: 154432 terminates Incomplete:
----8<----
Termination:            Backup failed -- Incomplete
----8<----


Then, when restarted, it shows that it is restarting the incomplete Backup (same) JobID 154432, and that it knows about the 
1,821,115 files that were backed up before the job was stopped:
----8<----
srvlnxbacula-dir JobId 154432: Restart Incomplete Backup JobId 154432, Job=sve0000-071-job.2024-11-24_01.00.00_18
srvlnxbacula-dir JobId 154432: Found 1821115 files from prior incomplete Job.
----8<----


And then it continues where it left off as if it work working on a normal backup job:
----8<----
srvlnxbacula-dir JobId 154432: Connected to Storage "MSL3040" at 10.0.0.190:9103 with TLS
srvlnxbacula-sd JobId 154432: 3307 Issuing autochanger "unload Volume DBP084L7, Slot 37, Drive 0" command.
srvlnxbacula-dir JobId 154432: Using Device "DRIVE0" to write.
srvlnxbacula-dir JobId 154432: Connected to Client "sve0000-071-fd" at 10.0.0.71:9102 with TLS
srvlnxbacula-dir JobId 154432: Sending Accurate information to the FD.
----8<----


> If start from 0. There is no point in running stop and then resume.  or I'm wrong.

As you can see from above, it does not start that 0.  It is possible that a `status client` or a `status storage` may not 
indicate the full amount of files/bytes when a job is resumed, but the end result in the job summary, and the data actually 
backed up is correct.


> Difference between resume and restart?

They are the same.

For the `resume` command, the manual states:
----8<----
*resume*

The resume command does exactly the same thing as a restart command, but for some users the name may be more logical because 
in general the restart command is used to resume running a Job that was incomplete.
----8<----


Hope this helps,
Bill

-- 
Bill Arlofski
[email protected]

_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users
signature.asc (application/pgp-signature, 509 B)
-----BEGIN PGP SIGNATURE-----
Version: ProtonMail

wsBzBAEBCAAnBQJnRQfUCRBIDTDab9XDQBYhBMuLnlBaSQiuSUbb6UgNMNpv
1cNAAABmIAf+KTBb5w13aCUkBwxC5tjM6Hz9pDhxWcabHC+nXWpIvR3HEXCN
DZ43EC56pCxMBpP0DQ8g6ZIrVoTy4602NXrMFTl5VlW8j1GY5u/L3xOmMeTj
yBEOIIbsKVJ0Faom3MaPVgrRUDSsXIp6VPvzQmkLZayY5Ot60dxINS4DzCv/
3WinnNCLKA3A4wSsgJycw6uKL23goNp7T+Re//zUQpNsWHr+BEyapB6b8fnc
4rbifXJxZLDtFr6vL82mlRbv2i17mIFWpYssQl8idLXTbZP2jwBwplGdj9od
44wxsyHHKmF7g9WvHFA8N4bII5aukgxbHrWW7zJrapJraO0kpladVQ==
=1Xey
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.