Skip to content

run command: use specified since time#503

Merged
franku merged 1 commit intomasterfrom
dev/pstorz/master/override-since-time
May 6, 2020
Merged

run command: use specified since time#503
franku merged 1 commit intomasterfrom
dev/pstorz/master/override-since-time

Conversation

@franku
Copy link
Contributor

@franku franku commented May 5, 2020

The option "since" already existed in the run command, but was not
used anywhere.

Now it is possible to run a job in the following way:

run job=backup-bareos-fd since="2020-04-01 11:11:11"

This will run the given job and use the given since time.
No further calculations like checking for previous backups or considering
the backup level.

The jcr member stime was renamed to starttime_string to make it clear
that a string contaning a timestamp in text form is stored here, in
opposite to a string containing a unix timestamp.

The option "since" already existed in the run command, but was not
used anywhere.

Now it is possible to run a job in the following way:

run job=backup-bareos-fd since="2020-04-01 11:11:11"

This will run the given job and use the given since time.
No further calculations like checking for previous backups or considering
the backup level.

The jcr member stime was renamed to starttime_string to make it clear
that a string contaning a timestamp in text form is stored here, in
opposite to a string containing a unix timestamp.
@franku franku requested a review from arogge May 5, 2020 13:34
@franku franku merged commit e87e0fc into master May 6, 2020
@franku franku deleted the dev/pstorz/master/override-since-time branch May 6, 2020 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants