/[smeserver]/rpms/e-smith-backup/sme10/e-smith-backup-2.6.0.bz9159-deletion-of-incomplete-backups.patch
ViewVC logotype

Annotation of /rpms/e-smith-backup/sme10/e-smith-backup-2.6.0.bz9159-deletion-of-incomplete-backups.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Fri Jan 8 18:40:36 2021 UTC (3 years, 9 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-backup-2_6_0-21_el7_sme, e-smith-backup-2_6_0-28_el7_sme, e-smith-backup-2_6_0-18_el7_sme, e-smith-backup-2_6_0-24_el7_sme, e-smith-backup-2_6_0-19_el7_sme, e-smith-backup-2_6_0-22_el7_sme, e-smith-backup-2_6_0-27_el7_sme, e-smith-backup-2_6_0-20_el7_sme, e-smith-backup-2_6_0-25_el7_sme, e-smith-backup-2_6_0-30_el7_sme, e-smith-backup-2_6_0-26_el7_sme, e-smith-backup-2_6_0-29_el7_sme, e-smith-backup-2_6_0-23_el7_sme, HEAD
* Fri Jan 08 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-18.sme
- add update event [SME: 11124]

1 jpp 1.1 diff -urN e-smith-backup-2.6.0.old/root/etc/e-smith/events/actions/workstation-backup-dar e-smith-backup-2.6.0/root/etc/e-smith/events/actions/workstation-backup-dar
2     --- e-smith-backup-2.6.0.old/root/etc/e-smith/events/actions/workstation-backup-dar 2020-03-15 19:43:27.247369000 +0000
3     +++ e-smith-backup-2.6.0/root/etc/e-smith/events/actions/workstation-backup-dar 2020-03-15 19:44:02.596369000 +0000
4     @@ -477,7 +477,7 @@
5     # Delete backups from the catalog that were missing on disk in descending order
6     while (my $catIndex = pop @deletions)
7     {
8     - system("/usr/bin/dar_manager", "-Q", "-B", "$catalog", "-D", "$catIndex") == 0
9     + system("/usr/bin/dar_manager", "-Q", "-ai", "-B", "$catalog", "-D", "$catIndex") == 0
10     or ldie("Failed to delete set $catIndex from catalog. $!\n");
11     sleep 1; # sleep added to ensure the creation of a valid catalog
12     }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed