Re: Speed Difference SCP vs. RCP

From: Nico Kadel-Garcia (nkadel_at_comcast.net)
Date: 01/25/05


Date: Tue, 25 Jan 2005 04:21:09 -0500


"Michael" <michaeln@twentyten.org> wrote in message
news:10vb42vs0a1015a@corp.supernews.com...
> We're running network backups on the private LAN of our production
> network.
> We've grown to a point where our incremental backups are taking quite a
> long
> time. Our default transport method is SCP, but since it's the local LAN,
> I
> was wondering what this groups thoughts were on doing these backups over
> plain RCP. I consider our LAN secure, but I've also always been a fan of
> being secure whenever possible.

Bad! Bad! No sys-admin biscuit!

Don't use scp or rcp for backups, because they will duplicate the contents
of symbolic links rather than the link itself. It only takes one symbolic
link back up to / to explode your backup system.

Instead, use "rsync -e ssh -avvH --delete" to get all the links and delete
no-longer needed files, or consider using rsync as a directly accessible
protocol for a specific backup server if you think rcp is enough for your
internally secured network.

> In our speed tests, we push about 472 MB/min via SCP and 960 MB/min via
> RCP.
> Do these numbers (or at least ratios) seem right to you for a
> gigabit-over-copper network?

Yup. But try using rsync: You have a larger start-up cost, but you save huge
amounts of bandwith not duplicating files already present on the backup
system.



Relevant Pages

  • Re: Server Advice Wanted.
    ... > RAID 0+1 will be more efficient (stripping and mirroring), ... which is why you see it less than RAID 5. ... > could still restore from backups because it takes day to do so, ... a network backup solution. ...
    (borland.public.delphi.non-technical)
  • Speed Difference SCP vs. RCP
    ... We're running network backups on the private LAN of our production network. ... we push about 472 MB/min via SCP and 960 MB/min via RCP. ...
    (comp.security.ssh)
  • Re: Check list for basic security measures
    ... - unauthorized use of computing resources ... what is the overall monetary loss if you fail to protect something ... what traffic is needed from outside to your network and from your network ... Then backups - to protect your data from sudden loss or corruption. ...
    (comp.security.misc)
  • Performance of backup across network
    ... I have been doing differential and log backups across a network to a device ... The network is dedicated gigabit. ... sustain 30 MB/s with an app that has a clue about the network. ... Because I want to use the disk space on the SQL Server box for something ...
    (microsoft.public.sqlserver.server)
  • Re: Exchange Management Console slow
    ... So what are the odds of such a failure ... versus the cost of such protection, minus the extra downtime due to ... heartbeat network which places no impact on the production network ... Snapshots are generally not valid backups unless you're taking a VSS backup ...
    (microsoft.public.exchange.admin)