Opened 9 years ago

Last modified 4 years ago

#279 assigned defect

Mondorestore interactive mode restores uselss empty dirs

Reported by: bruno Owned by: bruno
Priority: normal Milestone:
Component: mondo Version: 2.2.6
Severity: normal Keywords: restore live
Cc:

Description

t also restores a few other empty directories which weren't selected in the file list. They seem to be consistent, in that I've done it twice and it restored the same 3 empty directories (note that they weren't empty on the original system). Since no unwanted files from those directories were restored I suppose that it's not really a big problem, but it is odd.

The unwanted directories restored in addition to what I asked for were:

/home/vpopmail/domains/ticgroup.com.au/bud.growcott/Maildir/.Pallet control/cur
/tmp
/var/lib/mysql

I've noticed that they seem to be coming from the biggiefiles section even though they weren't selected.

Done.
Reassembling large files      
	[Main] mondorestore.c->restore_all_biggiefiles_from_stream#2397: OK, there are 5 biggiefiles in the archives
[Main] mondorestore.c->restore_a_biggiefile_from_stream#1395: /home/vpopmail/domains/ticgroup.com.au/bud.growcott/Maildir/.Pallet control/cur/1140740942.3798_596.rlo.com.au,S=86071333:2, --- pih=NO
[Main] mondorestore.c->restore_a_biggiefile_from_stream#1418: Skipping /home/vpopmail/domains/ticgroup.com.au/bud.growcott/Maildir/.Pallet control/cur/1140740942.3798_596.rlo.com.au,S=86071333:2, (name isn't in biggielist subset)
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1481: Reassembling big file 1 (/home/vpopmail/domains/ticgroup.com.au/bud.growcott/Maildir/.Pallet control/cur/1140740942.3798_596.rlo.com.au,S=86071333:2,)
		[Main] mondorestore.c->restore_a_biggiefile_from_stream#1501: Pipe command = 'cat > "/dev/null"'
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #1, slice #0    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #1, slice #1    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #1, slice #2    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #1, slice #3    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #1, slice #4    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #1, slice #5    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #1, slice #6    
[Main] mondorestore.c->restore_a_biggiefile_from_stream#1561: pathname_of_last_file_restored is now 
		[Main] mondorestore.c->restore_a_biggiefile_from_stream#1573: biggiestruct.filename = /home/vpopmail/domains/ticgroup.com.au/bud.growcott/Maildir/.Pallet control/cur/1140740942.3798_596.rlo.com.au,S=86071333:2,
		[Main] mondorestore.c->restore_a_biggiefile_from_stream#1574: biggiestruct.checksum = 931bcc31faaebc228109f8f78c95f201
[Main] mondorestore.c->restore_all_biggiefiles_from_stream#2430: I believe I have restored 
[Main] mondorestore.c->restore_a_biggiefile_from_stream#1395: /home/vpopmail/domains/ticgroup.com.au/bud.growcott/Maildir/.Pallet control/cur/1140741010.3798_597.rlo.com.au,S=86075819:2, --- pih=NO
[Main] mondorestore.c->restore_a_biggiefile_from_stream#1418: Skipping /home/vpopmail/domains/ticgroup.com.au/bud.growcott/Maildir/.Pallet control/cur/1140741010.3798_597.rlo.com.au,S=86075819:2, (name isn't in biggielist subset)
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1481: Reassembling big file 2 (/home/vpopmail/domains/ticgroup.com.au/bud.growcott/Maildir/.Pallet control/cur/1140741010.3798_597.rlo.com.au,S=86075819:2,)
		[Main] mondorestore.c->restore_a_biggiefile_from_stream#1501: Pipe command = 'cat > "/dev/null"'
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #2, slice #0    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #2, slice #1    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #2, slice #2    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #2, slice #3    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #2, slice #4    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #2, slice #5    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #2, slice #6    
[Main] mondorestore.c->restore_a_biggiefile_from_stream#1561: pathname_of_last_file_restored is now 
		[Main] mondorestore.c->restore_a_biggiefile_from_stream#1573: biggiestruct.filename = /home/vpopmail/domains/ticgroup.com.au/bud.growcott/Maildir/.Pallet control/cur/1140741010.3798_597.rlo.com.au,S=86075819:2,
		[Main] mondorestore.c->restore_a_biggiefile_from_stream#1574: biggiestruct.checksum = f9ba3e4c5d6b8daf10d5c47d4fcedc78
[Main] mondorestore.c->restore_all_biggiefiles_from_stream#2430: I believe I have restored 
[Main] mondorestore.c->restore_a_biggiefile_from_stream#1395: /home/vpopmail/domains/ticgroup.com.au/sapsupport.tar.gz --- pih=NO
[Main] mondorestore.c->restore_a_biggiefile_from_stream#1418: Skipping /home/vpopmail/domains/ticgroup.com.au/sapsupport.tar.gz (name isn't in biggielist subset)
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1481: Reassembling big file 3 (/home/vpopmail/domains/ticgroup.com.au/sapsupport.tar.gz)
		[Main] mondorestore.c->restore_a_biggiefile_from_stream#1501: Pipe command = 'cat > "/dev/null"'
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #3, slice #0    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #3, slice #1    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #3, slice #2    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #3, slice #3    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #3, slice #4    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #3, slice #5    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #3, slice #6    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #3, slice #7    
[Main] mondorestore.c->restore_a_biggiefile_from_stream#1561: pathname_of_last_file_restored is now 
		[Main] mondorestore.c->restore_a_biggiefile_from_stream#1573: biggiestruct.filename = /home/vpopmail/domains/ticgroup.com.au/sapsupport.tar.gz
		[Main] mondorestore.c->restore_a_biggiefile_from_stream#1574: biggiestruct.checksum = 1e4aa002fbebb935d4a185d708782b51
[Main] mondorestore.c->restore_all_biggiefiles_from_stream#2430: I believe I have restored 
[Main] mondorestore.c->restore_a_biggiefile_from_stream#1395: /tmp/selected-files.txt --- pih=NO
[Main] mondorestore.c->restore_a_biggiefile_from_stream#1418: Skipping /tmp/selected-files.txt (name isn't in biggielist subset)
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1481: Reassembling big file 4 (/tmp/selected-files.txt)
		[Main] mondorestore.c->restore_a_biggiefile_from_stream#1501: Pipe command = 'cat > "/dev/null"'
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #4, slice #0    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #4, slice #1    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #4, slice #2    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #4, slice #3    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #4, slice #4    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #4, slice #5    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #4, slice #6    
[Main] mondorestore.c->restore_a_biggiefile_from_stream#1561: pathname_of_last_file_restored is now 
		[Main] mondorestore.c->restore_a_biggiefile_from_stream#1573: biggiestruct.filename = /tmp/selected-files.txt
		[Main] mondorestore.c->restore_a_biggiefile_from_stream#1574: biggiestruct.checksum = 841aec6a37f6d2d2b9991eb31f9f6fd2
[Main] mondorestore.c->restore_all_biggiefiles_from_stream#2430: I believe I have restored 
[Main] mondorestore.c->restore_a_biggiefile_from_stream#1395: /var/lib/mysql/ibdata1 --- pih=NO
[Main] mondorestore.c->restore_a_biggiefile_from_stream#1418: Skipping /var/lib/mysql/ibdata1 (name isn't in biggielist subset)
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1481: Reassembling big file 5 (/var/lib/mysql/ibdata1)
		[Main] mondorestore.c->restore_a_biggiefile_from_stream#1501: Pipe command = 'cat > "/dev/null"'
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #5, slice #0    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #5, slice #1    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #5, slice #2    
[...]	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #5, slice #3184    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #5, slice #3185    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #5, slice #3186    
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #5, slice #3187    
update_progress_form_full(      I am now reassembling all the large files.     ,Working on file #5, slice #3187,         Please wait. This may take some time.       ) --- g_current_progress=3216; g_maximum_progress=3215
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #5, slice #3188    
update_progress_form_full(      I am now reassembling all the large files.     ,Working on file #5, slice #3188,         Please wait. This may take some time.       ) --- g_current_progress=3216; g_maximum_progress=3215
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #5, slice #3189    
update_progress_form_full(      I am now reassembling all the large files.     ,Working on file #5, slice #3189,         Please wait. This may take some time.       ) --- g_current_progress=3216; g_maximum_progress=3215
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #5, slice #3190    
update_progress_form_full(      I am now reassembling all the large files.     ,Working on file #5, slice #3190,         Please wait. This may take some time.       ) --- g_current_progress=3216; g_maximum_progress=3215
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #5, slice #3191    
update_progress_form_full(      I am now reassembling all the large files.     ,Working on file #5, slice #3191,         Please wait. This may take some time.       ) --- g_current_progress=3216; g_maximum_progress=3215
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #5, slice #3192    
update_progress_form_full(      I am now reassembling all the large files.     ,Working on file #5, slice #3192,         Please wait. This may take some time.       ) --- g_current_progress=3216; g_maximum_progress=3215
	[Main] mondorestore.c->restore_a_biggiefile_from_stream#1515: Working on file #5, slice #3193    
update_progress_form_full(      I am now reassembling all the large files.     ,Working on file #5, slice #3193,         Please wait. This may take some time.       ) --- g_current_progress=3216; g_maximum_progress=3215
[Main] mondorestore.c->restore_a_biggiefile_from_stream#1561: pathname_of_last_file_restored is now 
		[Main] mondorestore.c->restore_a_biggiefile_from_stream#1573: biggiestruct.filename = /var/lib/mysql/ibdata1
		[Main] mondorestore.c->restore_a_biggiefile_from_stream#1574: biggiestruct.checksum = 78161e8cd4e70e2c30ae89e5070f4ac0
[Main] mondorestore.c->restore_all_biggiefiles_from_stream#2430: I believe I have restored 
[Main] mondorestore.c->restore_all_biggiefiles_from_stream#2447: 5 biggiefiles in biggielist.txt; 5 biggiefiles processed today.
	[Main] mondorestore.c->restore_all_biggiefiles_from_stream#2470: mondorestore.c, restore_all_biggiefiles_from_stream, 2470: No biggiefiles selected. So, no biggie-EXATs to set.
Done.
	[Main] libmondo-stream.c->closein_tape#120: closein_tape() -- entering
	[Main] libmondo-stream.c->closein_tape#138: closein_tape() -- leaving
running: mt -f /dev/st0 offline > /storage/mondo.tmp.MXRHQj/mondo-run-prog-thing.tmp 2> /storage/mondo.tmp.MXRHQj/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
--------------------------------end of output------------------------------
...ran just fine. :-)
		[Main] libmondo-devices.c->eject_device#235: Ejecting /dev/st0
running: eject /dev/st0 > /storage/mondo.tmp.MXRHQj/mondo-run-prog-thing.tmp 2> /storage/mondo.tmp.MXRHQj/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
--------------------------------end of output------------------------------
...ran just fine. :-)
	[Main] libmondo-files.c->length_of_file#611: filename=/etc/raidtab
Unable to openin filename (No such file or directory)
running: ps  | grep " petris " | awk '{print $1;}' | grep -v "grep" > /storage/mondo.tmp.MXRHQj/mondo-run-prog-thing.tmp 2> /storage/mondo.tmp.MXRHQj/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
--------------------------------end of output------------------------------
...ran with res=256
running: kill `ps  | grep " petris " | awk '{print $1;}' | grep -v "grep"` > /storage/mondo.tmp.MXRHQj/mondo-run-prog-thing.tmp 2> /storage/mondo.tmp.MXRHQj/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]
--------------------------------end of output------------------------------
...ran with res=256
	[Main] mondorestore.c->restore_everything#2716: restore_everything() --- leaving
Freeing memory formerly occupied by filelist
	[Main] libmondo-filelist.c->free_filelist#429: Finished freeing memory
	[Main] mondorestore.c->restore_to_live_filesystem#974: Tape : I don't need to unmount or eject the CD-ROM.
running: umount /mnt/cdrom > /storage/mondo.tmp.MXRHQj/mondo-run-prog-thing.tmp 2> /storage/mondo.tmp.MXRHQj/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
umount: /mnt/cdrom: not mounted
--------------------------------end of output------------------------------
...ran with res=256
running: mt -f /dev/st0 offline > /storage/mondo.tmp.MXRHQj/mondo-run-prog-thing.tmp 2> /storage/mondo.tmp.MXRHQj/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
/dev/st0: Input/output error
--------------------------------end of output------------------------------
...ran with res=256
		[Main] libmondo-devices.c->eject_device#235: Ejecting /dev/st0
running: eject /dev/st0 > /storage/mondo.tmp.MXRHQj/mondo-run-prog-thing.tmp 2> /storage/mondo.tmp.MXRHQj/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
--------------------------------end of output------------------------------
...ran just fine. :-)
	[Main] mondorestore.c->main#3194: Still here. Yay.
running: rm -Rf /storage/mondo.tmp.MXRHQj/* > /storage/mondo.tmp.MXRHQj/mondo-run-prog-thing.tmp 2> /storage/mondo.tmp.MXRHQj/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
--------------------------------end of output------------------------------
...ran just fine. :-)
		[Main] libmondo-tools.c->unmount_boot_if_necessary#1309: starting
		[Main] libmondo-tools.c->unmount_boot_if_necessary#1316: leaving
	[Main] libmondo-files.c->register_pid#815: Unregistering PID
running: umount /mnt/cdrom > /storage/mondo.tmp.MXRHQj/mondo-run-prog-thing.tmp 2> /storage/mondo.tmp.MXRHQj/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
umount: /mnt/cdrom: not mounted
--------------------------------end of output------------------------------
...ran with res=256
[Main] newt-specific.c->finish#406: Calling newtSuspend()

Change History (2)

comment:1 Changed 8 years ago by bruno

  • Milestone set to 2.2.10
  • Status changed from new to assigned

comment:2 Changed 4 years ago by bruno

  • Milestone 3.1.0 deleted

Milestone 3.1.0 deleted

Note: See TracTickets for help on using tickets.