Fwbackups

This forum is for all contributions that do not concern directly the making of the distribution.
Could be : artwork, websites development, goodies, advocacy etc.

Fwbackups

Postby Toryoni » Dec 8th, '11, 04:06

I have been an ardent user of 'fwbackups' for some time ... More than anything B|C it gave the HDD Geometry in text format as well as the fact of offering 1 time backups, incremental, compression in GZip or BZip. However, after I did the transition from Mandriva PWP ( Been there for over 10 years ) to Mageia 1, and installed fwbackups ... I found that it would give errors when I did a backup. The following is a copy of the log file it produced. Is the problem with the new version of fwbackups v1.43.4, glibc, or in python v2.7.1 ? any information would be deeply appreciated. I did find that my disk geometry text file was written to my /tmp folder, but it would be nice to find or create a patch for this so I can continue using fwbackups ... BTW Mageia 1 ROCKS :D and Mandriva "IS" on its way out for offering a truly non-commercial linux :!:
FILE:___________________________________________________________________________________________________________________________________________________________________________________________________________
Dec 07 18:58:10 :: INFO : fwbackups administrator started
Dec 07 19:04:23 :: INFO : Starting automatic backup operation of set `Home.Users'
Dec 07 19:05:18 :: ERROR : An error occurred while backing up path '<fdopen>'.
Please check the error output below to determine if any files are incomplete or missing.
Dec 07 19:05:18 :: [b]ERROR
: Process exited with status 23. Errors: rsync: link_stat "/root/Documents/<fdopen>" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1052) [sender=3.0.8]

Dec 07 19:05:19 :: WARNING : There was an error while performing the backup!
Dec 07 19:05:19 :: ERROR : Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/fwbackups/operations/backup.py", line 713, in start
self.deleteListFiles(pkgListfiles)
File "/usr/lib/python2.7/site-packages/fwbackups/operations/backup.py", line 180, in deleteListFiles
os.remove(file)
OSError: [Errno 2] No such file or directory: '<fdopen>'

Dec 07 19:05:19 :: INFO : Canceling the current operation!
Dec 07 19:05:19 :: INFO : Finished automatic backup operation of set 'Home.Users'[/b]
Toryoni
 
Posts: 3
Joined: Dec 8th, '11, 03:45

Re: Fwbackups

Postby doktor5000 » Dec 8th, '11, 14:55

Seems the same problem as this bugreport: https://bugzilla.redhat.com/show_bug.cgi?id=725933
Seems you would need to apply this patch to fwbackups: http://pkgs.fedoraproject.org/gitweb/?p=fwbackups.git;a=blob_plain;f=fwbackups-1.43.4-fdopen.patch;hb=f958138f14551e90c106a58fc6e17adfc78e8b63

You can also do it manually, in the fwbackups file src/fwbackups/operations/backup.py you need to replace this line
Code: Select all
    return fh.name

(somewhere below/near line 118) with this one
Code: Select all
    return path

That should be it.

FWIW, would you mind to tell why you backup /root/Documents? This is a most unusual place to store any file, do you use that folder?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Fwbackups

Postby Toryoni » Dec 9th, '11, 02:54

I was simply trying to 'recreate' the scenario I have 3 HDD's ... WD 1 TeraByte, 1 WD 320 GB & 1 Seagate 160 GB ( All are SATA ) I THANK YOU IN ADVANCE FOR YOUR EXPEDIENT REPLY ...I will first try the manual method then if that fails, try the patch method. FWI: may be redundant, bur I 'had' been an ardent Mandrake / Mandriva PWP user since 2004 but with Mandriva's 2011 PWP release - which I tried ... After reading about the developers & programmers that "LEFT" B|C of policy conflicts ... I LEFT as WELL ! Mageia 1 is looking so SO GOOD !
Again, Thank you
Toryoni
 
Posts: 3
Joined: Dec 8th, '11, 03:45

Re: Fwbackups

Postby doktor5000 » Dec 9th, '11, 13:39

FWIW, could you please report your issue at https://bugs.mageia.org? I've misread your report, actually that patch should be applied to Mageia's fwbackups package.
Please open a report so i can fix this and use the report to validate the fixed packages afterwards by our quality assurance :)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Other

Who is online

Users browsing this forum: No registered users and 1 guest