Re: OT: rsync on Mac OSX

2013-07-18 Thread Paul Kraus
On Jul 12, 2013, at 2:57 PM, kpn...@pobox.com wrote: I thought MacOS X's rsync did handle resource forks if you gave it the proper option. The resource fork is reported by rsync in the usual convention of having ._ prefixed to the filename. My understanding was that the files named ._foo were

Re: OT: rsync on Mac OSX

2013-07-14 Thread David Brodbeck
On Fri, Jul 12, 2013 at 11:25 AM, Chris Maness ch...@chrismaness.comwrote: Thank you for the detailed description of what resource forks are. One more clue in this mystery is that appending .mov extension to it fixes the problem. That makes some sense, since without the resource fork some

Re: OT: rsync on Mac OSX

2013-07-12 Thread Chris Maness
On Tue, Jul 2, 2013 at 3:11 PM, Chris Maness ch...@chrismaness.com wrote: Since you are going to wait anyway, why don't you try peeking at some of the file checksums while this is running? MacOS X comes with a shasum utility which implements SHA-256 checksums, so you should be able to

Re: OT: rsync on Mac OSX

2013-07-12 Thread Doug Hardie
regenerate it with the appropriate file associations? I know this is a little off topic, but Mac OSX is based on BSD. You guys are also the smartest around :D Rsync on the Mac only opens and copies the data forks. It does not copy the resource forks. There are still a few applications that use

Re: OT: rsync on Mac OSX

2013-07-12 Thread Chris Maness
that Apple came up with is to create .DS_Store and ._foo files to store this metadata on non HFS+ volumes. You could try using ditto instead of rsync. ditto is a BSD derived copy utility similar to rysnc, but I know that the Mac OS X version understands resource forks and copies them as necessary

OT: rsync on Mac OSX

2013-07-02 Thread Chris Maness
I have been using rsync with Mac OSX with no issues until today. I generally use it instead of the copy command because if the copy fails on large files, I can pick up where I left off. I have backed up entire Final Cut Pro projects this way with no issues. However, I recently synced a drive

Re: OT: rsync on Mac OSX

2013-07-02 Thread Giorgos Keramidas
On Tue, 2 Jul 2013 13:35:00 -0700, Chris Maness ch...@chrismaness.com wrote: I have been using rsync with Mac OSX with no issues until today. I generally use it instead of the copy command because if the copy fails on large files, I can pick up where I left off. I have backed up entire Final

Re: OT: rsync on Mac OSX

2013-07-02 Thread Chris Maness
On Tue, Jul 2, 2013 at 2:30 PM, Giorgos Keramidas keram...@ceid.upatras.grwrote: On Tue, 2 Jul 2013 13:35:00 -0700, Chris Maness ch...@chrismaness.com wrote: I have been using rsync with Mac OSX with no issues until today. I generally use it instead of the copy command because if the copy

Re: OT: rsync on Mac OSX

2013-07-02 Thread Giorgos Keramidas
On Tue, 2 Jul 2013 14:48:03 -0700, Chris Maness ch...@chrismaness.com wrote: On Tue, Jul 2, 2013 at 2:30 PM, Giorgos Keramidas keram...@ceid.upatras.grwrote: On Tue, 2 Jul 2013 13:35:00 -0700, Chris Maness ch...@chrismaness.com wrote: I have been using rsync with Mac OSX with no issues until

Re: OT: rsync on Mac OSX

2013-07-02 Thread Chris Maness
Since you are going to wait anyway, why don't you try peeking at some of the file checksums while this is running? MacOS X comes with a shasum utility which implements SHA-256 checksums, so you should be able to look at a few random samples of these files, e.g. by running on the source disk:

Re: RSync exclusion

2013-04-20 Thread Jos Chrispijn
Must have had a temporary brain damage, sorry... thanks Jos Paul Macdonald: --exclude /files/photos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any

Re: RSync exclusion

2013-04-20 Thread Jos Chrispijn
Daniel O'Callaghan: It uses rsync, but manages a directory tree with hard links to unchanged files. It would solve your problem, but in a different way. Thanks for this - the issue is solved, but I will certainly have a look to that one as well. Jos

Re: RSync exclusion

2013-04-19 Thread Erich Dollansky
Hi, On Thu, 18 Apr 2013 13:30:45 +0200 Jos Chrispijn ker...@webrz.net wrote: I have a local folder called /files/ In my daily backup event I create as per day a backkup folder that contains this /files folder including all its sub folders --- cut --- rsync -avrz -e ssh /files/ backupr

RSync exclusion

2013-04-18 Thread Jos Chrispijn
I have a local folder called /files/ In my daily backup event I create as per day a backkup folder that contains this /files folder including all its sub folders --- cut --- rsync -avrz -e ssh /files/ backupr@x.x.x.x:/vol1/FreeBSD/$DATE/ In this /files folder, amongst others, I have another

Re: RSync exclusion

2013-04-18 Thread Daniel O'Callaghan
On 18/04/2013 9:30 PM, Jos Chrispijn wrote: rsync -avrz -e ssh /files/ backupr@x.x.x.x:/vol1/FreeBSD/$DATE/ Just a thought, but have you looked at rsnapshot? http://www.rsnapshot.org/ http://www.freshports.org/sysutils/rsnapshot/ It uses rsync, but manages a directory tree with hard links

Re: RSync exclusion

2013-04-18 Thread Paul Macdonald
In this /files folder, amongst others, I have another folder called photos: /files/photos What I now would like to do is sync the /files folder with an exclusion on the /files/photos folder Reason for that is that this /photos subfolder contains 12 gb on photos, which I don't want to have

Crash when trying to rsync to external NTFS-formatted HD

2013-03-25 Thread Leslie Jensen
Hello list. I'm trying the following on my 9.1-RELEASE #0 system: Mounting the external HD ntfs-3g /dev/da0s1 /mnt/backup/ And doing rsync -av /home/les /mnt/backup/BSD_backup/ I get Building incremental file list for about one minute then my system freezes and reboots. I'm aware

Re: Crash when trying to rsync to external NTFS-formatted HD

2013-03-25 Thread Lowell Gilbert
Leslie Jensen les...@eskk.nu writes: I'm trying the following on my 9.1-RELEASE #0 system: Mounting the external HD ntfs-3g /dev/da0s1 /mnt/backup/ And doing rsync -av /home/les /mnt/backup/BSD_backup/ I get Building incremental file list for about one minute then my system freezes

Re: Crash when trying to rsync to external NTFS-formatted HD

2013-03-25 Thread Waitman Gobble
/ And doing rsync -av /home/les /mnt/backup/BSD_backup/ I get Building incremental file list for about one minute then my system freezes and reboots. I'm aware that NTFS might be the culprit. I have chosen it for convenience and the possibility to move my data to machines without FreeBSD

Re: backups using rsync

2013-03-09 Thread Giorgos Keramidas
On Tue, 05 Mar 2013 20:30:22 +0100, Matthias Petermann matth...@d2ux.org wrote: Hello, Zitat von Giorgos Keramidas keram...@ceid.upatras.gr: If this is a UFS2 filesystem, it may be a good idea to snapshot the filesystem, and then rsync-backup the snapshot instead. Last time I tried UFS2

Re: backups using rsync

2013-03-06 Thread David Brodbeck
with the consistency of the contents of files thus dumped; but not necessarily with the consistency of the dump itself. Any tool that backs up a live filesystem, such as rsync or tar, will have these issues. Note that this is mainly a problem for things like databases, where the contents of multiple files

Re: backups using rsync

2013-03-05 Thread Polytropon
widely known (except to me)... ``You can't use dump(8) to dump a journaled filesystem with soft updates'' bug-a-boo. There are other tools you can use, for example tar or cpdup or rsync, as you've mentioned in the subject. tar I already knew about, but I think you will agree that it has

Re: backups using rsync

2013-03-05 Thread Giorgos Keramidas
to single-user mode every week for a few hours while I'm making my disk-to-disk backup. So now I'm looking at doing the backups using rsync. Yes, this should be possible... One thing that can bite you when using rsync to traverse copy large filesystems is that the filesystem may still be changing

Re: backups using rsync

2013-03-05 Thread Matthias Petermann
Hello, Zitat von Giorgos Keramidas keram...@ceid.upatras.gr: If this is a UFS2 filesystem, it may be a good idea to snapshot the filesystem, and then rsync-backup the snapshot instead. Last time I tried UFS2 snapshots I found out two serious limitations. The first is it doesn't work when UFS

