Backup script

k3rn k3rn at free.fr
Tue Jun 6 15:29:36 UTC 2006


On Tuesday 06 June 2006 14:57, Dotan Cohen wrote:
> I've been looking for a backup solution for my Kubuntu box, and I'm
> not really happy with any software that I see. So I'm trying to find a
> variant of "cp" that would just copy everything in /home/user/ that
> has been changed in the past X days to /home/user/backup including
> hidden files. I would then just burn ~/backup to a CD-R. I can't get a
> handle on the syntax, though. How is this done?
>
> Note, a link to a bash tutorial that covers this would be nice, too.
> I've several bookmarked, but I'm not very successful with them.
> Thanks.
>
> Dotan Cohen
> http://gmail-com.com
> 74

Look for rsync...
rsync -e ssh -valptz --delete --exclude=\"*.avi\" /home/user/ user at host:/path




More information about the kubuntu-users mailing list