rsync backup
William Park
opengeometry-FFYn/CNdgSA at public.gmane.org
Tue Dec 7 20:23:38 UTC 2010
----- Original Message ----
> From: teddy mills <teddymills-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>
> To: tlug-lxSQFCZeNF4 at public.gmane.org
> Sent: Tue, December 7, 2010 3:02:40 PM
> Subject: [TLUG]: rsync backup
>
>
> I rsync from /home/teddy/ to an external USB hard disk. It works fine.
>
> rsync -avz --delete --exclude-from '/home/teddy/rsync-exclude' /home/teddy
>/media/backup
>
> /home/teddy/rsync-exclude
> .gvfs
>
> (weird .gvfs, I exclude it)
>
>
> /dev/sdb1 459G 301G 136G 69% /media/backup
>
>
> I decided to put a trailing slash on /home/teddy/ and /media/backup/
> and run rsync again. rsync started deleting everything. (--delete) (301GB)
> I stopped it quick that and took out the slashes and reran rsync.
>
> It seems like I am stuck now using it without slashes.
>
> Question1:
> Is there a way I can run rsync with the trailing slashes, without deleting
>everything?
Look into /media/backup. I would guess it has /media/backup/teddy. In that
case, move
all its subdirectory to parent directory.
>
> Question2:
> Before I start the backup, I would like to know if I am getting full USB2
>speed.
> How can I do a non-destructive hdparm test?
The only thing I know is
hdparm -tT
--
William
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list