Re: [ubuntu-uk] Using Rsync to a remote computer

2010-08-04 Thread azmodie
On 4 August 2010 14:23, ByteSoup  wrote:

> On 04/08/10 12:28, Colin Law wrote:
> > On 4 August 2010 12:23, Gordon Burgess-Parker
>  wrote:
> >
> >> Is it possible to use rsync to a folder on a remote computer?
> >>
> > Yes
> >
> >
> >> If so what's the syntax?
> >>
> > u...@server:folder/folder/..
> >
> >
> Assuming the remote machine is running linux, then you should also be
> able to use the -a option (which incorporates a few common used
> options). If your remote machine is a windows box, im not sure it will
> work.
>
> Slightly off topic but might be useful to you, I had a external HDD, it
> came formatted with the FAT filesystem, however I had murders getting
> all files to rsync from my Ubuntu machine, it didnt like preserving
> user, groups and soft links etc. I reformatted the drive to ext4 and it
> worked a charm.
>
> -Mark
>
> --
> ubuntu-uk@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/
>

i had similar issues with fat filesystems on target.

from : http://sial.org/howto/rsync/

"Normally, the -a option can be used to perfectly mirror the files. However,
if the target filesystem does not support permissions, a different set of
options should be used to avoid warnings from rsync. To synchronize data to
a USB drive with a FAT filesystem, I use the -rlt options. "

man rsync

-r, --recursive recurse into directories
-l, --links copy symlinks as symlinks
-t, --times preserve modification times

azmodie
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Using Rsync to a remote computer

2010-08-04 Thread ByteSoup
On 04/08/10 12:28, Colin Law wrote:
> On 4 August 2010 12:23, Gordon Burgess-Parker  
> wrote:
>
>> Is it possible to use rsync to a folder on a remote computer?
>>  
> Yes
>
>
>> If so what's the syntax?
>>  
> u...@server:folder/folder/..
>
>
Assuming the remote machine is running linux, then you should also be 
able to use the -a option (which incorporates a few common used 
options). If your remote machine is a windows box, im not sure it will work.

Slightly off topic but might be useful to you, I had a external HDD, it 
came formatted with the FAT filesystem, however I had murders getting 
all files to rsync from my Ubuntu machine, it didnt like preserving 
user, groups and soft links etc. I reformatted the drive to ext4 and it 
worked a charm.

-Mark

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Using Rsync to a remote computer

2010-08-04 Thread azmodie
On 4 August 2010 13:13, Philip Stubbs  wrote:

> On 4 August 2010 12:28, Colin Law  wrote:
> > On 4 August 2010 12:23, Gordon Burgess-Parker 
> wrote:
> >> Is it possible to use rsync to a folder on a remote computer?
> >
> > Yes
> >
> >> If so what's the syntax?
> >
> > u...@server:folder/folder/..
> >
> > I would have thought google would have given you this in seconds.
>
> $ man rsync
>
> Google not required :-)
>
> --
> Philip Stubbs
>
> --
> ubuntu-uk@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/
>


if you are trying to keep files in sync across two locations  this may be
worth a look too

https://help.ubuntu.com/community/Unison

azmodie
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Using Rsync to a remote computer

2010-08-04 Thread Philip Stubbs
On 4 August 2010 12:28, Colin Law  wrote:
> On 4 August 2010 12:23, Gordon Burgess-Parker  
> wrote:
>> Is it possible to use rsync to a folder on a remote computer?
>
> Yes
>
>> If so what's the syntax?
>
> u...@server:folder/folder/..
>
> I would have thought google would have given you this in seconds.

$ man rsync

Google not required :-)

-- 
Philip Stubbs

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Using Rsync to a remote computer

2010-08-04 Thread Gordon Burgess-Parker
On 04/08/10 12:38, Paul Morgan-Roach wrote:
>
> On 4 August 2010 12:23, Gordon Burgess-Parker
> mailto:gor...@gbpcomputing.co.uk>> wrote:
>
>
> I'd also suggest that if you don't trust the medium between the 2
> machines (ie, the internet) then you might want to consider running
> rsync over ssh.
>
> http://www.debianhelp.co.uk/rsync.htm
>
> :)

Thanks - the two machines are on a local network.
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Using Rsync to a remote computer

2010-08-04 Thread Paul Morgan-Roach
>
> On 4 August 2010 12:23, Gordon Burgess-Parker 
> wrote:
>

I'd also suggest that if you don't trust the medium between the 2 machines
(ie, the internet) then you might want to consider running rsync over ssh.

http://www.debianhelp.co.uk/rsync.htm

:)
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Using Rsync to a remote computer

2010-08-04 Thread Gordon Burgess-Parker
On 04/08/10 12:28, Colin Law wrote:
> On 4 August 2010 12:23, Gordon Burgess-Parker  
> wrote:
>   
>> Is it possible to use rsync to a folder on a remote computer?
>> 
> Yes
>
>   
>> If so what's the syntax?
>> 
> u...@server:folder/folder/..
>
>
>   

Thanks


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Using Rsync to a remote computer

2010-08-04 Thread Colin Law
On 4 August 2010 12:23, Gordon Burgess-Parker  wrote:
> Is it possible to use rsync to a folder on a remote computer?

Yes

> If so what's the syntax?

u...@server:folder/folder/..

I would have thought google would have given you this in seconds.

Colin

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


[ubuntu-uk] Using Rsync to a remote computer

2010-08-04 Thread Gordon Burgess-Parker
Is it possible to use rsync to a folder on a remote computer?
If so what's the syntax?

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/