Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log the path of backup destination #647

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Log the path of backup destination #647

merged 1 commit into from
Jun 25, 2024

Conversation

DavidePrincipi
Copy link
Member

@DavidePrincipi DavidePrincipi commented Jun 19, 2024

There is no association between an app instance and its backup destination path. If the app is removed and its UUID is lost, it's difficult to find it in a backup destination with many instances.

This commit sends this information in the log: it might help.

For example this is a generated log line:

Jun 19 12:49:13 rl1.dp.nethserver.net backup1[35869]: Initializing repository 14030a59-a4e6-54cc-b8ea-cd5f97fe44c8 at path loki/759650eb-e654-44ed-9c10-2a2814277eda          

If repository exists this one is printed instead:

Jun 19 12:58:11 rl1.dp.nethserver.net backup1[36133]: Repository 14030a59-a4e6-54cc-b8ea-cd5f97fe44c8 is present at path loki/759650eb-e654-44ed-9c10-2a2814277eda

No QA is planned for the proposed change.

There is no association between an app instance and its backup
destination path. If the app is removed and its UUID is lost, it's
difficult to find it in a backup destination with many instances.

This commit sends this information in the log: it might help.
@DavidePrincipi DavidePrincipi self-assigned this Jun 19, 2024
@DavidePrincipi DavidePrincipi merged commit 629b90c into main Jun 25, 2024
2 checks passed
@DavidePrincipi DavidePrincipi deleted the backup-log branch June 25, 2024 13:40
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.

1 participant