I actually have two backup methods.
The first does a daily local backup (rotated weekly) of asturw (which
includes /mnt/kd in my case) to a separate internal drive so I can revert
back in the event I break something, as well as having a local copy in case
of a primary drive failure, data loss or
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 * *
Yes, I rsync as well I have a cron job on a server that runs this...
#!/bin/bash
rsync -av -e ssh -p root@192.168.10.1:/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
Addendum,
If unlike David you have /mnt/kd on a separate partition, you will also want to
backup /mnt/kd separately.
Lonnie
On Aug 25, 2015, at 4:05 PM, David Kerr da...@kerr.net wrote:
Yes, I rsync as well I have a cron job on a server that runs this...
#!/bin/bash
rsync -av -e ssh
Anyone running any automated script(s) to backup their Astlinux boxes? Maybe
backing it up to a remote share of ftp server?
Or maybe a function like this can be implemented in the GUI in feature releases?
Thanks much--
Yes, I actually have two different automated backup processes.
First, I do an rsync every hour to a remote server for disaster recovery.
I also have this in my crontab:
0 4 * * * tar -cvf /mnt/opt/backup/backup.asturw.`date +%a`.tar -C
/oldroot/mnt/asturw etc mnt stat usr
Which backs up the