Re: [rdiff-backup-users] how to push rdiff-backup

2012-03-10 Thread Nicolas Jungers

On 2012-03-10 04:07, Willem Buitendyk wrote:

I'm a little perplexed.  My scenario is that I have data loggers in the field, 
each with a 3g usb modem on board.  I want to have the data loggers rdiff back 
to my server on amazon ec2 - or to push the backup.  My data loggers have 
dynamic ip addresses and the telco company keeps them hidden.  In other words I 
can't have my backup amazon ec2 server poll my data logger.  Again, the need to 
push the backup.  I'm not really finding any information on how to accomplish 
this.

I tried something like:

rdiff-backup --remote-schema 'ssh -i /home/ubuntu/id_rsa.pem %s rdiff-backup 
–-server’ /home/ubuntu/data/ fielddata@22.22.222.222::/home/fielddata/data/

This won't work as it complains about incorrect switches.

Any suggestions would be greatly appreciated.


The way I do it is to establish an openVPN tunnel. Beware that 
rdiff-backup is very sensitive to the link quality.


Regards,
Nicolas



Thanks

Willem



___
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 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] how to push rdiff-backup

2012-03-10 Thread Jernej Simončič
On Saturday, March 10, 2012, 4:07:32, Willem Buitendyk wrote:

 rdiff-backup --remote-schema 'ssh -i /home/ubuntu/id_rsa.pem %s
 rdiff-backup –-server’ /home/ubuntu/data/
 fielddata@22.22.222.222::/home/fielddata/data/ 

 This won't work as it complains about incorrect switches.

Try putting a = between --remote-schema and 'ssh.

-- 
 Jernej Simončič  http://eternallybored.org/ 

The one day you'd sell your soul for something, souls are a glut.
   -- Mason's First Law of Synergism


___
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] how to push rdiff-backup

2012-03-10 Thread Dominic Raferd

On 10/03/12 08:00, Nicolas Jungers wrote:

On 2012-03-10 04:07, Willem Buitendyk wrote:
I'm a little perplexed.  My scenario is that I have data loggers in 
the field, each with a 3g usb modem on board.  I want to have the 
data loggers rdiff back to my server on amazon ec2 - or to push the 
backup.  My data loggers have dynamic ip addresses and the telco 
company keeps them hidden.  In other words I can't have my backup 
amazon ec2 server poll my data logger.  Again, the need to push the 
backup.  I'm not really finding any information on how to accomplish 
this.


Any suggestions would be greatly appreciated.


The way I do it is to establish an openVPN tunnel. Beware that 
rdiff-backup is very sensitive to the link quality.


Agreed about the link quality, and so I would suggest that rather than 
try to run rdiff-backup over a 3g connection, you run rsync, which is 
much better at recovering from broken connections, especially with the 
--partial and --link-dest switches (and, occasionally, --checksum). Each 
machine in the field could rsync back to their dedicated folder on the 
backup machine and then the backup machine can run rdiff-backup locally. 
By combining the 2 programs in this way you can still get the benefit of 
rdiff-backup's versioning '4D' backup.


I also recommend creating a snapshot on the source machine and backing 
up from this rather than from the original data (which might change 
while the backup is in progress). For this you want LVM (for Linux) or 
VSS (for Windows) - I don't know what the equivalent is for Apples.


Dominic
TimeDicer http://www.timedicer.co.uk - Windows Backup and 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] how to push rdiff-backup

2012-03-09 Thread Willem Buitendyk
I'm a little perplexed.  My scenario is that I have data loggers in the field, 
each with a 3g usb modem on board.  I want to have the data loggers rdiff back 
to my server on amazon ec2 - or to push the backup.  My data loggers have 
dynamic ip addresses and the telco company keeps them hidden.  In other words I 
can't have my backup amazon ec2 server poll my data logger.  Again, the need to 
push the backup.  I'm not really finding any information on how to accomplish 
this.  

I tried something like:

rdiff-backup --remote-schema 'ssh -i /home/ubuntu/id_rsa.pem %s rdiff-backup 
–-server’ /home/ubuntu/data/ fielddata@22.22.222.222::/home/fielddata/data/ 

This won't work as it complains about incorrect switches.

Any suggestions would be greatly appreciated.

Thanks

Willem___
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