Ticket #640 (reopened defect)

Opened 2 years ago

Last modified 13 months ago

mondo.tmp.xxxxx & mondo.scratch.xxxxx Issues

Reported by: SamK Owned by: bruno
Priority: high Milestone: 3.0.5
Component: mondo Version: 3.0.2
Severity: normal Keywords:
Cc: didier.diaz@…

Description

mindi-busybox_1.18.5-2
mindi_2.1.2-1
mondo_3.0.2-1

Logs are attached for 2 identical backups to local external hard disk. One is specified via GUI the other via CLI. Both complete successfully but different results are obtained for mondo.tmp and mondo.scratch.

Backup Via GUI

Backup to             = Hard Disk
Storage dir           = /media/BACKUP-REPO/backup/home/nfs/mondo
Type of compression   = gzip
How much compression  = Average
ISO Size              = 650
Prefix                = mondoverass-single
Backup paths          = /bin
Exclude paths         = /home|/media
Temporary directory   = /tmp/mondo.tmp.xxxxxx
Scratch directory     = /tmp/mondo.scratch.xxxxx
Backup extended attrib= yes
Verify backup         = no

mondo.tmp.xxxxx is not created in /tmp. It is created at /media/BACKUP-REPO/tmp/mondo.tmp.xxxxxx. Additionally it is not removed after the successful completion of the backup.
mondo.scratch.xxxxx is removed OK.
Logs:
mindi.log.GUI
mondoarchive.log.GUI


Backup Via CLI

mondoarchive -O -i -d /media/BACKUP-REPO/backup/home/nfs/mondo -G -4 -p mondoverass-single -s 650m -S /tmp -T /tmp -I "/bin" -E "|/home|"

mondo.scratch.xxxxx is not removed from /tmp/mondo.scratch.xxxxx
mondo.tmp.xxxxx is removed OK.
Logs:
mindi.log.CLI
mondoarchive.log.CLI

Attachments

mindi.log.GUI.tgz Download (26.3 KB) - added by SamK 2 years ago.
mondoarchive.log.GUI.tgz Download (34.2 KB) - added by SamK 2 years ago.
mindi.log.CLI.tgz Download (26.4 KB) - added by SamK 2 years ago.
mondoarchive.log.CLI.tgz Download (34.1 KB) - added by SamK 2 years ago.
mindi.log.cli.tgz Download (28.4 KB) - added by SamK 17 months ago.
mondoarchive.log.cli.tgz Download (36.5 KB) - added by SamK 17 months ago.
mindi.log.gui.tgz Download (28.6 KB) - added by SamK 17 months ago.
mondoarchive.log.gui.tgz Download (36.7 KB) - added by SamK 17 months ago.
mindi.log.cli.2.tgz Download (27.3 KB) - added by SamK 16 months ago.
mondoarchive.log.cli.2.tgz Download (35.2 KB) - added by SamK 16 months ago.
mindi.log.gui.2.tgz Download (5.6 KB) - added by SamK 16 months ago.
mondoarchive.log.gui.2.tgz Download (1.6 KB) - added by SamK 16 months ago.
mindi.log.cli.3.tgz Download (27.6 KB) - added by SamK 13 months ago.
mondoarchive.log.cli.3.tgz Download (35.6 KB) - added by SamK 13 months ago.
mindi.log.gui.3.tgz Download (27.5 KB) - added by SamK 13 months ago.
mondoarchive.log.gui.3.tgz Download (35.7 KB) - added by SamK 13 months ago.

Change History

Changed 2 years ago by SamK

Changed 2 years ago by SamK

Changed 2 years ago by SamK

Changed 2 years ago by SamK

comment:1 Changed 2 years ago by bruno

  • Status changed from new to assigned

comment:2 Changed 2 years ago by bruno

  • Cc didier.diaz@… added

comment:3 Changed 17 months ago by SamK

Versions Tested:
mindi-busybox_1.18.5-3_i386.deb
mindi_2.1.520130524115715-0_i386.deb
mondo_3.0.3-1_i386.deb

TEST1
Command Issued:
mondoarchive -O -i -d /media/BACKUP-REPO/backup/home/nfs/mondo -G -4 -p mondoverass-single -s 650m -S /tmp -T /tmp -I "/bin" -E "|/home|"

Result:
Mindi boot ISO produced as /var/cache/mindi/mondorescue.iso
Mondo backup ISO produced as /media/BACKUP-REPO/backup/home/nfs/mondo/mondoverass-single-1.iso
mondo.tmp.xxxxx is removed from /tmp
mondo.scratch.xxxxx is not removed from /tmp

Logs Attached:
mindi.log.cli
mondoarchive.log.cli

TEST2

Backup to             = Hard Disk
Storage dir           = /media/BACKUP-REPO/backup/home/nfs/mondo
Type of compression   = gzip
How much compression  = Average
ISO Size              = 650
Prefix                = mondoverass-single
Backup paths          = /bin
Exclude paths         = /home|/media
Temporary directory   = /tmp/mondo.tmp.xxxxxx
Scratch directory     = /tmp/mondo.scratch.xxxxx
Backup extended attrib= yes
Verify backup         = no

Result:
Mindi boot ISO produced as /var/cache/mindi/mondorescue.iso
Mondo backup ISO produced as /media/BACKUP-REPO/backup/home/nfs/mondo/mondoverass-single-1.iso
mondo.scratch.xxxxx is removed
mondo.tmp.xxxxx is created at /media/BACKUP-REPO/backup/mondo.tmp.xxxxx
mondo.tmp.xxxxx is not removed

Logs Attached:
mindi.log.gui
mondoarchive.log.gui

