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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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
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
/
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
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
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
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
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
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
. 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
, 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
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
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
? 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
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
.
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
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
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
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
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
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
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
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;
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
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
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
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
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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
.
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
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
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
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
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
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
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
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
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
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
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
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 - 100 of 352 matches
Mail list logo