backups using rsync

2013-03-04 Thread Ronald F. Guilmette
. So now I'm looking at doing the backups using rsync. I see that rsync can nowadays properly cope with all sorts of oddities, like fer instance device files, hard-linked files, ACLs, file attributes, and all sorts of other unusual but important filesystem thingies. That's good news, but I still have

Re: backups using rsync

2013-03-04 Thread Polytropon
, for example tar or cpdup or rsync, as you've mentioned in the subject. I _had_ planned on using dump/restore and making backups from live mounted filesystems while the system was running. But I really don't want to have to take the system down to single-user mode every week for a few hours while

Re: backups using rsync

2013-03-04 Thread Warren Block
others do also. It can be disabled on an existing filesystem from single user mode. If I use all of the following rsync options... -a,-H,-A, -X, and -S when trying to make my backups, and if I do whatever additional fiddling is necessary to insure that I separately copy over the MBR

Re: backups using rsync

2013-03-04 Thread Ronald F. Guilmette
a journaled filesystem with soft updates'' bug-a-boo. There are other tools you can use, for example tar or cpdup or rsync, as you've mentioned in the subject. tar I already knew about, but I think you will agree that it has lots of limitations that make it entirely inappropriate for mirroring

Re: backups using rsync

2013-03-04 Thread Ronald F. Guilmette
? Is it tunefs with some special option? If I use all of the following rsync options... -a,-H,-A, -X, and -S when trying to make my backups, and if I do whatever additional fiddling is necessary to insure that I separately copy over the MBR and boot loader also to my backup drive

Re: backups using rsync

2013-03-04 Thread CyberLeo Kitsana
thus dumped; but not necessarily with the consistency of the dump itself. Any tool that backs up a live filesystem, such as rsync or tar, will have these issues. Sigh. The best laid plans of mice and men... I _had_ planned on using dump/restore and making backups from live mounted

Re: backups using rsync

2013-03-04 Thread Lawrence K. Chen, P.Eng.
. There are other tools you can use, for example tar or cpdup or rsync, as you've mentioned in the subject. Or if you want to be ambitious you could install something like 'sysutils/backuppc' (where one of its methods is rsync, its what I use for all the systems I back up with it. - Windows

Re: backups using rsync

2013-03-04 Thread Warren Block
with some special option? Just boot in single user mode so all the filesystems are unmounted or mounted readonly. Then use 'tunefs -j disable /dev/...'. It will also mention the name of the journal file, which can be deleted. Use the latest net/rsync port, and enable the FLAGS option. I use

Syncing Two Dirs With Rsync

2013-01-10 Thread Tim Daneliuk
I have used rsync for many years to make sure a destination machine:directory is kept up-to-date with some source master directory. I now need to find a way to keep two different machine:dirs in sync with each other. But for any given file, I don't know which of these is newer so I don't know

Re: Syncing Two Dirs With Rsync

2013-01-10 Thread Chuck Swiger
On Jan 10, 2013, at 10:57 AM, Tim Daneliuk wrote: I have used rsync for many years to make sure a destination machine:directory is kept up-to-date with some source master directory. I now need to find a way to keep two different machine:dirs in sync with each other. But for any given file

Re: Syncing Two Dirs With Rsync

2013-01-10 Thread dweimer
On 2013-01-10 12:57, Tim Daneliuk wrote: I have used rsync for many years to make sure a destination machine:directory is kept up-to-date with some source master directory. I now need to find a way to keep two different machine:dirs in sync with each other. But for any given file, I don't know

Re: Backup with mtree and rsync?

2013-01-08 Thread Lowell Gilbert
schu...@ime.usp.br writes: I have been wondering whether it is possible to create a backup system using mtree and rsync. Essentially, the user would create a mtree specification of the source directory and copy it over to the destination directory with rsync. Any changes in the destination

Re: Backup with mtree and rsync?

2013-01-08 Thread schultz
I don't see any way to do this directly. What you probably want to do is use find(1) to pick out the new files to check, and then merge the changes into the old mtree(8) spec. Not trivial, but the spec syntax is intended to be easy to parse, so it shouldn't be that hard either. What I am

Re: Backup with mtree and rsync?

