Marty Skitch on 9 Feb 2009 10:34:03 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Automated disk-to-disk backups


Adam,
    At home I use cron and rsync to backup my hard drive to an external 
USB drive. 
    Here is the rsync command

        rsync -avr --delete /mnt/Share /mnt/usbDrive/Share_Backup

    This copies my Share to my backup

    The sudo crontab -e command opens an editor and here is the line in 
my crontab file

        30 4 * * * rsync -avr --delete /mnt/Share /mnt/usbDrive/Share_Backup

    This runs by backup every morning at 4:30

    Hope this helps

Marty Skitch





Adam Zion wrote:
> Can anyone recommend the best way to schedule automated disk-to-disk
> backups w/linux? I just ordered an external disk drive, and could
> certainly manage manually copying everything after su'ing in as each
> user, but automated backups would be ideal.
>
> Thx,
> -Z
> ___________________________________________________________________________
> Philadelphia Linux Users Group         --        http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
>
>
>
>   

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug