Opened 12 years ago

Last modified 11 years ago

#640 reopened defect

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

Reported by: SamK Owned by: Bruno Cornec
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 (16)

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

Download all attachments as: .zip

Change History (26)

by SamK, 12 years ago

Attachment: mindi.log.GUI.tgz added

by SamK, 12 years ago

Attachment: mondoarchive.log.GUI.tgz added

by SamK, 12 years ago

Attachment: mindi.log.CLI.tgz added

by SamK, 12 years ago

Attachment: mondoarchive.log.CLI.tgz added

comment:1 by Bruno Cornec, 12 years ago

Status: newassigned

comment:2 by Bruno Cornec, 12 years ago

Cc: didier.diaz@… added

comment:3 by SamK, 11 years ago

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

by SamK, 11 years ago

Attachment: mindi.log.cli.tgz added

by SamK, 11 years ago

Attachment: mondoarchive.log.cli.tgz added

by SamK, 11 years ago

Attachment: mindi.log.gui.tgz added

by SamK, 11 years ago

Attachment: mondoarchive.log.gui.tgz added

comment:4 by Bruno Cornec, 11 years ago

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

by SamK, 11 years ago

Attachment: mindi.log.cli.2.tgz added

by SamK, 11 years ago

Attachment: mondoarchive.log.cli.2.tgz added

by SamK, 11 years ago

Attachment: mindi.log.gui.2.tgz added

by SamK, 11 years ago

Attachment: mondoarchive.log.gui.2.tgz added

in reply to:  4 comment:5 by SamK, 11 years ago

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  (GUI closes to CLI)
Scratch directory     = 
Backup extended attrib= 
Verify backup         =

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.scratch.xxxxx are removed
Via gui mondo.scratch.xxxxx and mondo.scratch.xxxxx now cannot be tested

RELATED TICKET
#641

Version 1, edited 11 years ago by SamK (previous) (next) (diff)

comment:6 by Bruno Cornec, 11 years ago

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 by Bruno Cornec, 11 years ago

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

comment:8 by Bruno Cornec, 11 years ago

Resolution: fixed
Status: assignedclosed

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

comment:9 by SamK, 11 years ago

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

by SamK, 11 years ago

Attachment: mindi.log.cli.3.tgz added

by SamK, 11 years ago

Attachment: mondoarchive.log.cli.3.tgz added

by SamK, 11 years ago

Attachment: mindi.log.gui.3.tgz added

by SamK, 11 years ago

Attachment: mondoarchive.log.gui.3.tgz added

comment:10 by SamK, 11 years ago

Milestone: 3.0.43.0.5
Resolution: fixed
Status: closedreopened

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 11 years ago by SamK (previous) (diff)
Note: See TracTickets for help on using tickets.