You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I am new to autorestic.
I didn't find any resources related to the subject.
It will be helpful, during the backup, to show the percentage related to the progress status.
Currently, after running the backup of a single location via the command autorestic -v backup -l locationname I see only:
Backing up location "locationname"
Running hooks
> echo "Checks"
> Executing: /opt/homebrew/bin/bash -c echo "Checks"
Checks
Running hooks
> curl -m 10 --retry 5 -X POST -H "Content-Type: text/plain" --data "Starting backup for location: ${AUTORESTIC_LOCATION}" https://hc-ping.com/<code>/start
> Executing: /opt/homebrew/bin/bash -c curl -m 10 --retry 5 -X POST -H "Content-Type: text/plain" --data "Starting backup for location: ${AUTORESTIC_LOCATION}" https://hc-ping.com/<code>/start
OK
Backend: backendname
> Executing: /opt/homebrew/bin/restic backup --tag locationname --tag ar:location:locationname PATH
no parent snapshot found, will read all files
As you can see, the last two rows show only that the backup started, but I cannot know how many files, the percentage status, etc.
The text was updated successfully, but these errors were encountered:
AFAICS, you need to do two things to make autorestic echo restic's progress info:
Pass the --verbose flag to autorestic.
Set the RESTIC_PROGRESS_FPS env var, which tells restic how frequently to show progress information. As described in the restic docs:
When running from a non-interactive console progress reporting is disabled by default to not fill your logs. For interactive and non-interactive consoles the environment variable RESTIC_PROGRESS_FPS can be used to control the frequency of progress reporting. Use for example 0.016666 to only update the progress once per minute.
When restic is being run via autorestic, it detects it's in a non-interactive console progress, so it disables progress reporting by default; this env var lets you switch it back on.
So e.g. you could have an .autorestic.yml something like this, to give updates every 10 seconds:
Hi!
I am new to autorestic.
I didn't find any resources related to the subject.
It will be helpful, during the backup, to show the percentage related to the progress status.
Currently, after running the backup of a single location via the command
autorestic -v backup -l locationname
I see only:As you can see, the last two rows show only that the backup started, but I cannot know how many files, the percentage status, etc.
The text was updated successfully, but these errors were encountered: