Re: [rdiff-backup-users] Fatal Error: Lost connection to the remote system

2013-06-10 Thread Øyvind Skaar

On 09. juni 2013 12:33, Grant wrote:

Are you running this over the internet? I wouldn't advise this precisely
because of these sorts of problems. rdiff-backup really needs a reliable
connection, rsync is better for backup over the internet. If you need the
extra functionality of rdiff-backup, either run rdiff-backup locally on the
remote system (or its lan) and then rsync the resulting repository to your
laptop, or rsync the data from remote to your laptop and then use
rdiff-backup locally on your laptop. I do the former.


Thank you, I didn't realize that was a best practice.  Is this
documented anywhere?



This might be a good idea, but FYI I currently run a nightly over 
Internet without any issues.


The machine running the client (ssh connect) has this ssh config:


cat ~/.ssh/config
ServerAliveInterval 5




Regards,
Øyvind Skaar






--
Øyvind Skaar
Systemkonsulent, Opoint AS
Akersgata 28A, 0158 Oslo
Epost: o...@opoint.com - Mobil (+47) 48278480

___
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki


Re: [rdiff-backup-users] Fatal Error: Lost connection to the remote system

2013-06-10 Thread Dominic Raferd

  
  

On 10/06/2013 09:49, yvind Skaar
  wrote:


  On 09. juni 2013 12:33, Grant wrote:

  

  Are you running this over the internet? I wouldn't advise this precisely
because of these sorts of problems. rdiff-backup really needs a reliable
connection, rsync is better for backup over the internet. If you need the
extra functionality of rdiff-backup, either run rdiff-backup locally on the
remote system (or its lan) and then rsync the resulting repository to your
laptop, or rsync the data from remote to your laptop and then use
rdiff-backup locally on your laptop. I do the former.



Thank you, I didn't realize that was a best practice.  Is this
documented anywhere?

  
  

This might be a good idea, but FYI I currently run a nightly over 
Internet without any issues.

The machine running the client (ssh connect) has this ssh config:


  
cat ~/.ssh/config
ServerAliveInterval 5

  
  


Regards,
yvind Skaar




Seems like a good tip, I suppose you could combine it with setting
on the other machine:
ClientAliveInterval 5

Certainly an easier way for OP to solve his problem, if it works
okay. I'd be interested to know if it does...

-- 
  TimeDicer: Free
  File Recovery from Whenever
  


___
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

[rdiff-backup-users] Error for incremental backup on Mac

2013-06-10 Thread Sai kee Wong
Got following error, I am not familiar with troubleshooting with
rdiff-backup, can anyone suggest some way for me to troubleshoot ?

Thanks in advance.

SK

Previous backup seems to have failed, regressing destination now.
Exception 'Bad index order: ('long_filename_data', '1') = ('ctse', 'Library', 
'Mail', 'V2', 'imap-cathypy...@gmail.com@imap.gmail.com', '[Gmail].mbox', 'All 
Mail.mbox', '05D20631-00E8-46C9-A4DC-3AC8C76717F5', 'Data', '2', '6', 
'Attachments', '62150')' raised of class 'type 'exceptions.AssertionError'':
 File /Library/Python/2.7/site-packages/rdiff_backup/Main.py, line 306, in 
error_check_Main
   try: Main(arglist)
 File /Library/Python/2.7/site-packages/rdiff_backup/Main.py, line 326, in 
Main
   take_action(rps)
 File /Library/Python/2.7/site-packages/rdiff_backup/Main.py, line 282, in 
take_action
   elif action == backup: Backup(rps[0], rps[1])
 File /Library/Python/2.7/site-packages/rdiff_backup/Main.py, line 339, in 
Backup
   backup_final_init(rpout)
 File /Library/Python/2.7/site-packages/rdiff_backup/Main.py, line 504, in 
backup_final_init
   checkdest_if_necessary(rpout)
 File /Library/Python/2.7/site-packages/rdiff_backup/Main.py, line 938, in 
checkdest_if_necessary
   dest_rp.conn.regress.Regress(dest_rp)
 File /Library/Python/2.7/site-packages/rdiff_backup/regress.py, line 71, in 
Regress
   for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
 File /Library/Python/2.7/site-packages/rdiff_backup/rorpiter.py, line 275, 
in __call__
   assert 0, Bad index order: %s = %s % (self.index, index)

Traceback (most recent call last):
 File /usr/local/bin/rdiff-backup, line 30, in module
   rdiff_backup.Main.error_check_Main(sys.argv[1:])
 File /Library/Python/2.7/site-packages/rdiff_backup/Main.py, line 306, in 
error_check_Main
   try: Main(arglist)
 File /Library/Python/2.7/site-packages/rdiff_backup/Main.py, line 326, in 
Main
   take_action(rps)
 File /Library/Python/2.7/site-packages/rdiff_backup/Main.py, line 282, in 
take_action
   elif action == backup: Backup(rps[0], rps[1])
 File /Library/Python/2.7/site-packages/rdiff_backup/Main.py, line 339, in 
Backup
   backup_final_init(rpout)
 File /Library/Python/2.7/site-packages/rdiff_backup/Main.py, line 504, in 
backup_final_init
   checkdest_if_necessary(rpout)
 File /Library/Python/2.7/site-packages/rdiff_backup/Main.py, line 938, in 
checkdest_if_necessary
   dest_rp.conn.regress.Regress(dest_rp)
 File /Library/Python/2.7/site-packages/rdiff_backup/regress.py, line 71, in 
Regress
   for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
 File /Library/Python/2.7/site-packages/rdiff_backup/rorpiter.py, line 275, 
in __call__
   assert 0, Bad index order: %s = %s % (self.index, index)
AssertionError: Bad index order: ('long_filename_data', '1') = ('ctse', 
'Library', 'Mail', 'V2', 'imap-cathypy...@gmail.com@imap.gmail.com', 
'[Gmail].mbox', 'All Mail.mbox', '05D20631-00E8-46C9-A4DC-3AC8C76717F5', 
'Data', '2', '6', 'Attachments', '62150')___
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki