[Ubuntu-US-CA] Looking for a Good Solution (data syncing)
Dave <3 Ubuntu
dave at iheartubuntu.com
Fri Jun 8 20:55:23 UTC 2012
Thank you to both for the great info. This looks exactly like what I am
looking for!
Dave
On 06/08/2012 09:26 AM, Alex Mandel wrote:
> The classic solution to this is rsync, which I find to be somewhat
> tricky but can get by using grsync (a GUI version) to set up. rsync is
> magic in that it only transfers differences. It does however take a
> while each time it's run to find what's changed and I haven't found a
> good way to skip that and say just push new stuff since I know the old
> stuff hasn't changed. This could be set up as a cron job to just
> happen in the background. The other method I sometimes use for this
> challenge is version control. I setup the master repository on my
> server and then use standard version control methods to keep my 2
> desktop/laptop machines up to date whenever I get on them. There's a
> little extra work here since a user has to manually say "add" to the
> version control system then push the files, and remember to
> pull/update on the other machine. Some of the common version control
> system do have integration with Nautilus or Dolphin (The file
> managers) so you don't have to learn command line. Enjoy, Alex
On 06/08/2012 09:47 AM, anon wrote:
> If you decide to go the rsync route, here are the commands i used, i can
> explain it to you if you need it.
>
> This is the command that i used for backups:
>
> rsync -e ssh -varuzLP ~/Documents ~/torrents ~/src
> metta at 192.168.1.8:/home/metta/backup/ /*use rsync to backup files */
>
> and the command to generate security keys:
>
> /* create key pair so no password needed with ssh, turn off password
> auth in /etc/ssh/sshd_config*/
> ssh-keygen -t dsa /* on source system, just hit enter @ prompts */
> ssh-copy-id -i ~/.ssh/id_dsa.pubmetta at 192.168.1.8 /* dest machine */
More information about the Ubuntu-us-ca
mailing list