Re: Target: following file symlinks?

2012-07-20 Thread L. V. Lammert
On Fri, 20 Jul 2012, Yuriy Davygora wrote: > So, my question remains: can rsync somehow handle symlinks at the target > machine, or should I use some other tools? > A little Googling and/or RTFM would be appropriate, would it not? Check the man page on: --copy-dirlinks Or Google for an

Re: Rsync to a Remote NAS

2012-04-12 Thread L. V. Lammert
At 03:47 PM 4/12/2012, Kevin Korb wrote: The third is retaining the differences between the current backup and the previous backups. This allows you to restore from previous backups without consuming tons of extra space. Rsync accomplishes this with the --link-dest feature. It is not dependen

Re: Run rsync even not connected

2012-04-11 Thread L. V. Lammert
On Wed, 11 Apr 2012, Chris Arnold wrote: > I hopethis hope this makes sense. How do you make rsync run even when > not physically connected to the server? In other words, I run rsync from > the terminal via vnc and when I log out of the connection, rsync stops > running. Is there a script or somet

Re: Rsync to a Remote NAS

2012-04-11 Thread L. V. Lammert
On Wed, 11 Apr 2012, Kevin Korb wrote: > Using either rsync over ssh or rsyncd which is what I said in my > original reply. But unfortunately few NAS appliances support those. > Check for a custom kerhel for your NAS box - most have a ssh daemon and rsync. We did that a lot a few years ago, but h

Re: Data Pull Vs Push

2012-01-16 Thread L. V. Lammert
On Mon, 16 Jan 2012, Satish Shukla wrote: > b) pulling the data from source to destination ( i.e. running > rsync from destination machine) > The main reason to pull is with hard linking of the saved files, e.g. rsnapshot - only possible with a pull operation. Security is also a little bet

Re: securing rsync backup solutions?

2011-12-27 Thread L. V. Lammert
On Tue, 27 Dec 2011, Daniel Pocock wrote: > For full system backup, rsync obviously needs to run as root on the > machine being backed up > Not exactly, .. it is trivial to setup a root key on the 'to be backed up' machine that only authorizes the rsync command. Lee -- Please use reply-a

Re: Not all files copied

2011-11-14 Thread L. V. Lammert
On Mon, 14 Nov 2011, Mike Brown wrote: > I can't run it as root, as root login via ssh is not allowed for security > reasons. > PMFJI, but there *are* secure ways to allow root login - check out "forced command only". We run a number of rsnapshot/rsync jobs as root, but the only command allowed i

Re: Permission denied (13)

2011-04-15 Thread L. V. Lammert
On Fri, 15 Apr 2011, Juan Pablo Segundo wrote: > Hello! > > I've been trying to do backups with rsync. I want to do the backup into a > NAS (LG Network Storage N2B1/N2R1). I start mounting the NAS in my Ubuntu > Server 10.04 via cifs, and the /home from my Ubuntu's machines via nfs. This > script

Re: Rsync on shares issue

2011-03-09 Thread L. V. Lammert
On Wed, 9 Mar 2011 chad.fra...@crowley.com wrote: > rsync -auvrlt --progress --stats --delete "/cygdrive/v/SHARE/" "jaxback02::u/%computername%/SHARE/ > > The issue is there is a another share on this server called "shared", > this points to the same /SHARE/ folder. Rsync is creating two differ

Re: can't create a local mirror

2010-09-25 Thread L. V. Lammert
On Sat, 25 Sep 2010, Tim Hanson wrote: > Also, I tried to --exclude it, but got the same error. > If you still get the error, you aren't excluding it - your exclusion pattern is not matching. Lee -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe

Re: can't create a local mirror

2010-09-25 Thread L. V. Lammert
On Sat, 25 Sep 2010, Tim Hanson wrote: > rsync: readlink_stat("/home/timh/.gvfs") failed: Permission denied (13) > IME, you can't rsync .gvfs, .. you need to exclude that directory. GVFS is a virtual file system and does not work with rsync. Lee -- Please use reply-all for most replies t

Re: --compare-dest weirdness

2010-07-21 Thread L. V. Lammert
On Wed, 21 Jul 2010, Matthias Schniedermeyer wrote: > rsync with --link-dest so that all files that aren't changed are > hardlinked. > > Then to 'tar' all changed or new files you want a list of files without > hardlinks as those are the files that where changed or new(*): > find -type f -links 1

rsync 3.0.6 job 'stalls'

2010-07-02 Thread L. V. Lammert
Been trying to setup a backup between a Debian machine & CentOS; both are 3.0.6, but observing the log shows: 1) Connection is established (via ssh) 2) A file list is transferred [seems to be all files, including the pattern for what is selected?] 3) After the file list, the initiator (running 'pu

Debugging

2010-06-23 Thread L. V. Lammert
Trying to run an rsync job between an old Debian machine rsync version 2.6.9 protocol version 29 and a newer CentOS box: rsync version 2.6.8 protocol version 29 Just trying to grab the home directory [from the CentOS box]: rsync -avvv server.domain.org:/home/ /bu/home/ --ex