SUMMARY
Via cli -T is honoured
Via gui -T is not honoured
Via cli mondo.scratch.xxxxx is not removed
via gui mondo.tmp.xxxxx is not removed

RELATED TICKET
#638 Mindi Fails to Create Boot Disk When -T Specified

Changed 17 months ago by SamK

Changed 17 months ago by SamK

Changed 17 months ago by SamK

Changed 17 months ago by SamK

comment:4 follow-up: ↓ 5 Changed 16 months ago by bruno

This should be fixed with rev [3154]. A set of packages will be generated ovr the week-end to allow a testing.

Changed 16 months ago by SamK

Changed 16 months ago by SamK

Changed 16 months ago by SamK

Changed 16 months ago by SamK

comment:5 in reply to: ↑ 4 Changed 16 months ago by SamK

Replying to bruno:

This should be fixed with rev [3154]. A set of packages will be generated ovr the week-end to allow a testing.

Unfortunately the change is only partially successful. It works via CLI. It does not work via GUI. Rather than using an incorrect location, it now prevents specifying a backup via GUI. Accepting the tmp location now closes the GUI.

Versions Tested:
mindi-busybox_1.18.5-3_i386.deb
mindi_2.1.620130628101458-0_i386.deb
mondo_3.0.420130624040329-0_i386.deb

TEST1
Command Issued:
mondoarchive -O -i -d /media/BACKUP-REPO/backup/home/nfs/mondo -G -4 -p mondoverass-single -s 650m -S /tmp -T /tmp -I "/bin" -E "|/home|"

Result:
Mindi boot ISO produced as /var/cache/mindi/mondorescue.iso
Mondo backup ISO produced as /media/BACKUP-REPO/backup/home/nfs/mondo/mondoverass-single-1.iso
mondo.tmp.xxxxx is removed from /tmp
mondo.scratch.xxxxx is removed from /tmp

Logs Attached:
mindi.log.cli
mondoarchive.log.cli

TEST2

Backup to             = Hard Disk
Storage dir           = /media/BACKUP-REPO/backup/home/nfs/mondo
Type of compression   = gzip
How much compression  = Average
ISO Size              = 650
Prefix                = mondoverass-single
Backup paths          = /bin
Exclude paths         = /home|/media
Temporary directory   = /tmp/mondo.tmp.xxxxxx
At this point GUI closes to CLI

Result:
No meaningful result obtained as cannot progress beyond specifying tmp dir

Logs Attached:
mindi.log.gui
mondoarchive.log.gui

SUMMARY
Via cli -T is honoured
Via gui -T now cannot be tested
Via cli mondo.scratch.xxxxx and mondo.tmp.xxxxx are removed
Via gui mondo.scratch.xxxxx and mondo.tmp.xxxxx now cannot be tested

RELATED TICKET
#641

Last edited 16 months ago by SamK (previous) (diff)

comment:6 Changed 15 months ago by bruno

Thanks for your report. Indeed GUI was still broken. At least now with rev [2165] it goes up to the point it does the backup. I'll soon check on my side whether the dirs are erased correctly, and then will produce packages for you to test.

comment:7 Changed 15 months ago by bruno

tmp and scratch were also removed for me now with that version. I'll provide soon test packages for you to replicate.

comment:8 Changed 15 months ago by bruno

  • Status changed from assigned to closed
  • Resolution set to fixed

Considered closed based on the tests done on my side. Feel free to reopen if you still find problems on your side.

comment:9 Changed 13 months ago by SamK

Unfortunately it looks as though the ticket was closed prematurely. The fix works In CLI mode but fails in GUI mode.

Logs are attached.

Versions Tested
mindi_2.1.7-1_i386.deb
mindi-busybox_1.18.5-3_i386.deb
mondo_3.0.4-1_i386.deb

CLI Mode
mondoarchive -O -i -d /media/BACKUP-REPO/backup/home/nfs/mondo -G -4 -s 650m -p mondoverass-single -S /tmp -T /tmp -I "/bin" -E "|/home|/media|"

Result
mondo.tmp.xxxxxx is removed
mondo.scratch.xxxxxx is removed

GUI Mode

Backup to                =Hard Disk
Storage dir              =/media/BACKUP-REPO/backup/home/nfs/mondo
Type of compression      =gzip
How much compression     =Average
ISO Size                 =650
Prefix                   =mondoverass-single
Backup paths             =/bin
Exclude paths            =|/home/|/media|
Temporary dir            =/tmp/mondo.tmp.xxxxxx
Scratch dir              =/tmp/mondo.scratch.xxxxxx
Backup extended attrib   =yes
Verify backup            =yes
Confident kernel sane    =yes
Proceed                  =yes

Result
mondo.tmp.xxxxxx is removed
mondo.scratch.xxxxxx is created in /media/BACKUP-REPO/
mondo.scratch.xxxxxx is not removed

Changed 13 months ago by SamK

Changed 13 months ago by SamK

Changed 13 months ago by SamK

Changed 13 months ago by SamK

comment:10 Changed 13 months ago by SamK

  • Status changed from closed to reopened
  • Resolution fixed deleted
  • Milestone changed from 3.0.4 to 3.0.5

Edit to include both the above and the following.

A further matter has been discovered during testing of the issued fix.

In GUI mode
The default values provided by mondoarchive for the temp and scratch fields are inconsistent.
Temporary directory =/tmp/mondo.tmp.xxxxxx
Scratch directory =//mondo.scratch.xxxxxx

Presumably the default path to scratch dir should also begin /tmp/... rather than the two //.

Hopefully this is easily fixed.

Last edited 13 months ago by SamK (previous) (diff)
Note: See TracTickets for help on using tickets.