Re: Target: following file symlinks?
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 example: http://justaddwater.dk/2009/10/15/resolve-symlinks-when-copying-files-with-rsync/ Lee-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Rsync to a Remote NAS
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 have not done any recently. Lee -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Run rsync even not connected
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 something I can use? man screen (manually as a user) or use a cron job Lee -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Data Pull Vs Push
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 better, as you have a single authorized command key on the remote machine so the backup machine can be secured better (behind a firewall). Lee -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: securing rsync backup solutions?
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-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Not all files copied
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 is rsync. Lee -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Permission denied (13)
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 executes in the server's crontab, with root permissions. You would be a lot better off installing an unlocked kernel and running nfs, and you also get ssh access to see what's going on in the box. Lee -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Rsync on shares issue
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 different folders on the destination server one called SHARE and on called SHARED, and then its duplicating the data to both folders Is shared is not a physical folder why is rsync see it as such? Why do you have SHARED under SHARE? Move it out from under SHARE or exclude it (--exclude). AFAIK, there is no reliable way to distinguish links from physical files on NTFS. Lee -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: can't create a local mirror
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 to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: can't create a local mirror
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 or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: --compare-dest weirdness
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 dir -type f -links 1 files.lst tar options --files-from=files.lst Easier yet: rsnapshot -z (use compression) Simple way to get versions - hoursly/daily/weekly/monthly. Lee -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
rsync 3.0.6 job 'stalls'
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 'pull') shows Done 4) No files get transferred Using bare rsync, with -av, .. One possible clue - when launching the job as a push, there seeems to be a memory problem, but running with a single directory (say, 50MB), it still fails the same way. Any suggestions on how to troubleshoot would be appreciated. Lee -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html