Gentoo Archives: gentoo-user

From: meino.cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] rsync to a USB stick
Date: Sat, 29 May 2010 10:06:38
Message-Id: 20100529092053.GB5786@solfire
In Reply to: [gentoo-user] rsync to a USB stick by Mick
1 Mick <michaelkintzios@×××××.com> [10-05-29 11:12]:
2 > Hi All,
3 >
4 > I run:
5 >
6 > rsync -a -l --delete -v /mnt/Business_dir /media/sdf1
7 >
8 > to back up a directory from a PC to a USB stick. However, from a cursory look
9 > this *seems* to copy the complete directory (every time I run it) and
10 > overwrites the USB stick. Carrying on like this it will life-expire the USB
11 > stick in no time, plus it takes ages to complete as it copies over every
12 > single file again and again.
13 >
14 > Is there a cleverer option I can add to rsync so that it only copies new
15 > files, overwrites older versions of the same and only deletes any files or
16 > directories that have been deleted from the source directory?
17 > --
18 > Regards,
19 > Mick
20
21 Hi,
22
23 this is really a shot in the dark, but...
24 Would it possible, that the USB-stick is carrying a filesystem, which
25 lacks the support of enough ijnformations, rsync needs to operate
26 corrrectly (especially: file times?
27 Concerning the wear out of usb-sticks (and flash media in general):
28 There are specialised filesystems out there (dont remember what
29 exactly their names were), which take care of a "flashy" environment
30 (spread writes to different parts each time),
31
32 HTH!
33
34 Best regards,
35 mcc
36
37
38
39 --
40 Please don't send me any Word- or Powerpoint-Attachments
41 unless it's absolutely neccessary. - Send simply Text.
42 See http://www.gnu.org/philosophy/no-word-attachments.html
43 In a world without fences and walls nobody needs gates and windows.