2013-01-08 Thread Polytropon
On Tue, 08 Jan 2013 15:57:39 -0200, schu...@ime.usp.br wrote: It's possible that the mtree support in tar(8) might be able to do it, but it would probably be a lot slower. Wait, can tar be used to remove files? No (not directly, except overwriting directories with content), but cpdup can;

Re: Backup with mtree and rsync?

2013-01-08 Thread Ciprian Dorin Craciun
On Sat, Jan 5, 2013 at 8:12 PM, schu...@ime.usp.br wrote: I have been wondering whether it is possible to create a backup system using mtree and rsync. Essentially, the user would create a mtree specification of the source directory and copy it over to the destination directory with rsync

Re: Backup with mtree and rsync?

2013-01-08 Thread schultz
and rsync. Essentially, the user would create a mtree specification of the source directory and copy it over to the destination directory with rsync. Any changes in the destination could then be detected before restoring with the mtree specification, which should contain strong hashes of the files

Re: Backup with mtree and rsync?

2013-01-08 Thread schultz
No (not directly, except overwriting directories with content), but cpdup can; see man cpdup for details and inspiration. True, but cpdup is not part of the base system. ___ freebsd-questions@freebsd.org mailing list

Backup with mtree and rsync?

2013-01-05 Thread schultz
I have been wondering whether it is possible to create a backup system using mtree and rsync. Essentially, the user would create a mtree specification of the source directory and copy it over to the destination directory with rsync. Any changes in the destination could then be detected before

Re: Rsync and Preservation of Ownership and Permissions

2011-11-24 Thread Martin McCormick
Michael Sierchio writes: Does the same user exist on the remote system, with the same uid, etc.? Yes. If you're using rsync with ssh as the transport, and connecting to the remote machine as the backups user, that's who will own the files on its local filesystem... I thought rsync had some

Rsync and Preservation of Ownership and Permissions

2011-11-23 Thread Martin McCormick
Rsync is a great utility, but is there a way to preserve ownership and permissions if rsync remotely logs in to a backup server as a normal user? The recovery process is run by root but copies all the files from the backup server as a normal user and uses its root capabilities

Re: rsync and the ports tree

2011-10-28 Thread Peter Kryszkiewicz
been building ports on the other machines by rsync'ing the distfiles from the laptop as I need them (all machines have the same FreeBSD 8.2 installed). The problem comes after I did a 'portupgrade -a' on the laptop. To ensure the other ports trees are in sync, can I rsync the /usr/ports

rsync and the ports tree

