public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: meino.cramer@gmx.de
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] rsync to a USB stick
Date: Sat, 29 May 2010 11:20:53 +0200	[thread overview]
Message-ID: <20100529092053.GB5786@solfire> (raw)
In-Reply-To: <201005291001.50752.michaelkintzios@gmail.com>

Mick <michaelkintzios@gmail.com> [10-05-29 11:12]:
> Hi All,
> 
> I run:
> 
>  rsync -a -l --delete -v /mnt/Business_dir /media/sdf1
> 
> to back up a directory from a PC to a USB stick.  However, from a cursory look 
> this *seems* to copy the complete directory (every time I run it) and 
> overwrites the USB stick.  Carrying on like this it will life-expire the USB 
> stick in no time, plus it takes ages to complete as it copies over every 
> single file again and again.
> 
> Is there a cleverer option I can add to rsync so that it only copies new 
> files, overwrites older versions of the same and only deletes any files or 
> directories that have been deleted from the source directory?
> -- 
> Regards,
> Mick

Hi,

this is really a shot in the dark, but...
Would it possible, that the USB-stick is carrying a filesystem, which
lacks the support of enough ijnformations, rsync needs to operate
corrrectly (especially: file times?
Concerning the wear out of usb-sticks (and flash media in general):
There are specialised filesystems out there (dont remember what
exactly their names were), which take care of a "flashy" environment
(spread writes to different parts each time),

HTH!

Best regards,
mcc



-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




  reply	other threads:[~2010-05-29 10:06 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-29  9:01 [gentoo-user] rsync to a USB stick Mick
2010-05-29  9:20 ` meino.cramer [this message]
2010-05-29  9:30 ` Alan McKinnon
2010-05-29  9:30 ` Alan McKinnon
2010-05-29  9:39   ` Mick
2010-05-29 19:02     ` Alan McKinnon
2010-05-29  9:39 ` Steven
2010-05-29 19:23   ` Joshua Murphy
2010-05-29  9:49 ` Peter Ruskin
2010-05-29 10:34 ` [gentoo-user] " Remy Blank
2010-05-29 11:42   ` Mick
2010-05-29 11:59 ` [gentoo-user] " David Relson
2010-05-30 10:48   ` Neil Bothwick
2010-05-30 12:06     ` David Relson
2010-05-30 14:20     ` [gentoo-user] " Grant Edwards
2010-05-31  2:26       ` David Relson
2010-05-31  8:09       ` Neil Bothwick
2010-05-31 16:27         ` Grant Edwards

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100529092053.GB5786@solfire \
    --to=meino.cramer@gmx.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox