Standalone backup of Pacman related files #19

Closed
opened 2023-05-23 15:00:44 +02:00 by FUH22860 · 3 comments
FUH22860 commented 2023-05-23 15:00:44 +02:00 (Migrated from github.com)

It would be nice to be able to separately do a pre backup and post backup.

This would help if an update needs to aborted or errors out and no backup was done.

I would be willing to donate my dev time if needed or help in other ways.

Thanks in advance!

It would be nice to be able to separately do a pre backup and post backup. This would help if an update needs to aborted or errors out and no backup was done. I would be willing to donate my dev time if needed or help in other ways. Thanks in advance!
AustrianToast commented 2023-05-23 17:02:01 +02:00 (Migrated from github.com)

I am unsure what you mean, the pre- and post backup are not dependend on the clean exit of the updating part.

As long as the script itslef doesn't abort, this already happens?
Are you on the newest version?

If you meant smth else or if you have an example, please do tell me.

I am unsure what you mean, the pre- and post backup are not dependend on the clean exit of the updating part. As long as the script itslef doesn't abort, this already happens? Are you on the newest version? If you meant smth else or if you have an example, please do tell me.
ProfessionalUwU commented 2023-05-23 20:19:42 +02:00 (Migrated from github.com)

I can see how this misunderstanding happened. What I wanted to suggest is that one could do a backup independent of updating the system.

Example:
update --backup

This would just do a backup in which all the pacman files are getting backed up without doing any updates. Such a feature would allow for the program to be used in other pacman hooks as a sort of backup mechanism.

I hope this clarifies my suggestion.

I can see how this misunderstanding happened. What I wanted to suggest is that one could do a backup independent of updating the system. Example: update --backup This would just do a backup in which all the pacman files are getting backed up without doing any updates. Such a feature would allow for the program to be used in other pacman hooks as a sort of backup mechanism. I hope this clarifies my suggestion.
AustrianToast commented 2023-05-24 11:51:24 +02:00 (Migrated from github.com)

Pull request has been created

Pull request has been created
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: AustrianToast/update#19
No description provided.