Re: SCP backup script

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
To: plug-discuss
Subject: Re: SCP backup script
On Tue, 25 Jan 2005, Mike Hoy wrote:

> scp -rp /home/user/music/ root@192.168.2.161:/mnt/LaptopBackup/user/music/
>
> btw, doesn't copy NEW folder overs. I have to make them manually?


No. (The -r switch copies all and creates directories recursively.)

> for example the /music/ folder had been backed up previously.
>
> but now it has a new subdir in it.


You told it to copy music into music.

(Please consider removing all un-necessary junk from emails when replying.
Your email had three copies of the "PLUG-discuss mailing list" footer!)


Jeremy C. Reed

                 BSD News, BSD tutorials, BSD links
                http://www.bsdnewsletter.com/



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss