Yes, I rsync as well.... I have a cron job on a server that runs this...

#!/bin/bash
rsync -av -e "ssh -p8888" [email protected]:/oldroot/mnt/asturw
 /c/home/david/PBXbackup

Modify for your IP address and port you have ssh listening on.  You also
need to use certificate authentication for ssh so it doesn't prompt for
password.

David

On Tue, Aug 25, 2015 at 1:23 PM, Armin Tüting <
[email protected]> wrote:

> Tuesday, August 25, 2015, 5:12:55 PM, you wrote:
>
> > Does anyone have an automated way to backup an Astlinux box?
> Yes!  I'm using rsync!
>
> > Scripts, crontabs or anything like that?  I know we can do it
> I'm running every night a cron job...
> # Key disk - backup and rsync
> 3       5       *       *       *  nice -n 19 rsync --delete --quiet
> --archive /mnt/kd/ FQDN::xxxx || (echo "Fail"; exit 1)
>
> > manually but I am more interested in something that is automated and
> > it can send backups to lets say a USB drive or an external server. Can
> any one share please?
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Astlinux-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to
> [email protected].
>
------------------------------------------------------------------------------
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].

Reply via email to