Gmail Backup 0.09

We have been working hard to prepare our next release of this software numbered 0.09. This release contains a lot of refactoring and adds some new features.

We have improved the logging facility so the user is better informed about the problems with network and so on. We have also introduced one great feature - automatic error recovery. If the error with connection occur, the GMail Backup tries to reconnect and continue his work. It tries to reconnect ten times with five seconds between each try. This feature fixes errors [1], [2], [3].

Simply try it and report errors and regressions.

Only for your information, the output of this script can look like:

Starting backup of account xxx@gmail.com into /home/honza/tmp/backupd
Stored 0.0%: xxx@gmail.com - Your Gmail account, xxx@gmail.com, has been created
Stored 0.0%: xxx@gmail.com - asdf
Stored 0.0%: xxx@gmail.com -
...
Stored 33.6%: xxx@xxx.zcu.cz - KWS
Network error occered, disconnected
Trying to reconnect (1)
Not connected, sleeping for 5 seconds
Trying to reconnect (2)
Reconnected!
Network error occered, disconnected
Trying to reconnect (1)
Reconnected!
Stored 33.6%: xxx@xxx.zcu.cz - Materialy
...

Your GMail Backup Team

AttachmentSize
gmail-backup-0.09.zip2.25 MB
gmail-backup-0.09-linux.zip67.94 KB

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

multiple errors

Hi,

I have downloaded the Linuxversion and extracted it on my Desktop into a separate folder but I get everytime this errors:

Traceback (most recent call last):
File "gmail-backup.py", line 825, in
File "/home/gerrit/Desktop/gmail-backup-0.09-linux/svc/scripting/__init__.py", line 1072, in run
retval = super(SimpleScript, self).run()
File "/home/gerrit/Desktop/gmail-backup-0.09-linux/svc/scripting/__init__.py", line 347, in run
self._mainError(sys.exc_info()[1])
File "gmail-backup.py", line 813, in _mainError
File "gmail-backup.py", line 817, in _mainErrorFull
AttributeError: 'GMailBackupScript' object has no attribute 'notifier'

What can I do to fix the problem?

Thank you & greetings

Esco

Simple fix

Hi,
this is very funny, because I made a mistake while deploying the 0.09 release. I discovered this some time after the publishing of this announcement. I hoped, that nobody had downloaded the ZIP archive and I published the new ZIP. You have probably downloaded the erroneous ZIP containing an one-line error.

The fix is simple - download the file gmail-backup-0.09-linux_0.zip again and try it. It works pretty well in my Knoppix testing environment.

Thank you for using GMail Backup

Jan

same problem

Thank you for your help but with the new file I get the same problem. Is the call of the shell script right like this:

sudo sh gmail-backup.sh backup mymail@gmail.com mypwd

Thanks

Gerrit

try 0.10

Hi,
for running GMail Backup under Linux you don't need to use the "sudo" command. Simply run ./gmail-backup.sh with your arguments and it should work.

Can you try our 0.10 release? I think that the problem should be fixed there.

Jan

Solution

Hi Gerrit,
the correct way to invoke the GMail Backup script under Linux is the command line:

./gmail-backup.sh backup backup_directory username@gmail.com password

You have missed the backup_directory specification. This directory will contain your backup. It was our fault that the GMail Backup doesn't show the correct error message.

So, can you try the 0.11 release?

Thank you
Jan