Ignore:
Timestamp:
Apr 11, 2016, 3:45:50 PM (8 years ago)
Author:
Bruno Cornec
Message:
  • Fix #730 by copying current version of logfile to backup media
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/common/libmondo-archive.c

    r3539 r3560  
    15151515    paranoid_free(tmp1);
    15161516
     1517    /*  Copy the current logfile - of course incomplete to the media */
     1518    mr_system("gzip -c9 %s > %s/archives/%d.%s", MONDO_LOGFILE, tmp1, cd_number_str, MONDO_LOGFILE);
     1519
    15171520    if (is_this_device_mounted(bkpinfo->media_device)) {
    15181521        mr_asprintf(tmp, "umount %s1", bkpinfo->media_device);
Note: See TracChangeset for help on using the changeset viewer.