2011-10-26 Thread Peter Kryszkiewicz
after I did a 'portupgrade -a' on the laptop. To ensure the other ports trees are in sync, can I rsync the /usr/ports directory to the other machines? Since some of them are different architectures (amd64 multicore for instance) I ran into situations where the distfiles are different (for gcc

Re: rsync and the ports tree

2011-10-26 Thread Christer Solskogen
as I need them (all machines have the same FreeBSD 8.2 installed). The problem comes after I did a 'portupgrade -a' on the laptop. To ensure the other ports trees are in sync, can I rsync the /usr/ports directory to the other machines? Since some of them are different architectures (amd64

Re: rsync and the ports tree

2011-10-26 Thread C. P. Ghost
as I need them (all machines have the same FreeBSD 8.2 installed). The problem comes after I did a 'portupgrade -a' on the laptop. To ensure the other ports trees are in sync, can I rsync the /usr/ports directory to the other machines? Since some of them are different architectures (amd64

Re: rsync over nfs or rsync protocol

2011-09-26 Thread Jerry McAllister
On Sun, Sep 25, 2011 at 09:10:22AM -0700, Jason C. Wells wrote: On 09/23/11 14:11, Jerry McAllister wrote: Why would you interject NFS in the middle of it? jerry There would be no middle. I would run rsyncd or nfsd, but not both. Ah, I get it. In that case, I think rsync is probably

Re: rsync over nfs or rsync protocol

2011-09-25 Thread Jason C. Wells
On 09/23/11 14:11, Jerry McAllister wrote: Why would you interject NFS in the middle of it? jerry There would be no middle. I would run rsyncd or nfsd, but not both. Jason ___ freebsd-questions@freebsd.org mailing list

Re: rsync over nfs or rsync protocol

2011-09-25 Thread Jason C. Wells
On 09/23/11 14:15, Chuck Swiger wrote: Lots. The handbook has a chapter on backups which is worth reading, also Regards, Ah the handbook. I forgot all about it. Thanks. Later, Jason ___ freebsd-questions@freebsd.org mailing list

rsync over nfs or rsync protocol

2011-09-23 Thread Jason C. Wells
I am looking into finally setting up a backup solution that's a little more sophisticated than a bunch of DVD-RWs. I have two servers. I'd like to make each a backup server for the other. I'm considering using rsync. Is rsync a good choice for a backup tool? Should I use the rsyncd

RE: rsync over nfs or rsync protocol

2011-09-23 Thread Gary Gatten
I'm sure you'll get a TON of responses on this. Maybe some script that combines tar, g[b]zip, and rsync? I wouldn't use NFS just for this, but if it's already there it may have a place. -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi

Re: rsync over nfs or rsync protocol

2011-09-23 Thread Jerry McAllister
On Fri, Sep 23, 2011 at 02:04:03PM -0700, Jason C. Wells wrote: I am looking into finally setting up a backup solution that's a little more sophisticated than a bunch of DVD-RWs. I have two servers. I'd like to make each a backup server for the other. I'm considering using rsync

Re: rsync over nfs or rsync protocol

2011-09-23 Thread David Brodbeck
On Fri, Sep 23, 2011 at 2:04 PM, Jason C. Wells j...@speakeasy.net wrote: I am looking into finally setting up a backup solution that's a little more sophisticated than a bunch of DVD-RWs.  I have two servers.  I'd like to make each a backup server for the other.  I'm considering using rsync

Re: rsync over nfs or rsync protocol

2011-09-23 Thread Chuck Swiger
On Sep 23, 2011, at 2:04 PM, Jason C. Wells wrote: Is rsync a good choice for a backup tool? It's OK. A versioned backup system (dump/restore, Legato Networker, Amanda, Retrospect, etc) is more efficient at using backup storage. Should I use the rsyncd or should I use NFS? I'm using 100

Re: rsync over nfs or rsync protocol

2011-09-23 Thread Bill Campbell
On Fri, Sep 23, 2011, Jason C. Wells wrote: I am looking into finally setting up a backup solution that's a little more sophisticated than a bunch of DVD-RWs. I have two servers. I'd like to make each a backup server for the other. I'm considering using rsync. Is rsync a good choice

Re: rsync over nfs or rsync protocol

2011-09-23 Thread David Brodbeck
On Fri, Sep 23, 2011 at 2:15 PM, Chuck Swiger cswi...@mac.com wrote: Lots.  The handbook has a chapter on backups which is worth reading, also True. Personally, I like dump/restore for disaster-recovery backups on FreeBSD. However, if you frequently need individual file recovery (e.g., Joe

rsync connection to Windows 2008 Server

2011-09-01 Thread jhall
or the Event Viewer on the Windows 2008 computer. My network configuration is as follows. STL --WAN-- Firewall --IPsec Tunnel -- 192.168.100.56. On the remote computer, using the following command line, and I receive the following messages. rsync -avz /home 192.168.100.56::Homes rsync: read

Any way to have login output AND use rsync/scp ?

2011-05-01 Thread George Sanders
I have my .cshrc file run some basic netstat and 'w' commands so that when I log in, I can see at a glance what is going on on the system and notice any unusual login activity, etc. However this completely breaks both scp and rsync - they cannot function at all (apparently) with any kind

Re: Any way to have login output AND use rsync/scp ?

2011-05-01 Thread Robert Bonomi
Date: Sun, 1 May 2011 15:58:45 -0700 (PDT) From: George Sanders gosand1...@yahoo.com Subject: Any way to have login output AND use rsync/scp ? I have my .cshrc file run some basic netstat and 'w' commands so that when I log in, I can see at a glance what is going on on the system

Re: Any way to have login output AND use rsync/scp ?

2011-05-01 Thread Polytropon
this completely breaks both scp and rsync - they cannot function at all (apparently) with any kind of stdio output from the shell. Is there any way around this ? Create a file ~/.login and put your commands (in sh syntax, not csh) there. This file will only be executed at interactive logins. See man

Re: Any way to have login output AND use rsync/scp ?

2011-05-01 Thread Polytropon
on on the system and notice any unusual login activity, etc. However this completely breaks both scp and rsync - they cannot function at all (apparently) with any kind of stdio output from the shell. Is there any way around this ? Create a file ~/.login and put your commands (in sh

Re: Sorry state of the rsync based CVS,replication

2010-11-15 Thread Ken Smith
On Sun, 2010-11-14 at 12:13 +0100, Simon L. B. Nielsen wrote: There is nothing which prevents mirror sites from providing access to the CVS repo via rsync, even if they get it via CVSup... I went ahead with adding this to ftp2.freebsd.org: % rsync ftp2.freebsd.org::FreeBSD-CVS/ drwxr-xr-x

Re: Sorry state of the rsync based CVS,replication

2010-11-14 Thread Simon L. B. Nielsen
and incomplete), does not offer any feature compelling enough to prefer it over rsync in our case. That position is by essence just a personal view, applicable to me only and not to anybody else. Also I have to admit that now that the m3 dependency is gone with csup, it becomes easier to return

Re: Sorry state of the rsync based CVS,replication

2010-11-12 Thread Patrick Bihan-Faou
the wrong permissions, it seemed to stop some time in 2007. I adjusted the permissions on ftp-master so hopefully this issue is fixed. However ... Great news. I'll check various rsync source later and see if the situation improves. We are moving to svn and svnsync for the freebsd source tree

Re: Sorry state of the rsync based CVS,replication

2010-11-11 Thread Ken Smith
during the summer ftp13.freebsd.org did not respond anymore and since then rsync replication is broken. The main issue (besides the removal of ftp13.freebsd.org) is that most rsync sources refuse to replicate the content of the .Attic directories in the CVS tree. This means that performing

rsync: failed to set permissions on filename: Function not implemented (38)

2010-10-27 Thread Noah
Hi there, No response on the rsync mail list so I am trying here. I am trying to figure out how I can get my rsync client and server to coexist better. I am running into the following error: rsync: failed to set permissions on filename: Function not implemented (38) and the command line

Re: rsync: failed to set permissions on filename: Function not implemented (38)

2010-10-27 Thread Warren Block
On Wed, 27 Oct 2010, Noah wrote: No response on the rsync mail list so I am trying here. I am trying to figure out how I can get my rsync client and server to coexist better. I am running into the following error: rsync: failed to set permissions on filename: Function not implemented (38

Sorry state of the rsync based CVS,replication

2010-10-27 Thread Patrick Bihan-Faou
and since then rsync replication is broken. The main issue (besides the removal of ftp13.freebsd.org) is that most rsync sources refuse to replicate the content of the .Attic directories in the CVS tree. This means that performing a check-out on ports using a tag usually won't work as some files

snapshot rsync dump/restore

2009-12-17 Thread n dhert
was told one could do this using rsync and by using a snapshot it would even be faster (?) Is rsync save regarding soft-links ? How exactly would one best proceed? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: snapshot rsync dump/restore

2009-12-17 Thread Matthew Seaman
that these are not lost. I was told one could do this using rsync and by using a snapshot it would even be faster (?) Is rsync save regarding soft-links ? How exactly would one best proceed? Presumably you did a level 0 dump to make your initial copy? Did you happen to use the -u flag to dump? ie. update /etc

Re: snapshot rsync dump/restore

2009-12-17 Thread Roland Smith
would one best proceed? I would recommend rsync. Is rsync save regarding soft-links ? Yes, if you use the '-a' flag. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970

Re: snapshot rsync dump/restore

2009-12-17 Thread Ivan Voras
n dhert wrote: I was told one could do this using rsync and by using a snapshot it would even be faster (?) Also try http://rdiff-backup.nongnu.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

rsync include and exclude

2009-10-07 Thread Jay Hall
Ladies and Gentlemen, I am using rsync to backup some information and I am having some problem with including and excluding directories. I want to include everything in the user's mail directory and everything in the user's documents directory. Everything else should be excluded

Re: rsync include and exclude

2009-10-07 Thread krad
2009/10/7 Jay Hall jh...@socket.net Ladies and Gentlemen, I am using rsync to backup some information and I am having some problem with including and excluding directories. I want to include everything in the user's mail directory and everything in the user's documents directory

Re: rsync include and exclude

2009-10-07 Thread Jay Hall
Thanks. That took care of the problem. Jay On Oct 7, 2009, at 3:02 PM, krad wrote: 2009/10/7 Jay Hall jh...@socket.net Ladies and Gentlemen, I am using rsync to backup some information and I am having some problem with including and excluding directories. I want to include everything

Re: how to do a live migration of a freebsd box to another box with rsync

2009-07-06 Thread Ruben de Groot
On Sun, Jul 05, 2009 at 06:18:03PM +0200, insrc typed: Hi, I'm used to migrate GNU/Linux system from one box to another by booting the second box with a liveCD (like systemrescueCD for example) and by copying the / filesystem (using the ssh transport) with rsync. I would like to do the same

Re: how to do a live migration of a freebsd box to another box with rsync

2009-07-06 Thread Jeff Laine
Hi, I'm used to migrate GNU/Linux system from one box to another by booting the second box with a liveCD (like systemrescueCD for example) and by copying the / filesystem (using the ssh transport) with rsync. I would like to do the same for BSD system but i have two issues: - as the UFS

Re: how to do a live migration of a freebsd box to another box with rsync

2009-07-06 Thread insrc
Hi, Thanks guys, everything worked perfectly ! - For the liveCD, i booted the second box with FreeNAS ( http://www.freenas.org/index.php?lang=fr ) , which include rsync and ssh :-) - Created the partition layout following the official doc http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook

how to do a live migration of a freebsd box to another box with rsync

2009-07-05 Thread insrc
Hi, I'm used to migrate GNU/Linux system from one box to another by booting the second box with a liveCD (like systemrescueCD for example) and by copying the / filesystem (using the ssh transport) with rsync. I would like to do the same for BSD system but i have two issues: - as the UFS write

Re: how to do a live migration of a freebsd box to another box with rsync

2009-07-05 Thread perryh
insrc informatique@gmail.com wrote: it seems that i've to use a BSD liveCD but i can't find one :-/ www.freesbie.org The site is not responding for me ATM, but the text is cached here: http://74.125.155.132/search?q=cache:WjK0Anp5tb4J:www.freesbie.org/+freesbie+freebsdhl=engl=usstrip=1

Re: how to do a live migration of a freebsd box to another box with rsync

2009-07-05 Thread Bertram Scharpf
Hi, Am Sonntag, 05. Jul 2009, 18:18:03 +0200 schrieb insrc: - as the UFS write support is still experimental in the Linux kernel, it seems that i've to use a BSD liveCD but i can't find one :-/ I heard about frenzy ( http://frenzy.org.ua/en/ ) but the homepage says that the project is no

Re: rsync colon in filename to MSWin fails

2009-06-08 Thread davetbo
Here's a good workaround. This works for me from Linux to Win32. In your rsync script, before the rsync, do either find ./ -name '*:*' | xargs tar -czvf colon_files.tgz or (if you're doing the whole box as an rsync backup, like I am) do updatedb locate : | xargs tar -czvf colon_files.tgz

Fwd: rsync colon in filename to MSWin fails

2009-06-08 Thread Kurt Buff
Dagnabbit! Meant to also send this to the list. Kurt On Fri, Sep 19, 2008 at 10:28, Giorgos Keramidaskeram...@ceid.upatras.gr wrote: On Fri, 19 Sep 2008 13:37:50 +0100, Anton Shterenlikht me...@bristol.ac.uk wrote: I cannot trasfer a file with a colon via rsync to a Win box. I've rsync

Re: rsync approach

2009-05-30 Thread Karl Vogel
On Wed, 27 May 2009 15:03:30 -0700, prad p...@towardsfreedom.com said: P We are thinking of rsync to duplicate 1st [box] 2nd [box] (with the P exception of rc.conf and a few other files of course because we don't P want them to be absolutely identical). P we plan to allow root login and have

Re: rsync approach

2009-05-28 Thread Wojciech Puchar
we have 2 static ip addresses with a machine running 7.2 connected to each. one is the primary server, while the other does only dns and receives bkp dumps from the first. we want to set things up so the 2nd can be brought on line at a moment's notice. therefore, we are thinking of rsync

rsync approach

2009-05-27 Thread prad
we have 2 static ip addresses with a machine running 7.2 connected to each. one is the primary server, while the other does only dns and receives bkp dumps from the first. we want to set things up so the 2nd can be brought on line at a moment's notice. therefore, we are thinking of rsync

Re: rsync approach

2009-05-27 Thread Doug Hardie
. therefore, we are thinking of rsync to duplicate 1st 2nd (with the exception of rc.conf and a few other files of course because we don't want them to be absolutely identical). we plan to allow root login and have disabled all password access so that rsync can preserve permissions

Using rsync for versioned backups without --backup

2009-05-25 Thread Kelly Jones
I want to use rsync to backup a large file (say 1G) that changes a little each day (say 1M), but I also want the ability to re-create older versions of this file. I could use --backup, but that would create a 1G file each day, even though I only really need the 1M that's changed. How do I tell

Re: Using rsync for versioned backups without --backup

2009-05-25 Thread Roland Smith
On Sun, May 24, 2009 at 11:39:57PM -0700, Kelly Jones wrote: I want to use rsync to backup a large file (say 1G) that changes a little each day (say 1M), but I also want the ability to re-create older versions of this file. I could use --backup, but that would create a 1G file each day, even

Rsync always preserve owner/group

2009-03-17 Thread FreeBSD
Hi list! I'm in the process of creating an automated update system based on SVN and rsync. I 'svn update' every night and then rsync the updated files from the working copy of SVN to the right folders. The problem I have is that when I rsync the files, the destination owner/group is set

Re: Rsync | Push script

2009-02-26 Thread Frank Shute
On Sat, Feb 21, 2009 at 02:40:21PM +0100, Jos Chrispijn wrote: Just having made a backup script that should take care of nocturnal backup of my mySQL data from one server to my backup server. cd /backup DATE=`date +%d%m%y` DIR=backup.$DATE /letc/rc.d/mysql-server stop rsync

Re: Rsync | Push script

2009-02-26 Thread Andrew Gould
rsync -avpog /var/db/mysql//r...@10.10.10.50:123/usr/backup/$DATE/ /letc/rc.d/mysql-server start It goes wrong when I run the rsync line; I run my backup thru port 123 (can be any portnumber). 10.10.10.50 is backup server on which I want to logon as root; during script run I

Rsync | Push script

2009-02-21 Thread Jos Chrispijn
Just having made a backup script that should take care of nocturnal backup of my mySQL data from one server to my backup server. cd /backup DATE=`date +%d%m%y` DIR=backup.$DATE /letc/rc.d/mysql-server stop rsync -avpog /var/db/mysql//r...@10.10.10.50:123/usr/backup/$DATE/ /letc/rc.d/mysql

Re: Rsync | Push script

2009-02-21 Thread Bill Moran
Jos Chrispijn j...@webrz.net wrote: Just having made a backup script that should take care of nocturnal backup of my mySQL data from one server to my backup server. cd /backup DATE=`date +%d%m%y` DIR=backup.$DATE /letc/rc.d/mysql-server stop rsync -avpog /var/db/mysql//r

Re: Rsync | Push script

2009-02-21 Thread Jos Chrispijn
Sorry for the confusion; the problem is in the rsync line: rsync -avpog /var/db/mysql //r...@10.10.10.50:123/usr/backup/ Running this line causes rsync to say: Unexpected remote arg: r...@10.10.10.50:123 rsync error: syntax or usage error (code 1) at main.c(1202) [sender=3.0.5] On the server

Re: Rsync | Push script

2009-02-21 Thread Roland Smith
On Sat, Feb 21, 2009 at 06:14:27PM +0100, Jos Chrispijn wrote: Sorry for the confusion; the problem is in the rsync line: rsync -avpog /var/db/mysql //r...@10.10.10.50:123/usr/backup/ Running this line causes rsync to say: Unexpected remote arg: r...@10.10.10.50:123 rsync error: syntax

Re: Rsync | Push script

2009-02-21 Thread Polytropon
Just a small note which has nothing to do with the actual rsync problem: On Sat, 21 Feb 2009 14:40:21 +0100, Jos Chrispijn j...@webrz.net wrote: DATE=`date +%d%m%y` In order to be able to sourt your backups by date, you could use the form DATE=`date +%y%m%d` or DATE=`date

Re: Backup to spare drive (rsync / crontab)

2009-01-31 Thread drc...@yahoo.com
Adding full path for rsync was the solution. All backups done last night on schedule. Thanks to all that offered advice. D ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions

  1   2   3   4   >