SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
backup to rsync server?
Author Message
Post backup to rsync server? 
hi,

i've been using rsnapshot (happily) for some time, i think i'm kind of
familiar with rsync, so my question may seem odd, but i want to be very
sure. is it possible to backup to rsync:// urls? i don't think so,
because then operations that require standard utilities like mv, cp and
rm wouldn't work. am i correct?

the reason i'm asking is because i'm disappointed by the performance of
rsyncing to a nfs mount (on a qnap TS-419P II)

so a second question would be:

are there known issues with rsyncing from a local directory to a
directory which is nfs-mounted? i'm using --omit-dir-times (because of
rsync man page) and haven't dug into optimizing nfs performance yet.

another thing that worries me in this setup is that there will be "rm"
operations on a directory tree which includes my source files. i know
these operations should only ever effect the rsync destination, but can
i be absolutely sure that will never be a "freak accident"? how do other
people handle this?

thx for any answers
matthias

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post backup to rsync server? 
On 2012-07-03, Matthias Leopold <matthias < at > aic.at> wrote:

i've been using rsnapshot (happily) for some time, i think i'm kind of
familiar with rsync, so my question may seem odd, but i want to be very
sure. is it possible to backup to rsync:// urls? i don't think so,
because then operations that require standard utilities like mv, cp and
rm wouldn't work. am i correct?

Your guess sounds right, but I am not sure. But I am wondering, is it
possible for you to back up *from* an rsync: URL (if rsnapshot supports
it)? AFAICT, rsnapshot only manipulates the target filesystem, so the
source could be on an rsync daemon.

are there known issues with rsyncing from a local directory to a
directory which is nfs-mounted? i'm using --omit-dir-times (because of
rsync man page) and haven't dug into optimizing nfs performance yet.

I go the other direction (similar to my suggestion above): I mount the
NFS server from my rsnapshot server and sync to a local-disk filesystem.
I have not investigated a whole lot into performance, but it seems
reasonable enough for me.

another thing that worries me in this setup is that there will be "rm"
operations on a directory tree which includes my source files. i know
these operations should only ever effect the rsync destination, but can
i be absolutely sure that will never be a "freak accident"? how do other
people handle this?

I handle this by mounting the source NFS server read-only and
configuring /etc/exports to export it ro to the rsnapshot server. If
*that* hoses my NFS server I have bigger problems than rsnapshot. Smile
You could probably accomplish the same goals with the rsync daemon on
the source suggestion I made above as well.

--keith

--
kkeller < at > wombat.san-francisco.ca.us



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post backup to rsync server? 
Am 2012-07-03 19:45, schrieb Keith Keller:
On 2012-07-03, Matthias Leopold<matthias < at > aic.at> wrote:

i've been using rsnapshot (happily) for some time, i think i'm kind of
familiar with rsync, so my question may seem odd, but i want to be very
sure. is it possible to backup to rsync:// urls? i don't think so,
because then operations that require standard utilities like mv, cp and
rm wouldn't work. am i correct?

Your guess sounds right, but I am not sure. But I am wondering, is it
possible for you to back up *from* an rsync: URL (if rsnapshot supports
it)? AFAICT, rsnapshot only manipulates the target filesystem, so the
source could be on an rsync daemon.

are there known issues with rsyncing from a local directory to a
directory which is nfs-mounted? i'm using --omit-dir-times (because of
rsync man page) and haven't dug into optimizing nfs performance yet.

I go the other direction (similar to my suggestion above): I mount the
NFS server from my rsnapshot server and sync to a local-disk filesystem.
I have not investigated a whole lot into performance, but it seems
reasonable enough for me.

another thing that worries me in this setup is that there will be "rm"
operations on a directory tree which includes my source files. i know
these operations should only ever effect the rsync destination, but can
i be absolutely sure that will never be a "freak accident"? how do other
people handle this?

I handle this by mounting the source NFS server read-only and
configuring /etc/exports to export it ro to the rsnapshot server. If
*that* hoses my NFS server I have bigger problems than rsnapshot. Smile
You could probably accomplish the same goals with the rsync daemon on
the source suggestion I made above as well.

--keith


thx for your input. i'm aware of the solutions you're describing,
actually i used to do it like that: having a server that runs rsnapshot,
syncing to local disks from remote rsync:// urls.

but now i have a dedicated NAS that can't run rsnapshot itself (or at
least it's not meant to do it). so i have to mount the exported storage
volumes somewhere and i thought i could as well mount the nfs share on
the server i want backup itself and then do a "local-to-local"
(directorywise) rsync.

i can't be the only one who is using a NAS system for backup so i would
like to know how others use it and what kind of performance i can expect

matthias



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB