SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
how to push rdiff-backup
Author Message
Post how to push rdiff-backup 
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 < at > 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

Post how to push rdiff-backup 
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 < at > 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 < at > 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 < at > nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Post how to push rdiff-backup 
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 < at > 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 < at > nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Post how to push rdiff-backup 
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 - Windows Backup and File Recovery from Whenever

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB